Skip to content

RunData

调度器传入的所有参数,执行函数通过g来获取这些参数

Example

from pyxxl.ctx import g

@xxxxx
async def test():
    print(g.xxl_run_data.logId)

broadcastIndex: Optional[int] = None class-attribute instance-attribute

broadcastTotal: Optional[int] = None class-attribute instance-attribute

executorBlockStrategy: str instance-attribute

executorHandler: str instance-attribute

executorParams: Optional[str] = None class-attribute instance-attribute

executorTimeout: Optional[int] = None class-attribute instance-attribute

glueSource: Optional[str] = None class-attribute instance-attribute

glueType: Optional[str] = None class-attribute instance-attribute

glueUpdatetime: Optional[int] = None class-attribute instance-attribute

jobId: int instance-attribute

logDateTime: Optional[int] = None class-attribute instance-attribute

logId: int instance-attribute

from_dict(data: dict) -> RunData classmethod