Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Conversation

@andrii-balitskyi
Copy link
Collaborator

No description provided.

@andrii-balitskyi andrii-balitskyi marked this pull request as ready for review May 9, 2023 16:27
noise_threshold_decibels: Optional[float] = None,
noise_threshold_nrs: Optional[float] = None,
) -> List[NoiseThreshold]:
) -> ActionAttempt:
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should return a noise threshold here, not an action attempt

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

from https://github.com/seamapi/seam-connect/issues/2919

Is this possible to do using tiny actions? for example, until we run the action we don't have the device metadata and the noide_threshold_id

@seveibar

Copy link
Collaborator Author

@andrii-balitskyi andrii-balitskyi May 10, 2023

Choose a reason for hiding this comment

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

@seveibar for now we can by default poll for the action attempt until resolved and return the noise threshold which should be in the result of the successfully resolved action attempt

Copy link
Contributor

Choose a reason for hiding this comment

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

yep that's safer

Copy link
Contributor

@seveibar seveibar left a comment

Choose a reason for hiding this comment

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

CC @itelo should take a look

@andrii-balitskyi andrii-balitskyi requested a review from itelo May 9, 2023 16:33
Copy link
Contributor

@seveibar seveibar left a comment

Choose a reason for hiding this comment

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

lg, we should try to get the types correct, but since this is versioned we can do it incrementally if you'd like

@andrii-balitskyi andrii-balitskyi merged commit 27b0005 into main May 17, 2023
@andrii-balitskyi andrii-balitskyi deleted the delete-noise-threshold branch May 17, 2023 10:00
github-actions bot pushed a commit that referenced this pull request May 17, 2023
## [2.12.0](seamapi/python@v2.11.0...v2.12.0) (2023-05-17)

### Features

* Add delete noise threshold method ([#88](seamapi/python#88)) ([27b0005](seamapi/python@27b0005))
@seambot
Copy link
Contributor

seambot commented May 17, 2023

🎉 This issue has been resolved in version 2.12.0 🎉

The release is available on PyPI and GitHub.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants