Skip to content

Commit

Permalink
Merge pull request #19 from AllenNeuralDynamics/17-add-experimenter-f…
Browse files Browse the repository at this point in the history
…ield-to-session-schema

Add experimenter to schema
  • Loading branch information
bruno-f-cruz authored Apr 29, 2024
2 parents 035bb2b + 1c4879d commit 71a0366
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/DataSchemas/aind_behavior_services/session/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Import core types
from datetime import datetime
from typing import Literal, Optional
from typing import Literal, Optional, List

from aind_behavior_services.base import SchemaVersionedModel

Expand All @@ -13,6 +13,7 @@
class AindBehaviorSessionModel(SchemaVersionedModel):
schema_version: Literal[__version__] = __version__
experiment: str = Field(..., description="Name of the experiment")
experimenter: List[str] = Field(default=[], description="Name of the experimenter")
date: datetime = Field(default_factory=datetime.now, description="Date of the experiment")
root_path: str = Field(..., description="Root path where data will be logged")
remote_path: Optional[str] = Field(
Expand Down

0 comments on commit 71a0366

Please sign in to comment.