A field selection expression. e.g. request.auth
.
Name | Type | Description | Notes |
---|---|---|---|
operand | Expr | [optional] | |
var_field | str | Required. The name of the field to select. For example, in the select expression `request.auth`, the `auth` portion of the expression would be the `field`. | [optional] |
test_only | bool | Whether the select is to be interpreted as a field presence test. This results from the macro `has(request.auth)`. | [optional] |
from permify.models.select import Select
# TODO update the JSON string below
json = "{}"
# create an instance of Select from a JSON string
select_instance = Select.from_json(json)
# print the JSON string representation of the object
print(Select.to_json())
# convert the object into a dict
select_dict = select_instance.to_dict()
# create an instance of Select from a dict
select_from_dict = Select.from_dict(select_dict)