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

Add workflow_complete call to LabelRowV2 #319

Merged
merged 10 commits into from
Jun 7, 2023
Merged

Conversation

sergei-encord
Copy link
Collaborator

No description provided.

@github-actions
Copy link

github-actions bot commented May 22, 2023

Unit test report

103 tests   92 ✔️  5s ⏱️
    1 suites  11 💤
    1 files      0

Results for commit 76a2429.

♻️ This comment has been updated with latest results.

encord/client.py Outdated Show resolved Hide resolved
encord/objects/ontology_labels_impl.py Outdated Show resolved Hide resolved
pass


class LabelWorkflowGraphNodePayload(base_orm.BaseORM):
Copy link
Contributor

Choose a reason for hiding this comment

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

mhh I think we're trying to get rid of the base orms in general. Is there a good reason to use those over dataclasses?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Not really, mostly for consistency and because it's serialisable to json by default.
dataclasses.asdict(obj) should be equally fine, I suppose.
If we want to bring pydantic and match server-side approach I guess is a separate question. Totally happy to discuss, but would vote for not making anything like that in scope of this PR

encord/objects/ontology_labels_impl.py Outdated Show resolved Hide resolved
encord/objects/ontology_labels_impl.py Outdated Show resolved Hide resolved
encord/objects/ontology_labels_impl.py Outdated Show resolved Hide resolved
encord/objects/ontology_labels_impl.py Outdated Show resolved Hide resolved
encord/objects/ontology_labels_impl.py Outdated Show resolved Hide resolved
encord/objects/ontology_labels_impl.py Outdated Show resolved Hide resolved
sergei-encord and others added 5 commits June 7, 2023 10:56
Co-authored-by: david-babuschkin-encord <126681387+david-babuschkin-encord@users.noreply.github.com>
Co-authored-by: david-babuschkin-encord <126681387+david-babuschkin-encord@users.noreply.github.com>
Co-authored-by: david-babuschkin-encord <126681387+david-babuschkin-encord@users.noreply.github.com>
Co-authored-by: david-babuschkin-encord <126681387+david-babuschkin-encord@users.noreply.github.com>
@sergei-encord sergei-encord merged commit bd97d0f into master Jun 7, 2023
3 checks passed
@sergei-encord sergei-encord deleted the workflow-complete branch June 7, 2023 10:27
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.

None yet

4 participants