Miksus / rocketry

Modern scheduling library for Python
https://rocketry.readthedocs.io
MIT License
3.23k stars 105 forks source link

BUG: TaskLogRecord and TaskRunRecord extra fields #163

Closed Miksus closed 1 year ago

Miksus commented 1 year ago

This PR fixes the problem with TaskLogRecord and TaskRunRecord:

...
Traceback (most recent call last):
  File "...\lib\site-packages\redbird\base.py", line 321, in data_to_item        
    return self.model(**data)
  File "pydantic\main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for TaskLogRecord
start
  an integer is required (got type str) (type=type_error)
...