mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-02-11 09:00:57 +03:00
Fix flake8 errors
This commit is contained in:
parent
281ecdbeae
commit
32ab67569b
|
@ -597,12 +597,10 @@ class RequiredModifier(Modifier):
|
|||
self.type_modifier = TypeModifier(int)
|
||||
return self
|
||||
|
||||
|
||||
def as_float(self) -> 'RequiredModifier':
|
||||
self.type_modifier = TypeModifier(float)
|
||||
return self
|
||||
|
||||
|
||||
def as_(self, type_: Type) -> 'RequiredModifier':
|
||||
self.type_modifier = TypeModifier(type_)
|
||||
return self
|
||||
|
|
Loading…
Reference in New Issue
Block a user