ds_protocol_http_py_lib.enums ============================= .. py:module:: ds_protocol_http_py_lib.enums .. autoapi-nested-parse:: **File:** ``enums.py`` **Region:** ``ds_protocol_http_py_lib/enums`` Constants for HTTP protocol. .. rubric:: Example >>> ResourceType.LINKED_SERVICE 'ds.resource.linked-service.http' >>> ResourceType.DATASET 'ds.resource.dataset.http' Classes ------- .. autoapisummary:: ds_protocol_http_py_lib.enums.HttpMethod ds_protocol_http_py_lib.enums.AuthType ds_protocol_http_py_lib.enums.ResourceType Module Contents --------------- .. py:class:: HttpMethod Bases: :py:obj:`enum.StrEnum` Constants for HTTP methods. .. py:attribute:: GET :value: 'GET' .. py:attribute:: POST :value: 'POST' .. py:attribute:: PUT :value: 'PUT' .. py:attribute:: DELETE :value: 'DELETE' .. py:attribute:: PATCH :value: 'PATCH' .. py:class:: AuthType Bases: :py:obj:`enum.StrEnum` Constants for authentication types. .. py:attribute:: OAUTH2 :value: 'OAuth2' .. py:attribute:: BASIC :value: 'Basic' .. py:attribute:: API_KEY :value: 'APIKey' .. py:attribute:: BEARER :value: 'Bearer' .. py:attribute:: NO_AUTH :value: 'NoAuth' .. py:attribute:: CUSTOM :value: 'Custom' .. py:class:: ResourceType Bases: :py:obj:`enum.StrEnum` Constants for HTTP protocol. .. py:attribute:: LINKED_SERVICE :value: 'ds.resource.linked-service.http' .. py:attribute:: DATASET :value: 'ds.resource.dataset.http'