Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Why using Type[Localizer] instead Localizer? #406

Closed
working12 opened this issue Feb 7, 2023 · 1 comment
Closed

[Question] Why using Type[Localizer] instead Localizer? #406

working12 opened this issue Feb 7, 2023 · 1 comment

Comments

@working12
Copy link

localizers: Dict[str, Type[Localizer]] = {

In this code, why are we using Type[Localizer] instead of just using Localizer?

@DKorytkin
Copy link

for using Localizer instead of Type[Localizer]
values of this dict must be instances

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants