Skip to content

Commit

Permalink
fix: convert metrics_to_store to a list for proper type handling
Browse files Browse the repository at this point in the history
  • Loading branch information
furkan-bilgin committed Dec 27, 2024
1 parent 008a3d9 commit bc49af1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/enrgdaq/daq/jobs/pc_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class DAQJobPCMetricsConfig(StorableDAQJobConfig):
poll_interval_seconds (int): Polling interval in seconds. If not specified, the default polling interval will be used.
"""

metrics_to_store: list[PCMetric] = PCMetric.__members__.keys()
metrics_to_store: list[PCMetric] = list(PCMetric.__members__.keys())
poll_interval_seconds: int = DAQ_JOB_PC_METRICS_QUERY_INTERVAL_SECONDS


Expand Down

0 comments on commit bc49af1

Please sign in to comment.