self.file_values = self._read_file(env_file)
@typing.overload
- def __call__(
- self, key: str, *, default: None
- ) -> typing.Optional[str]: # pragma: no cover
+ def __call__(self, key: str, *, default: None) -> typing.Optional[str]:
...
@typing.overload
- def __call__(
- self, key: str, cast: typing.Type[T], default: T = ...
- ) -> T: # pragma: no cover
+ def __call__(self, key: str, cast: typing.Type[T], default: T = ...) -> T:
...
@typing.overload
def __call__(
self, key: str, cast: typing.Type[str] = ..., default: str = ...
- ) -> str: # pragma: no cover
+ ) -> str:
...
@typing.overload
key: str,
cast: typing.Callable[[typing.Any], T] = ...,
default: typing.Any = ...,
- ) -> T: # pragma: no cover
+ ) -> T:
...
@typing.overload
def __call__(
self, key: str, cast: typing.Type[str] = ..., default: T = ...
- ) -> typing.Union[T, str]: # pragma: no cover
+ ) -> typing.Union[T, str]:
...
def __call__(