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

Fix: use isinstance instead of type comparison #2973

Merged
merged 6 commits into from
Aug 22, 2023

Conversation

melopeo
Copy link
Contributor

@melopeo melopeo commented Aug 21, 2023

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Please tag this pr with at least one of these labels to make our release process faster: BREAKING, new feature, bug fix, other change, dev setup

@melopeo melopeo added the bug fix (one of pr required labels) label Aug 21, 2023
@melopeo melopeo requested a review from jaheba August 21, 2023 13:40
@melopeo melopeo closed this Aug 21, 2023
@melopeo melopeo reopened this Aug 22, 2023
Pedro Eduardo Mercado Lopez added 2 commits August 22, 2023 10:47
lostella
lostella previously approved these changes Aug 22, 2023
@lostella lostella changed the title fix type comparison Fix: use isinstance instead of type comparison Aug 22, 2023
Copy link
Contributor

@lostella lostella left a comment

Choose a reason for hiding this comment

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

See comment

@melopeo melopeo merged commit 1c956a2 into awslabs:dev Aug 22, 2023
21 checks passed
@lostella lostella added the pending v0.13.x backport This contains a fix to be backported to the v0.13.x branch label Aug 22, 2023
lostella pushed a commit to lostella/gluonts that referenced this pull request Aug 24, 2023
* fix type comparison

---------

Co-authored-by: Pedro Eduardo Mercado Lopez <[email protected]>
@lostella lostella mentioned this pull request Aug 24, 2023
lostella added a commit that referenced this pull request Aug 25, 2023
* Turn `type` comparison into `isinstance` (#2958)

* Clean up RepresentablePredictor (#2967)

* Fix: use `isinstance` instead of type comparison (#2973)

* fix type comparison

---------

Co-authored-by: Pedro Eduardo Mercado Lopez <[email protected]>

* Fix ArrowDecoder.decode to return instead of yield (#2976)

* Unpin pyarrow version (#2977)

* Fix Cython version in XGBoost tests (#2966)

* black

---------

Co-authored-by: Pedro Mercado <[email protected]>
Co-authored-by: Pedro Eduardo Mercado Lopez <[email protected]>
@lostella lostella removed the pending v0.13.x backport This contains a fix to be backported to the v0.13.x branch label Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fix (one of pr required labels)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants