Skip to content

Update dependencies#26

Merged
mbercx merged 4 commits intoaiidateam:mainfrom
mbercx:dev/update-deps
Jan 10, 2025
Merged

Update dependencies#26
mbercx merged 4 commits intoaiidateam:mainfrom
mbercx:dev/update-deps

Conversation

@mbercx
Copy link
Member

@mbercx mbercx commented Jan 10, 2025

No description provided.

mbercx and others added 4 commits December 11, 2024 13:33
In order to avoid having to `verdi run` the `add_in_batches` example, we load the
profile in the `main` function.

We also add a break at the end of the function once the number of calculations to run
is zero.

Co-authored-by: Ali <khsrali@gmail.com>
Co-authored-by: Ali <khsrali@gmail.com>
Update dependencies and code to be compatible with `aiida-core~=2.5` and `pydantic~=2.8`.

Main changes are:

* `orm.Group.objects.get` -> `orm.Group.collection.get`
* `orm.Group.objects.get_or_create` -> `orm.Group.collection.get_or_create`
* `@validator` -> `@field_validator`
* `allow_reuse=True` removed as not needed anymore

Co-authored-by: Ali <khsrali@gmail.com>
@mbercx mbercx merged commit b861256 into aiidateam:main Jan 10, 2025
1 check passed
@mbercx mbercx deleted the dev/update-deps branch January 10, 2025 16:10
@mbercx mbercx mentioned this pull request Sep 21, 2025
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.

1 participant