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

literal schema_name #337

Merged
merged 7 commits into from
Sep 18, 2024
Merged

literal schema_name #337

merged 7 commits into from
Sep 18, 2024

Conversation

loriab
Copy link
Collaborator

@loriab loriab commented Jun 7, 2024

Description

Changelog description

  • Solidifies the schema_names for QCInputSpecification and AtomicResult into Literals where previously they had been regex strings coerced into a single name (name unchanged). The literals are for the benefit of GeneralizedOptimizationInput/Result in QCManyBody, which is a generalization of Opt so that it can hold either a single-point gradient or a more complicated gradient specification. To discriminate between the two types, pydantic needs a Literal.

Status

  • Code base linted
  • Ready to go

@loriab loriab merged commit c14e638 into master Sep 18, 2024
17 checks passed
@loriab loriab deleted the loriab-patch-3 branch September 18, 2024 03:15
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