Closed phackstock closed 3 months ago
The level attribute of Region is a good candidate to use an enum since you want to restrict the values to 1, 2, 3. https://github.com/iiasa/pysquirrel/blob/5d8005389d78f42a65863c3b175f879684d58643/src/pysquirrel/core.py#L34
level
Region
1, 2, 3
The
level
attribute ofRegion
is a good candidate to use an enum since you want to restrict the values to1, 2, 3
. https://github.com/iiasa/pysquirrel/blob/5d8005389d78f42a65863c3b175f879684d58643/src/pysquirrel/core.py#L34