Skip to content

Allow neither both

AllowNeitherBoth #

AllowNeitherBoth(value: bool = True)

Bases: RapidataSetting

Set whether to allow neither or both options. This setting only works for compare orders.

Parameters:

Name Type Description Default
value bool

Whether to allow neither or both options. Defaults to True. If this setting is not added to an order, the users won't be able to select neither or both.

True
Source code in src/rapidata/rapidata_client/settings/allow_neither_both.py
def __init__(self, value: bool = True):
    super().__init__(key="compare_unsure", value=value)