compose-viz/compose_viz/extends.py

16 lines
347 B
Python
Raw Normal View History

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
self._from_file = from_file
2022-05-18 09:12:24 +02:00
@property
def service_name(self):
return self._service_name
2022-05-18 09:12:24 +02:00
@property
def from_file(self):
2022-05-18 17:28:18 +02:00
return self._from_file