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

Allow None for base #8

Merged
merged 1 commit into from
Dec 3, 2024
Merged

Allow None for base #8

merged 1 commit into from
Dec 3, 2024

Conversation

gadomski
Copy link
Collaborator

@gadomski gadomski commented Nov 19, 2024

What I am changing

  • Allow None for base (note: not item)

How I did it

  • It was done in Allow None in rehydration stac-utils/pgstac#263 but I missed that test somehow when I ported this over.
  • Do we need to allow None for item as well? I don't think so at first glance but maybe we do 🤷🏼 ... that might make things more complicated.

How you can test it

maturin develop --uv && pytest

cc @mishaschwartz

Related Issues

It was done in stac-utils/pgstac#263 but I missed that
test somehow when I ported this over.
@gadomski gadomski requested a review from bitner November 19, 2024 20:23
@gadomski gadomski self-assigned this Nov 19, 2024
Copy link

@bitner bitner left a comment

Choose a reason for hiding this comment

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

LGTM

@gadomski gadomski merged commit e23496f into main Dec 3, 2024
5 checks passed
@gadomski gadomski deleted the issues/7-handle-none branch December 3, 2024 20:03
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.

should hydrate coerce None to an empty dictionary or list?
2 participants