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

Config: Switch from jsonschema to pydantic #6117

Merged
merged 3 commits into from
Oct 25, 2023

Commits on Oct 22, 2023

  1. Config: Switch from jsonschema to pydantic

    The configuration of an AiiDA instance is written in JSON format to the
    `config.json` file. The schema is defined using `jsonschema` to take
    care of validation, however, some validation, for example of the config
    options was still happening manually.
    
    Other parts of the code want to start using `pydantic` for model
    definition and configuration purposes, which has become a de-factor
    standard for these use-cases in the Python ecosystem. Before introducing
    another dependency, the existing `jsonschema` approach is replaced by
    `pydantic` in current code base first.
    sphuber committed Oct 22, 2023
    Configuration menu
    Copy the full SHA
    0e885e1 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2023

  1. Configuration menu
    Copy the full SHA
    8ac08cf View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2023

  1. Address PR review comments

    sphuber committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    a79ee0e View commit details
    Browse the repository at this point in the history