PropsInput
#
Bases: object
Create a PropsInput by choosing to include all/some properties explicitly.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
all
|
AllPropertySpec
|
Use a predefined spec to include all properties of a kind. |
required |
some
|
SomePropertySpec
|
Explicitly list the properties to include. |
required |
Raises:
Type | Description |
---|---|
ValueError
|
If neither all and some are specified. |
__new__(all=None, some=None)
#
Create and return a new object. See help(type) for accurate signature.