Skip to content

Conversation

@ashleyxuu
Copy link
Contributor

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes internal #340888645🦕

@ashleyxuu ashleyxuu requested a review from tswast May 17, 2024 00:07
@ashleyxuu ashleyxuu requested review from a team as code owners May 17, 2024 00:07
@product-auto-label product-auto-label bot added size: s Pull request size is small. api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. labels May 17, 2024
@ashleyxuu ashleyxuu changed the title fix: type error in test_ensemble chore: type error in test_ensemble May 17, 2024
Copy link
Collaborator

@tswast tswast left a comment

Choose a reason for hiding this comment

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

Thanks!

f"{dataset_id}.temp_configured_xgbregressor_model", replace=True
)
# TODO(b/340888645): fix type error
assert reloaded_model._bqml_model is not None
Copy link
Collaborator

Choose a reason for hiding this comment

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

Might need to save this to a temp variable, since it's theoretically possible reloaded_model._bqml_model changes between here and the assertion, but that does not look possible in this case.

@ashleyxuu ashleyxuu merged commit ac1a188 into main May 17, 2024
@ashleyxuu ashleyxuu deleted the ashleyxu-type-wip branch May 17, 2024 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants