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:
|
||||
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
|
||||
|
||||
@property
|
||||
def from_file(self):
|
||||
return self._from_file
|
Loading…
Reference in a new issue