Skip to content

replace usage of issubclass with safe_issubclass in `BaseDocWitho… #1904

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

Merged
merged 3 commits into from
Aug 17, 2024
Merged

replace usage of issubclass with safe_issubclass in `BaseDocWitho… #1904

merged 3 commits into from
Aug 17, 2024

Conversation

yxtay
Copy link
Contributor

@yxtay yxtay commented Aug 14, 2024

  • replaces usage of issubclass with safe_issubclass in BaseDocWithoutID and MilvusDocumentIndex
  • remaining usage of issubclass are in safe_issubclass function and tests only

Fixes #1903

…utId`

Signed-off-by: YuXuan Tay <wyextay@gmail.com>
@JoanFM
Copy link
Member

JoanFM commented Aug 14, 2024

Hey @yxtay, I would need you to sign off the commits for the PR to be merged.

@yxtay
Copy link
Contributor Author

yxtay commented Aug 15, 2024

Hi @JoanFM, I have amended and signed the commits. Please let me know if any other action is required.

@JoanFM
Copy link
Member

JoanFM commented Aug 15, 2024

I am currently away from device, but I will check the test errors once I am back

@yxtay
Copy link
Contributor Author

yxtay commented Aug 16, 2024

It looks like many of the failures are due to usage of docker-compose, which has been removed since 2024-04-01.

actions/runner-images#9557

I have created a PR #1905

yxtay and others added 2 commits August 16, 2024 11:02
Signed-off-by: YuXuan Tay <wyextay@gmail.com>
@JoanFM
Copy link
Member

JoanFM commented Aug 17, 2024

Thanks for the contribution!

@JoanFM JoanFM merged commit e6802a2 into docarray:main Aug 17, 2024
35 of 38 checks passed
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.

Python 3.10 TypeError: issubclass() arg 1 must be a class
2 participants