Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: patch job metadata endpoint #397

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

ryuwd
Copy link
Contributor

@ryuwd ryuwd commented Feb 5, 2025

Todo:

  • Write PATCH /metadata
  • Tests
    • test patching attributes and parameters
    • test getting job status history in /search

Closes #162

@ryuwd ryuwd force-pushed the roneil-jobstateupdatehandler branch 2 times, most recently from 052332b to d2106a3 Compare February 7, 2025 14:08
@ryuwd ryuwd changed the title metadata patch endpoint feat: patch job metadata endpoint Feb 7, 2025
[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

add policy

Missing awaits and return results

adjust returned output

Fixed mypy

mypy false positive?

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

and line 34

regenerated client
[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
@ryuwd ryuwd force-pushed the roneil-jobstateupdatehandler branch 2 times, most recently from 7314db4 to 328cf93 Compare February 10, 2025 17:38
@ryuwd ryuwd force-pushed the roneil-jobstateupdatehandler branch from 328cf93 to 46559f7 Compare February 10, 2025 17:38
with tempfile.TemporaryFile(mode="w+b") as tar_fh:
with tarfile.open(fileobj=tar_fh, mode=f"w|{SANDBOX_COMPRESSION}") as tf:
with tempfile.TemporaryFile(mode="w+b") as tar_fh: # type: ignore
with tarfile.open(fileobj=tar_fh, mode=f"w|{SANDBOX_COMPRESSION}") as tf: # type: ignore
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chaen I think you came up with a solution for this?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, I'll finish my PR tomorrow and then you can just rebase

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.

Add routes for JobStateUpdateHandler
3 participants