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

Add support for updating stop and descriptor documents #50

Merged
merged 20 commits into from
Feb 5, 2024

Conversation

Kezzsim
Copy link
Contributor

@Kezzsim Kezzsim commented Feb 1, 2024

Self descriptive, adds upport for updating all run record types via the suitcase mongo api.

suitcase/mongo_normalized/__init__.py Outdated Show resolved Hide resolved
suitcase/mongo_normalized/__init__.py Outdated Show resolved Hide resolved
suitcase/mongo_normalized/__init__.py Outdated Show resolved Hide resolved
# Field Saftey Enforcement : Prevent restricted fields from changing
restricted_fields = ["run_start"]
for field in restricted_fields:
if field in old and field in doc:
Copy link
Member

Choose a reason for hiding this comment

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

I think this would permit removing the run_start key.

@danielballan danielballan merged commit 0e5509e into bluesky:master Feb 5, 2024
1 check 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.

2 participants