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

Move to adaptor backend #298

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

nathanjmcdougall
Copy link
Contributor

To set us up for #263 and #254.

At @machow's suggestion here: #263 (comment)
I definitely agree this is definitely a nicer way of doing things.

}

# data preview ----

# TODO: move out data_preview logic? Can we draw some limits here?
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Addressing this TODO; this logic has been moved to _DFAdaptor and _Adaptor respectively.

@@ -0,0 +1,21 @@
MIT License
Copy link
Contributor Author

@nathanjmcdougall nathanjmcdougall Aug 13, 2024

Choose a reason for hiding this comment

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

Technically complying with MIT requires distributing the license

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

Copy link
Contributor Author

@nathanjmcdougall nathanjmcdougall Aug 20, 2024

Choose a reason for hiding this comment

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

Actually this probably needs to be moved out of tests because I'm not sure if that gets included in the wheel build (I think it doesn't).

Copy link
Collaborator

Choose a reason for hiding this comment

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

The tests directory does get included in the wheel build! I'm not entirely sure where this file should be, but it might be easier to not vendor in this package, if possible 😄

from abc import abstractmethod
from typing import TYPE_CHECKING, Any, ClassVar, TypeAlias, overload

from typing_extensions import Self

This comment was marked as resolved.

@isabelizimm
Copy link
Collaborator

isabelizimm commented Aug 20, 2024

I would prefer to not vendor in all of databackend; @machow, wdyt of putting the latest GH release on PyPI? It looks like there is just v0.0.1 on PyPI due to some sort of auth-y error in CI releasing 0.0.2? We can maybe pair through this together?

@nathanjmcdougall nathanjmcdougall force-pushed the feature/move-to-adaptor-backend branch from 43ebacc to 549679a Compare August 20, 2024 22:20
@isabelizimm
Copy link
Collaborator

isabelizimm commented Aug 27, 2024

Okay, we are able to use databackend==0.0.3 now, rather than vendoring it all in 🎉

@nathanjmcdougall nathanjmcdougall force-pushed the feature/move-to-adaptor-backend branch from 90355be to fe6092f Compare August 27, 2024 22:40
@nathanjmcdougall
Copy link
Contributor Author

Cool, I've rebased away the commit with the vendored code and added the new dependency.

@isabelizimm isabelizimm requested a review from machow December 16, 2024 22:59
@isabelizimm
Copy link
Collaborator

isabelizimm commented Dec 16, 2024

paired with @machow, he'll be taking over this PR and associated ones (#254 and #263) for review/next steps!

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.

2 participants