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

fix: Handle anyOf in JSON Schema property #379

Merged
Changes from 1 commit
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
84b67c8
fix: Handle `anyOf` in JSON Schema property
eecavanna Nov 13, 2023
b752877
Indicate function return value type
eecavanna Nov 13, 2023
037b31d
Refactor function and add comments
eecavanna Nov 13, 2023
a26e79f
fix: Prefix class name with `nmdc:`
eecavanna Nov 13, 2023
752eaba
Implement helper function to process both single-ref and multi-ref specs
eecavanna Nov 13, 2023
3db0d92
Document prefix functionality
eecavanna Nov 13, 2023
e78579e
Fix punctuation in comment
eecavanna Nov 13, 2023
e7d5773
Update dictionary and function to accommodate multiple classes per co…
eecavanna Nov 13, 2023
581db63
WIP: Update doc link maker to accommodate collections that map to mul…
eecavanna Nov 13, 2023
93f1393
Clarify variable names
eecavanna Nov 13, 2023
2f1ab46
Add comments in an attempt to clarify code
eecavanna Nov 13, 2023
f7c0c06
Delete commented-out code that doesn't accommodate multi-class collec…
eecavanna Nov 13, 2023
0ce48c8
Add tests covering some corner cases
eecavanna Nov 13, 2023
2550172
Fix inaccurate type hint
eecavanna Nov 13, 2023
a532559
Clarify docstring
eecavanna Nov 13, 2023
3766889
Replace reference to nonexistent dict and implement preliminary patch
eecavanna Nov 14, 2023
5d588ea
Make the collection name bold on the search page
eecavanna Nov 14, 2023
436b56d
Update search page to account for collections mapping to multiple cla…
eecavanna Nov 14, 2023
737743f
Remove redundant type hints
eecavanna Nov 14, 2023
f2f1d15
style: black format
dwinston Nov 15, 2023
bfac5bc
panic on no-type given
dwinston Nov 16, 2023
1b2372d
add script and api function
mbthornton-lbl Nov 1, 2023
72aef56
update script
mbthornton-lbl Nov 1, 2023
fc4ca1c
Refactor runtime client methods to raise for status and parse and ret…
mbthornton-lbl Nov 3, 2023
eb18494
handle omics processing records
mbthornton-lbl Nov 3, 2023
f295ecf
update docstring
mbthornton-lbl Nov 3, 2023
ad9e9e8
update to include correct prefix
mbthornton-lbl Nov 7, 2023
dcd6069
update to use use new insdc_bioproject_identifiers slot on omics_proc…
mbthornton-lbl Nov 14, 2023
96cdea4
style: black format
dwinston Nov 20, 2023
5bdadae
add typecodes enpoint (#386)
dwinston Nov 16, 2023
29a644d
update .gitpod.yml
dwinston Nov 20, 2023
4af568b
add sshproxy.sh for nersc tunneling
dwinston Nov 20, 2023
63ec314
update make cmd
dwinston Nov 20, 2023
efa71ba
add gitpod affordance
dwinston Nov 20, 2023
17cda4a
add gitpod dockerfile
PeopleMakeCulture Nov 20, 2023
6ec91e5
update gitpod stuff
dwinston Nov 20, 2023
587dac0
rename
dwinston Nov 20, 2023
9f566de
update Makefile
dwinston Nov 20, 2023
c1df262
fix
dwinston Nov 20, 2023
793e36b
gitpod: pull dev mdb
dwinston Nov 20, 2023
5423a33
fix
dwinston Nov 20, 2023
a52a944
fix make target
dwinston Nov 20, 2023
4aec45a
Separate dev and production deployments in GitHub workflow (#382)
pkalita-lbl Nov 20, 2023
7267aac
style: fix, and elaborate a bit
dwinston Nov 20, 2023
160c036
Revert stuff
dwinston Nov 20, 2023
4c84f30
style: fix, and elaborate a bit
dwinston Nov 20, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix punctuation in comment
eecavanna committed Nov 13, 2023

Verified

This commit was signed with the committer’s verified signature.
commit e78579e86d955430c39d41e064dab3f0ee92e6b0
2 changes: 1 addition & 1 deletion nmdc_runtime/util.py
Original file line number Diff line number Diff line change
@@ -70,7 +70,7 @@ def get_class_names_from_collection_spec(spec: dict, prefix: Optional[str] = Non

@lru_cache
def get_type_collections() -> dict:
"""Returns a dictionary mapping class names to Mongo collection names"""
"""Returns a dictionary mapping class names to Mongo collection names."""

mappings = {}