Skip to content

Conversation

@shunping
Copy link
Collaborator

@shunping shunping commented Mar 13, 2025

With this PR, we will now support generating Spec for a specifiable initialized with classes or functions as init arguments.

In addition, re-registering a spec_type with the same class is now allowed. Trying to override with a different class will still lead to an exception though.

@shunping shunping changed the title Support functions and classes as init arguments in specifiable. [AnomalyDetection] Support functions and classes as init arguments in specifiable. Mar 13, 2025
@shunping shunping self-assigned this Mar 13, 2025
@shunping shunping requested a review from damccorm March 13, 2025 03:34
@shunping shunping added this to the 2.64.0 Release milestone Mar 13, 2025
@github-actions
Copy link
Contributor

Assigning reviewers. If you would like to opt out of this review, comment assign to next reviewer:

R: @liferoad for label python.

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

The PR bot will only process comments in the main thread (not review comments).

Copy link
Contributor

@damccorm damccorm left a comment

Choose a reason for hiding this comment

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

This LGTM, thanks

@damccorm
Copy link
Contributor

Oh, please fix linting though

@shunping
Copy link
Collaborator Author

Oh, please fix linting though

Fixed. Waiting for the tests to finish.

@shunping shunping force-pushed the anomaly-detection-5-1 branch from ae440b5 to 8b0d135 Compare March 13, 2025 15:55
@shunping
Copy link
Collaborator Author

Oh, please fix linting though

Fixed. Waiting for the tests to finish.

@damccorm, the tests are fine now. PTAL. Thanks!

@damccorm damccorm merged commit 4d8710d into apache:master Mar 14, 2025
90 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants