Skip to content

Commit bf61df1

Browse files
committed
only added fields to the EPICS backend which are supported
1 parent 1592343 commit bf61df1

File tree

1 file changed

+1
-0
lines changed
  • src/fastcs/backends/epics

1 file changed

+1
-0
lines changed

src/fastcs/backends/epics/ioc.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ def datatype_to_epics_fields(datatype: DataType) -> dict[str, Any]:
4343
return {
4444
DATATYPE_NAME_TO_RECORD_FIELD[field]: value
4545
for field, value in asdict(datatype).items()
46+
if field in DATATYPE_NAME_TO_RECORD_FIELD
4647
}
4748

4849

0 commit comments

Comments
 (0)