Added the restriction to instantiate the apysc data types (v3.2.1) #932
simon-ritchie
announced in
Destructive changes
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since version 3.2.1, the apysc data types, such as the
ap.Int
,ap.Number
,ap.String
,ap.Boolean
,ap.Array
, andap.Dictionary
, cannot be instantiated before anap.Stage
creation.For example, the following code raises an exception:
If you encountered that exception, please instantiate a data class (such as the
my_int: ap.Int = ap.Int(10)
) after a stage creation:Beta Was this translation helpful? Give feedback.
All reactions