chore: implement TypeError in init of Extends
This commit is contained in:
parent
d1ae549d48
commit
01aeb56189
1 changed files with 7 additions and 7 deletions
|
@ -1,12 +1,12 @@
|
||||||
class Extends:
|
class Extends:
|
||||||
def __init__(self, from_file: str, service_name: str):
|
def __init__(self, service_name: str, from_file: str = None):
|
||||||
self._from_file = from_file
|
|
||||||
self._service_name = service_name
|
self._service_name = service_name
|
||||||
|
self._from_file = from_file
|
||||||
@property
|
|
||||||
def from_file(self):
|
|
||||||
return self._from_file
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def service_name(self):
|
def service_name(self):
|
||||||
return self._service_name
|
return self._service_name
|
||||||
|
|
||||||
|
@property
|
||||||
|
def from_file(self):
|
||||||
|
return self._from_file
|
Loading…
Reference in a new issue