加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
schedule.pyi 1.92 KB
一键复制 编辑 原始数据 按行查看 历史
edmundwz 提交于 2019-03-28 10:45 . add pyi
# Stubs for schedule (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
import threading
from component import Component
from typing import Any
class ScheduleEngine(threading.Thread):
queue: Any = ...
flag: bool = ...
def __init__(self) -> None: ...
def run(self) -> None: ...
def subscribe(self, pollable: Any) -> None: ...
def unsubscribe(self, pollable: Any) -> None: ...
schedule_engine: Any
class DateRangeSchedule(Component):
start: Any = ...
end: Any = ...
def __init__(self) -> None: ...
def get_start(self): ...
def get_end(self): ...
class TimeRangeSchedule(Component):
enabled: Any = ...
start: Any = ...
end: Any = ...
def __init__(self) -> None: ...
def get_start(self): ...
def get_end(self): ...
class ControlSchedule(Component):
date_range: Any = ...
monday: Any = ...
tuesday: Any = ...
wednesday: Any = ...
thursday: Any = ...
friday: Any = ...
saturday: Any = ...
sunday: Any = ...
active: Any = ...
inactive: Any = ...
def __init__(self) -> None: ...
def started(self) -> None: ...
def stopped(self) -> None: ...
def poll(self) -> None: ...
def do_active(self, v: Any) -> None: ...
def do_inactive(self, v: Any) -> None: ...
class BooleanSchedule(ControlSchedule):
out: Any = ...
def __init__(self) -> None: ...
def do_active(self, v: Any) -> None: ...
def do_inactive(self, v: Any) -> None: ...
class NumberSchedule(ControlSchedule):
set: Any = ...
preset: Any = ...
out: Any = ...
def __init__(self) -> None: ...
def do_active(self, v: Any) -> None: ...
def do_inactive(self, v: Any) -> None: ...
class StringSchedule(ControlSchedule):
set: Any = ...
preset: Any = ...
out: Any = ...
def __init__(self) -> None: ...
def do_active(self, v: Any) -> None: ...
def do_inactive(self, v: Any) -> None: ...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化