-
Notifications
You must be signed in to change notification settings - Fork 254
Closed
Description
This is a query I use to select all fields that are of type BB static or BB dynamic:
x = [name for name in select(f.name for f in Field if f.type.name in set({'BB-static', 'BB-dynamic'}))]
Good Python suggests to remove the set() construct and go directly with {...}. I am running Python 3.6.
However, then {} is a frozenSet and pony fails.
Reactions are currently unavailable