-
Notifications
You must be signed in to change notification settings - Fork 122
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
Implement SAR extension. #33 #203
Conversation
There is a TODO for documentation, but a review request. Is this still in draft state? |
Yes, still a draft. I was hoping you'd take a look at the non-doc part. But hold off on that and I'll give it another look over myself and add the docs. Sorry I'm having so much trouble with the github workflow. The tooling feels very different than the reviews I do internally at Google. |
Gotcha - no worries. I just wasn't sure the state of things. If there's something particular you'd like me to take a look at, happy to, otherwise I think it'll shorten the review cycles if the review can happen all at once when the PR is out of draft phase. |
Codecov Report
@@ Coverage Diff @@
## develop #203 +/- ##
===========================================
+ Coverage 92.18% 92.88% +0.69%
===========================================
Files 28 29 +1
Lines 3341 3515 +174
===========================================
+ Hits 3080 3265 +185
+ Misses 261 250 -11
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, and good to merge. Few things:
- I added a commit to put the API docs in
- I created Handle setting None consistently in extensions. #230 to track making our usage of optional properties being set as None, and how that affects the
apply
method. - I created Refactor to use Enums consistently in PySTAC #231 to track making our usage of Enums consistent. You're using enums here, but they are not used in throughout the rest of the library. I think that's good for now, but we want to eventually be consistent on our usage. If you have opinions about that, please comment in the issue!
I'm new to type hints, so they aren't totally perfect. The
classmethod
s are likely incorrect. It would be great to get help to make them be correct or we can drop them. Type hints tested with pytype.It seems like there should be a subset of
sar
available for collections. e.g. this, which is definitely not correct.