2022-05-18 17:28:18 +02:00
|
|
|
from typing import Optional
|
|
|
|
|
|
|
|
|
2022-05-18 09:12:24 +02:00
|
|
|
class Extends:
|
2022-05-18 17:28:18 +02:00
|
|
|
def __init__(self, service_name: str, from_file: Optional[str] = None):
|
2022-05-18 09:12:24 +02:00
|
|
|
self._service_name = service_name
|
2022-05-18 09:26:03 +02:00
|
|
|
self._from_file = from_file
|
2022-05-18 09:12:24 +02:00
|
|
|
|
|
|
|
@property
|
2022-05-18 09:26:03 +02:00
|
|
|
def service_name(self):
|
|
|
|
return self._service_name
|
2022-05-18 09:12:24 +02:00
|
|
|
|
|
|
|
@property
|
2022-05-18 09:26:03 +02:00
|
|
|
def from_file(self):
|
2022-05-18 17:28:18 +02:00
|
|
|
return self._from_file
|