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: load an audio sdk object class label row [merge waiting on PR to prod] #812

Merged
merged 17 commits into from
Dec 11, 2024

Conversation

james-encord
Copy link
Contributor

@james-encord james-encord commented Dec 3, 2024

Introduction and Explanation

Extend audio SDK support from just audio classifications to audio objects as well.

Currently still work-in-progress, successfully passes test to load audio objects from test project on dev, still need to test all attributes are loaded correctly and non-standard attribute support & saving.

Note: merging

Need a recent PR for lastEditedBy handling on save to hit prod before merging

@james-encord james-encord changed the title feat: load an audio sdk label row, no mutation support yet [WIP] feat: load an audio sdk object class label row, no mutation support yet [WIP] Dec 3, 2024
Copy link

github-actions bot commented Dec 3, 2024

Unit test report (Pydantic 1.x)

193 tests   193 ✅  6s ⏱️
  1 suites    0 💤
  1 files      0 ❌

Results for commit 23f4aac.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Dec 3, 2024

Unit test report ((Pydantic 2.x)

193 tests   193 ✅  6s ⏱️
  1 suites    0 💤
  1 files      0 ❌

Results for commit 23f4aac.

♻️ This comment has been updated with latest results.

@james-encord james-encord changed the title feat: load an audio sdk object class label row, no mutation support yet [WIP] feat: load an audio sdk object class label row [WIP] Dec 3, 2024
@james-encord james-encord changed the title feat: load an audio sdk object class label row [WIP] feat: load an audio sdk object class label row Dec 3, 2024
@james-encord james-encord marked this pull request as ready for review December 4, 2024 11:27
encord/objects/ontology_labels_impl.py Outdated Show resolved Hide resolved
encord/objects/ontology_labels_impl.py Outdated Show resolved Hide resolved
"Classification.create_instance(range_only=True) to achieve this."
)

def is_range_only(self) -> bool:
Copy link
Contributor

Choose a reason for hiding this comment

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

Could also be a property?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

keeping consistent with classification interface.

encord/objects/ontology_object_instance.py Outdated Show resolved Hide resolved
Copy link

github-actions bot commented Dec 5, 2024

SDK integration test report

  1 files  ±0    1 suites  ±0   18m 55s ⏱️ - 29m 2s
270 tests ±0  270 ✅ +7  0 💤 ±0  0 ❌  - 6 
270 runs   - 1  270 ✅ +6  0 💤 ±0  0 ❌  - 6 

Results for commit 047227e. ± Comparison against base commit 22101f3.

@james-encord james-encord changed the title feat: load an audio sdk object class label row feat: load an audio sdk object class label row [merge waiting on PR to prod] Dec 5, 2024
@james-encord james-encord merged commit 39b4a9a into master Dec 11, 2024
5 of 6 checks passed
@james-encord james-encord deleted the jsc/feat/audio-sdk branch December 11, 2024 15:41
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.

3 participants