mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-22 09:36:48 +03:00
Update quotes in typing stubs
This commit is contained in:
parent
d4933baec1
commit
a38ca647c3
|
@ -20,11 +20,11 @@ from typing import (
|
||||||
from .providers import Provider, Self, ProviderParent
|
from .providers import Provider, Self, ProviderParent
|
||||||
|
|
||||||
|
|
||||||
C_Base = TypeVar('C_Base', bound='Container')
|
C_Base = TypeVar("C_Base", bound="Container")
|
||||||
C = TypeVar('C', bound='DeclarativeContainer')
|
C = TypeVar("C", bound="DeclarativeContainer")
|
||||||
C_Overriding = TypeVar('C_Overriding', bound='DeclarativeContainer')
|
C_Overriding = TypeVar("C_Overriding", bound="DeclarativeContainer")
|
||||||
T = TypeVar('T')
|
T = TypeVar("T")
|
||||||
TT = TypeVar('TT')
|
TT = TypeVar("TT")
|
||||||
|
|
||||||
|
|
||||||
class WiringConfiguration:
|
class WiringConfiguration:
|
||||||
|
|
|
@ -35,11 +35,11 @@ from . import resources
|
||||||
|
|
||||||
|
|
||||||
Injection = Any
|
Injection = Any
|
||||||
ProviderParent = Union['Provider', Any]
|
ProviderParent = Union["Provider", Any]
|
||||||
T = TypeVar('T')
|
T = TypeVar("T")
|
||||||
TT = TypeVar('TT')
|
TT = TypeVar("TT")
|
||||||
P = TypeVar('P', bound='Provider')
|
P = TypeVar("P", bound="Provider")
|
||||||
BS = TypeVar('BS', bound='BaseSingleton')
|
BS = TypeVar("BS", bound="BaseSingleton")
|
||||||
|
|
||||||
|
|
||||||
class Provider(Generic[T]):
|
class Provider(Generic[T]):
|
||||||
|
@ -230,7 +230,7 @@ class TypedConfigurationOption(Callable[T]):
|
||||||
|
|
||||||
|
|
||||||
class Configuration(Object[Any]):
|
class Configuration(Object[Any]):
|
||||||
DEFAULT_NAME: str = 'config'
|
DEFAULT_NAME: str = "config"
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
name: str = DEFAULT_NAME,
|
name: str = DEFAULT_NAME,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user