nb_cli.handlers.store
async def dump_unpublished_modules(module_class, newer)
-
参数
-
module_class(type[T]) -
newer(list[T])
-
-
返回
- None
async def load_unpublished_modules(module_class)
-
参数
module_class(type[T])
-
返回
- list[T]
async def download_module_data(module_type)
-
重载
1.
(module_type) -> list[Adapter]-
参数
module_type(Literal['adapter'])
-
返回
- list[Adapter]
2.
(module_type) -> list[Plugin]-
参数
module_type(Literal['plugin'])
-
返回
- list[Plugin]
3.
(module_type) -> list[Driver]-
参数
module_type(Literal['driver'])
-
返回
- list[Driver]
-
def load_local_module_data(module_type, *, allow_expired=False)
-
重载
1.
(module_type, *, allow_expired=False) -> list[Adapter]-
参数
-
module_type(Literal['adapter']) -
allow_expired(bool)
-
-
返回
- list[Adapter]
2.
(module_type, *, allow_expired=False) -> list[Plugin]-
参数
-
module_type(Literal['plugin']) -
allow_expired(bool)
-
-
返回
- list[Plugin]
3.
(module_type, *, allow_expired=False) -> list[Driver]-
参数
-
module_type(Literal['driver']) -
allow_expired(bool)
-
-
返回
- list[Driver]
-