diff --git a/compose_viz/extends.py b/compose_viz/extends.py index 0ec2903..fb3af9f 100644 --- a/compose_viz/extends.py +++ b/compose_viz/extends.py @@ -1,12 +1,12 @@ class Extends: - def __init__(self, from_file: str, service_name: str): - self._from_file = from_file + def __init__(self, service_name: str, from_file: str = None): self._service_name = service_name - - @property - def from_file(self): - return self._from_file + self._from_file = from_file @property def service_name(self): - return self._service_name \ No newline at end of file + return self._service_name + + @property + def from_file(self): + return self._from_file \ No newline at end of file