MCPcopy Create free account

hub / github.com/bundesAPI/smard-api / functions

Functions199 in github.com/bundesAPI/smard-api

↓ 81 callersMethodget
returns the value of an attribute or some default value if the attribute was not set
python-client/deutschland/smard/model_utils.py:445
↓ 10 callersMethod__new__
(cls, *args, **kwargs)
python-client/deutschland/smard/model_utils.py:205
↓ 10 callersFunctionis_json_validation_enabled
Returns true if JSON schema validation is enabled for the specified validation keyword. This can be used to skip JSON schema structural validation
python-client/deutschland/smard/model_utils.py:871
↓ 7 callersMethod__init__
Args: msg (str): the exception message Keyword Args: path_to_item (None/list) the path to the exception in t
python-client/deutschland/smard/exceptions.py:82
↓ 7 callersMethod_from_openapi_data
Indices - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types
python-client/deutschland/smard/model/indices.py:109
↓ 7 callersMethod_new_from_openapi_data
(cls, *args, **kwargs)
python-client/deutschland/smard/model_utils.py:323
↓ 7 callersMethodrequest
Perform requests. :param method: http request method :param url: http request url :param query_params: query parameters in th
python-client/deutschland/smard/rest.py:108
↓ 6 callersFunctionmodel_to_dict
Returns the model properties as a dict Args: model_instance (one of your model instances): the model instance that will be co
python-client/deutschland/smard/model_utils.py:1691
↓ 5 callersMethodsanitize_for_serialization
Prepares data for transmission before it is sent with the rest client If obj is None, return None. If obj is str, int, long, float, bo
python-client/deutschland/smard/api_client.py:279
↓ 4 callersFunctionget_simple_class
Returns an input_value's simple class that we will use for type checking Python2: float and int will return int, where int is the python3 int
python-client/deutschland/smard/model_utils.py:781
↓ 4 callersFunctionis_type_nullable
Returns true if None is an allowed value for the specified input_type. A type is nullable if at least one of the following conditions is tru
python-client/deutschland/smard/model_utils.py:1493
↓ 4 callersMethodparameters_to_tuples
Get parameters as list of tuples, formatting collections. :param params: Parameters as dict or list of two-tuples :param dict collect
python-client/deutschland/smard/api_client.py:575
↓ 4 callersFunctionrender_path
Returns a string representation of a path
python-client/deutschland/smard/exceptions.py:145
↓ 4 callersFunctionvalidate_and_convert_types
Raises a TypeError is there is a problem, otherwise returns value Args: input_value (any): the data to validate/convert required_
python-client/deutschland/smard/model_utils.py:1567
↓ 3 callersFunctionallows_single_value_input
This function returns True if the input composed schema model or any descendant model allows a value only input This is true for cases wh
python-client/deutschland/smard/model_utils.py:75
↓ 3 callersMethodcall_with_http_info
(self, **kwargs)
python-client/deutschland/smard/api_client.py:915
↓ 3 callersMethodclose
(self)
python-client/deutschland/smard/api_client.py:93
↓ 3 callersFunctionget_discriminated_classes
Returns all the classes that a discriminator converts to TODO: lru_cache this
python-client/deutschland/smard/model_utils.py:1120
↓ 3 callersFunctionget_oneof_instance
Find the oneOf schema that matches the input data (e.g. payload). If exactly one schema matches the input data, an instance of that schema
python-client/deutschland/smard/model_utils.py:1850
↓ 3 callersFunctionget_type_error
(var_value, path_to_item, valid_classes, key_type=False)
python-client/deutschland/smard/model_utils.py:1214
↓ 3 callersMethodset_attribute
(self, name, value)
python-client/deutschland/smard/model_utils.py:126
↓ 2 callersMethod__init__
(self, fn)
python-client/deutschland/smard/model_utils.py:60
↓ 2 callersMethod_apply_auth_params
( self, headers, queries, resource_path, method, body, auth_setting )
python-client/deutschland/smard/api_client.py:729
↓ 2 callersFunctionattempt_convert_item
Args: input_value (any): the data to convert valid_classes (any): the classes that are valid path_to_item (list): the pat
python-client/deutschland/smard/model_utils.py:1425
↓ 2 callersFunctioncheck_allowed_values
Raises an exception if the input_values are not allowed Args: allowed_values (dict): the allowed_values dict input_variable_path
python-client/deutschland/smard/model_utils.py:823
↓ 2 callersFunctioncheck_validations
Raises an exception if the input_values are invalid Args: validations (dict): the validation dictionary. input_variable_path (tup
python-client/deutschland/smard/model_utils.py:888
↓ 2 callersFunctiondeserialize_file
Deserializes body to file Saves response body into a file in a temporary folder, using the filename from the `Content-Disposition` header if
python-client/deutschland/smard/model_utils.py:1382
↓ 2 callersFunctionget_discriminator_class
Returns the child class specified by the discriminator. Args: model_class (OpenApiModel): the model class. discr_name (string): t
python-client/deutschland/smard/model_utils.py:1281
↓ 2 callersMethodget_file_data_and_close_file
(file_instance: io.IOBase)
python-client/deutschland/smard/api_client.py:607
↓ 2 callersMethodget_host_from_settings
Gets host URL based on the index and variables :param index: array index of the host settings :param variables: hash of variable and t
python-client/deutschland/smard/configuration.py:413
↓ 2 callersMethodgetheader
Returns a given response header.
python-client/deutschland/smard/rest.py:45
↓ 2 callersMethodgetheaders
Returns a dictionary of the response headers.
python-client/deutschland/smard/rest.py:41
↓ 2 callersFunctionlazy_import
()
python-client/deutschland/smard/model/time_series2.py:33
↓ 2 callersFunctionlazy_import
()
python-client/deutschland/smard/model/time_series2_series_inner.py:33
↓ 2 callersFunctionlazy_import
()
python-client/deutschland/smard/model/time_series.py:33
↓ 2 callersFunctionlazy_import
()
python-client/deutschland/smard/model/time_series2_series_inner_values_inner.py:33
↓ 2 callersFunctionremove_uncoercible
Only keeps the type conversions that are possible Args: required_types_classes (tuple): tuple of classes that are required
python-client/deutschland/smard/model_utils.py:1072
↓ 2 callersMethodto_dict
Returns the model properties as a dict
python-client/deutschland/smard/model_utils.py:523
↓ 2 callersFunctiontype_error_message
Keyword Args: var_value (any): the variable which has the type_error var_name (str): the name of the variable which has the typ e
python-client/deutschland/smard/model_utils.py:1768
↓ 1 callersMethodDELETE
( self, url, headers=None, query_params=None, body=None, _prel
python-client/deutschland/smard/rest.py:316
↓ 1 callersMethodGET
( self, url, headers=None, query_params=None, _preload_content=True,
python-client/deutschland/smard/rest.py:261
↓ 1 callersMethodHEAD
( self, url, headers=None, query_params=None, _preload_content=True,
python-client/deutschland/smard/rest.py:278
↓ 1 callersMethodOPTIONS
( self, url, headers=None, query_params=None, post_params=None,
python-client/deutschland/smard/rest.py:295
↓ 1 callersMethodPATCH
( self, url, headers=None, query_params=None, post_params=None,
python-client/deutschland/smard/rest.py:377
↓ 1 callersMethodPOST
( self, url, headers=None, query_params=None, post_params=None,
python-client/deutschland/smard/rest.py:335
↓ 1 callersMethodPUT
( self, url, headers=None, query_params=None, post_params=None,
python-client/deutschland/smard/rest.py:356
↓ 1 callersMethod__call_api
( self, resource_path: str, method: str, path_params: typing.Optional[typing.D
python-client/deutschland/smard/api_client.py:123
↓ 1 callersMethod__gather_params
(self, kwargs)
python-client/deutschland/smard/api_client.py:862
↓ 1 callersMethod__getitem__
get the value of an attribute using square-bracket notation: `instance[attr]`
python-client/deutschland/smard/model_utils.py:452
↓ 1 callersMethod__validate_inputs
(self, kwargs)
python-client/deutschland/smard/api_client.py:834
↓ 1 callersMethodauth_settings
Gets Auth Settings dict for api client. :return: The Auth Settings information dict.
python-client/deutschland/smard/configuration.py:380
↓ 1 callersMethodcall_api
Makes the HTTP request (synchronous) and returns deserialized data. To make an async_req request, set the async_req parameter. :para
python-client/deutschland/smard/api_client.py:363
↓ 1 callersFunctionchange_keys_js_to_python
Converts from javascript_key keys in the input_dict to python_keys in the output dict using the mapping in model_class. If the input_dict
python-client/deutschland/smard/model_utils.py:1190
↓ 1 callersFunctioncomposed_model_input_classes
This function returns a list of the possible models that can be accepted as inputs. TODO: lru_cache this
python-client/deutschland/smard/model_utils.py:97
↓ 1 callersMethoddebug
Debug status :param value: The debug status, True or False. :type: bool
python-client/deutschland/smard/configuration.py:293
↓ 1 callersMethoddeserialize
Deserializes response into an object. :param response: RESTResponse object to be deserialized. :param response_type: For the response
python-client/deutschland/smard/api_client.py:315
↓ 1 callersFunctiondeserialize_model
Deserializes model_data to model instance. Args: model_data (int/str/float/bool/none_type/list/dict): data to instantiate the model
python-client/deutschland/smard/model_utils.py:1333
↓ 1 callersFunctiondeserialize_primitive
Deserializes string to primitive type. :param data: str/int/float :param klass: str/class the class to convert to :return: int, float, s
python-client/deutschland/smard/model_utils.py:1229
↓ 1 callersMethodfiles_parameters
Builds form parameters. :param files: None or a dict with key=param_name and value is a list of open file objects :return
python-client/deutschland/smard/api_client.py:612
↓ 1 callersMethodget
returns the value of an attribute or some default value if the attribute was not set
python-client/deutschland/smard/model_utils.py:499
↓ 1 callersMethodget
returns the value of an attribute or some default value if the attribute was not set
python-client/deutschland/smard/model_utils.py:622
↓ 1 callersFunctionget_allof_instances
Args: self: the class we are handling model_args (dict): var_name to var_value used to make instances constan
python-client/deutschland/smard/model_utils.py:1807
↓ 1 callersFunctionget_anyof_instances
Args: self: the class we are handling model_args (dict): var_name to var_value The input data, e.g. the payload that
python-client/deutschland/smard/model_utils.py:1936
↓ 1 callersMethodget_default_copy
Return new instance of configuration. This method returns newly created, based on default constructor, object of Configuration class
python-client/deutschland/smard/configuration.py:248
↓ 1 callersFunctionget_discarded_args
Gathers the args that were discarded by configuration.discard_unknown_keys
python-client/deutschland/smard/model_utils.py:1980
↓ 1 callersMethodget_host_settings
Gets an array of host settings :return: An array of host settings
python-client/deutschland/smard/configuration.py:401
↓ 1 callersFunctionget_possible_classes
(cls, from_server_context)
python-client/deutschland/smard/model_utils.py:1137
↓ 1 callersFunctionget_required_type_classes
Converts the tuple required_types into a tuple and a dict described below Args: required_types_mixed (tuple/list): will contain eithe
python-client/deutschland/smard/model_utils.py:1150
↓ 1 callersFunctionget_valid_classes_phrase
Returns a string phrase describing what types are allowed
python-client/deutschland/smard/model_utils.py:1797
↓ 1 callersFunctionin_ipv4net
Test if target belongs to given IPv4 network
python-client/deutschland/smard/rest.py:411
↓ 1 callersFunctionindex_getter
(class_or_instance)
python-client/deutschland/smard/model_utils.py:1045
↓ 1 callersFunctionis_ipv4
Test if IPv4 address or not
python-client/deutschland/smard/rest.py:402
↓ 1 callersFunctionis_valid_type
Args: input_class_simple (class): the class of the input_value that we are checking valid_classes (tuple): the valid
python-client/deutschland/smard/model_utils.py:1523
↓ 1 callersFunctionorder_response_types
Returns the required types sorted in coercion order Args: required_types (list/tuple): collection of classes or instance of l
python-client/deutschland/smard/model_utils.py:1033
↓ 1 callersMethodparameters_to_multipart
Get parameters as list of tuples, formatting as json if value is collection_types :param params: Parameters as list of two-tuples :pa
python-client/deutschland/smard/api_client.py:254
↓ 1 callersMethodrequest
Makes the HTTP request using RESTClient.
python-client/deutschland/smard/api_client.py:492
↓ 1 callersMethodselect_header_accept
Returns `Accept` based on an array of accepts provided. :param accepts: List of headers. :return: Accept (e.g. application/json).
python-client/deutschland/smard/api_client.py:649
↓ 1 callersMethodselect_header_content_type
Returns `Content-Type` based on an array of content_types provided. :param content_types: List of content-types. :param method: http
python-client/deutschland/smard/api_client.py:665
↓ 1 callersFunctionshould_bypass_proxies
Yet another requests.should_bypass_proxies Test if proxies should not be used for a particular url.
python-client/deutschland/smard/rest.py:425
↓ 1 callersMethodto_dict
Returns the model properties as a dict
python-client/deutschland/smard/model_utils.py:680
↓ 1 callersMethodto_str
Returns the string representation of the model
python-client/deutschland/smard/model_utils.py:469
↓ 1 callersMethodupdate_params_for_auth
Updates header and query params based on authentication setting. :param headers: Header parameters dict to be updated. :param queries
python-client/deutschland/smard/api_client.py:690
Method__call__
This method is invoked when endpoints are called Example: api_instance = DefaultApi() api_instance.chart_data_filter_region_f
python-client/deutschland/smard/api_client.py:902
Method__contains__
used by `in` operator to check if an attribute value was set in an instance: `'attr' in instance`
python-client/deutschland/smard/model_utils.py:462
Method__contains__
used by `in` operator to check if an attribute value was set in an instance: `'attr' in instance`
python-client/deutschland/smard/model_utils.py:516
Method__contains__
used by `in` operator to check if an attribute value was set in an instance: `'attr' in instance`
python-client/deutschland/smard/model_utils.py:663
Method__copy__
(self)
python-client/deutschland/smard/model_utils.py:186
Method__deepcopy__
(self, memo)
python-client/deutschland/smard/configuration.py:213
Method__deepcopy__
(self, memo)
python-client/deutschland/smard/model_utils.py:193
Method__enter__
(self)
python-client/deutschland/smard/api_client.py:87
Method__eq__
Returns true if both objects are equal
python-client/deutschland/smard/model_utils.py:473
Method__eq__
Returns true if both objects are equal
python-client/deutschland/smard/model_utils.py:531
Method__eq__
Returns true if both objects are equal
python-client/deutschland/smard/model_utils.py:688
Method__exit__
(self, exc_type, exc_value, traceback)
python-client/deutschland/smard/api_client.py:90
Method__get__
(self, instance, cls=None)
python-client/deutschland/smard/model_utils.py:63
Method__getattr__
get the value of an attribute using dot notation: `instance.attr`
python-client/deutschland/smard/model_utils.py:182
Method__getitem__
get the value of an attribute using square-bracket notation: `instance[attr]`
python-client/deutschland/smard/model_utils.py:506
Method__getitem__
get the value of an attribute using square-bracket notation: `instance[attr]`
python-client/deutschland/smard/model_utils.py:653
Method__init__
Raises an exception for TypeErrors Args: msg (str): the exception message Keyword Args: path_to_item (list):
python-client/deutschland/smard/exceptions.py:17
Method__init__
Args: msg (str): the exception message Keyword Args: path_to_item (list) the path to the exception in the
python-client/deutschland/smard/exceptions.py:45
next →1–100 of 199, ranked by callers