From 3ba93cacac09d3ca1a335207834dc36070d7523e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 24 Sep 2024 04:17:42 +0000 Subject: [PATCH] chore(deps): bump pydantic from 2.8.2 to 2.9.2 in the pip group across 1 directory (#52) * chore(deps): bump pydantic in the pip group across 1 directory Bumps the pip group with 1 update in the / directory: [pydantic](https://github.com/pydantic/pydantic). Updates `pydantic` from 2.8.2 to 2.9.2 - [Release notes](https://github.com/pydantic/pydantic/releases) - [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md) - [Commits](https://github.com/pydantic/pydantic/compare/v2.8.2...v2.9.2) --- updated-dependencies: - dependency-name: pydantic dependency-type: direct:production update-type: version-update:semver-minor dependency-group: pip ... Signed-off-by: dependabot[bot] * chore: Autoformat code --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kenneth Yang <82800265+kjy5@users.noreply.github.com> Co-authored-by: kjy5 --- pyproject.toml | 2 +- src/vbl_aquarium/models/pinpoint.py | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 6364c73..9f5878d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,7 @@ classifiers = [ "Intended Audience :: Science/Research", ] dependencies = [ - "pydantic==2.8.2", + "pydantic==2.9.2", ] [project.urls] diff --git a/src/vbl_aquarium/models/pinpoint.py b/src/vbl_aquarium/models/pinpoint.py index bb725b6..b0c6154 100644 --- a/src/vbl_aquarium/models/pinpoint.py +++ b/src/vbl_aquarium/models/pinpoint.py @@ -2,7 +2,7 @@ from pydantic import Field -from vbl_aquarium.models.unity import Vector2, Vector3, Color +from vbl_aquarium.models.unity import Color, Vector2, Vector3 from vbl_aquarium.utils.vbl_base_model import VBLBaseModel # CRANIOTOMY @@ -13,6 +13,7 @@ class CraniotomyModel(VBLBaseModel): size: Vector2 position: Vector3 + # TRANSFORM @@ -25,6 +26,7 @@ class AffineTransformModel(VBLBaseModel): # RIG + class RigModel(VBLBaseModel): name: str image: str @@ -35,6 +37,7 @@ class RigModel(VBLBaseModel): # Probes and insertions + class InsertionModel(VBLBaseModel): position: Vector3 angles: Vector3 @@ -42,6 +45,7 @@ class InsertionModel(VBLBaseModel): transform_name: str reference_coord: Vector3 + class ProbeModel(VBLBaseModel): insertion: InsertionModel @@ -53,6 +57,7 @@ class ProbeModel(VBLBaseModel): # Full scene + class SceneModel(VBLBaseModel): atlas_name: str transform_name: str