@extract_id(TicketField)<EOL><INDENT>def create_or_update(self, ticket_field, custom_field_option):<DEDENT>
return TicketFieldOptionRequest(self).post(ticket_field, custom_field_option)<EOL>
Create or update a CustomFieldOption for a TicketField. If passed CustomFieldOption has no id, a new option
will be created, otherwise it is updated - See: Zendesk API `Reference
<https://developer.zendesk.com/rest_api/docs/core/ticket_fields#create-or-update-a-ticket-field-option>`__.

:param ticket_field: TicketField object or id
:param custom_field_option: CustomFieldOption object