From 1c4879dfb66f795a2a4ddde16a0bd4fff8011e8c Mon Sep 17 00:00:00 2001 From: bruno-f-cruz <7049351+bruno-f-cruz@users.noreply.github.com> Date: Mon, 29 Apr 2024 10:42:46 -0700 Subject: [PATCH] Add experimenter to schema --- src/DataSchemas/aind_behavior_services/session/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/DataSchemas/aind_behavior_services/session/__init__.py b/src/DataSchemas/aind_behavior_services/session/__init__.py index 4489cd77..bc8ef0a2 100644 --- a/src/DataSchemas/aind_behavior_services/session/__init__.py +++ b/src/DataSchemas/aind_behavior_services/session/__init__.py @@ -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 @@ -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(