Skip to content

Commit 5e51bc3

Browse files
authored
Merge pull request #10 from rom-py/datamesh_token_fix
Added default arg of None do datamesh token to prompt correct env beh…
2 parents def6208 + 40a96b8 commit 5e51bc3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rompy/core/source.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ class SourceDatamesh(SourceBase):
191191
description="The id of the datasource on Datamesh",
192192
)
193193
token: Optional[str] = Field(
194+
default=None,
194195
description="Datamesh API token, taken from the environment if not provided",
195196
)
196197
kwargs: dict = Field(

0 commit comments

Comments
 (0)