Skip to content

Commit

Permalink
Implement __str__() of SubmittedExperimentInfo
Browse files Browse the repository at this point in the history
See also: #240
  • Loading branch information
BECATRUE committed Jan 10, 2024
1 parent f1bace5 commit 0e3f8a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions iquip/protocols.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,7 @@ class SubmittedExperimentInfo: # pylint: disable=too-many-instance-attributes
file: Optional[str]
content: Optional[str]
arguments: Dict[str, Any]

def __str__(self) -> str:
"""Overridden."""
return str(dataclasses.asdict(self))

0 comments on commit 0e3f8a6

Please sign in to comment.