Skip to content

fix: store the task type value rather than enum when creating a task - #1329

Merged
jczhong84 merged 2 commits into
pinterest:masterfrom
adamstruck:fix-task-type
Oct 24, 2023
Merged

fix: store the task type value rather than enum when creating a task#1329
jczhong84 merged 2 commits into
pinterest:masterfrom
adamstruck:fix-task-type

Conversation

@adamstruck

Copy link
Copy Markdown
Contributor

The task type was being stored in the db as "ScheduleTaskType.PROD" rather than the expected "prod". This was causing newly created tasks to be filtered out in the AdminTask component (link).

Comment thread querybook/server/logic/schedule.py
@adamstruck

Copy link
Copy Markdown
Contributor Author

@jczhong84 anything else needed here?

@baumandm baumandm mentioned this pull request Oct 19, 2023
@jczhong84
jczhong84 merged commit 9f8c001 into pinterest:master Oct 24, 2023
aidenprice pushed a commit to arrowtail-precision/querybook that referenced this pull request Jan 3, 2024
…interest#1329)

* fix: store the task type value not enum when creating a task

* Update demo.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants