Skip to content

Commit

Permalink
Merge pull request #120 from AllenNeuralDynamics:hotfix-distributions…
Browse files Browse the repository at this point in the history
…-annotated

Fix distributions class discriminator type signature
  • Loading branch information
bruno-f-cruz authored Nov 9, 2024
2 parents 3ec4c26 + 489df1c commit 5acdbfe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/aind_behavior_services/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.8.4"
__version__ = "0.8.5"

from .rig import AindBehaviorRigModel # noqa: F401
from .session import AindBehaviorSessionModel # noqa: F401
Expand Down
3 changes: 2 additions & 1 deletion src/aind_behavior_services/rig/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ class VideoWriterFfmpeg(BaseModel):
description="Output arguments",
)
input_arguments: str = Field(
default="-v verbose -colorspace bt709 -color_primaries bt709 -color_range full -color_trc linear", description="Input arguments"
default="-v verbose -colorspace bt709 -color_primaries bt709 -color_range full -color_trc linear",
description="Input arguments",
)


Expand Down
4 changes: 2 additions & 2 deletions src/aind_behavior_services/task_logic/distributions.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,9 @@ class PdfDistribution(DistributionBase):
BetaDistribution,
GammaDistribution,
PdfDistribution,
]
],
Field(discriminator="family", title="Distribution", description="Available distributions"),
],
Field(discriminator="family", title="Distribution", description="Available distributions"),
)

DistributionParameters = TypeAliasType(
Expand Down

0 comments on commit 5acdbfe

Please sign in to comment.