Update stubs

This commit is contained in:
Trinh Anh Ngoc
2022-10-16 16:18:49 +07:00
parent c448852cd1
commit 07d3809d14

View File

@@ -1,11 +1,11 @@
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 = ..., profiling_enabled: bool = ...,
commit: bool = ...) -> dict: ...
@classmethod @classmethod
def _get_ordered_models(cls, env, model_patterns: bool = ...): ... def _get_ordered_models(cls, env: Environment, model_patterns: bool = ...) -> list[BaseModel]: ...