Skip to content

Commit

Permalink
Theresa's suggested fix for using type as directive name when name is…
Browse files Browse the repository at this point in the history
… empty
  • Loading branch information
bradNASA committed Jun 6, 2024
1 parent 711b43e commit 5630f36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aerie_cli/schemas/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class ActivityBase(ApiSerialize):
converter = convert_to_time_delta
)
metadata: Optional[Dict[str, str]] = field(factory=lambda: {}, kw_only=True)
name: Optional[str] = field(factory=lambda: "", kw_only=True)
name: Optional[str] = field(factory=lambda: None, kw_only=True)
arguments: Optional[Dict[str, Any]] = field(
factory=lambda: [], kw_only=True
)
Expand Down

0 comments on commit 5630f36

Please sign in to comment.