Update stubs

This commit is contained in:
Trinh Anh Ngoc
2022-10-16 16:18:06 +07:00
parent 164153df87
commit 7af7f6b151

View File

@@ -1,11 +1,10 @@
from . import Command from . import Command
from typing import Any from ..api import Environment
from ..models import BaseModel
_logger: Any
class Populate(Command): class Populate(Command):
def run(self, cmdargs) -> None: ... def run(self, cmdargs) -> None: ...
@classmethod @classmethod
def populate(cls, env, size, model_patterns: bool = ...): ... def populate(cls, env: Environment, size, model_patterns: bool = ...) -> dict | None: ...
@classmethod @classmethod
def _get_ordered_models(cls, env, model_patterns: bool = ...): ... def _get_ordered_models(cls, env: Environment, model_patterns: bool = ...) -> list[BaseModel]: ...