Search is not available for this dataset
identifier
stringlengths
1
155
parameters
stringlengths
2
6.09k
docstring
stringlengths
11
63.4k
docstring_summary
stringlengths
0
63.4k
function
stringlengths
29
99.8k
function_tokens
list
start_point
list
end_point
list
language
stringclasses
1 value
docstring_language
stringlengths
2
7
docstring_language_predictions
stringlengths
18
23
is_langid_reliable
stringclasses
2 values
Configuration.get_default_copy
(cls)
Return new instance of configuration. This method returns newly created, based on default constructor, object of Configuration class or returns a copy of default configuration passed by the set_default method. :return: The configuration object.
Return new instance of configuration.
def get_default_copy(cls): """Return new instance of configuration. This method returns newly created, based on default constructor, object of Configuration class or returns a copy of default configuration passed by the set_default method. :return: The configuration object. ...
[ "def", "get_default_copy", "(", "cls", ")", ":", "if", "cls", ".", "_default", "is", "not", "None", ":", "return", "copy", ".", "deepcopy", "(", "cls", ".", "_default", ")", "return", "Configuration", "(", ")" ]
[ 275, 4 ]
[ 286, 30 ]
python
en
['en', 'en', 'en']
True
Configuration.logger_file
(self)
The logger file. If the logger_file is None, then add stream handler and remove file handler. Otherwise, add file handler and remove stream handler. :param value: The logger_file path. :type: str
The logger file.
def logger_file(self): """The logger file. If the logger_file is None, then add stream handler and remove file handler. Otherwise, add file handler and remove stream handler. :param value: The logger_file path. :type: str """ return self.__logger_file
[ "def", "logger_file", "(", "self", ")", ":", "return", "self", ".", "__logger_file" ]
[ 289, 4 ]
[ 298, 33 ]
python
en
['en', 'en', 'en']
True
Configuration.logger_file
(self, value)
The logger file. If the logger_file is None, then add stream handler and remove file handler. Otherwise, add file handler and remove stream handler. :param value: The logger_file path. :type: str
The logger file.
def logger_file(self, value): """The logger file. If the logger_file is None, then add stream handler and remove file handler. Otherwise, add file handler and remove stream handler. :param value: The logger_file path. :type: str """ self.__logger_file = value ...
[ "def", "logger_file", "(", "self", ",", "value", ")", ":", "self", ".", "__logger_file", "=", "value", "if", "self", ".", "__logger_file", ":", "# If set logging file,", "# then add file handler and remove stream handler.", "self", ".", "logger_file_handler", "=", "lo...
[ 301, 4 ]
[ 317, 59 ]
python
en
['en', 'en', 'en']
True
Configuration.debug
(self)
Debug status :param value: The debug status, True or False. :type: bool
Debug status
def debug(self): """Debug status :param value: The debug status, True or False. :type: bool """ return self.__debug
[ "def", "debug", "(", "self", ")", ":", "return", "self", ".", "__debug" ]
[ 320, 4 ]
[ 326, 27 ]
python
ceb
['en', 'ceb', 'sw']
False
Configuration.debug
(self, value)
Debug status :param value: The debug status, True or False. :type: bool
Debug status
def debug(self, value): """Debug status :param value: The debug status, True or False. :type: bool """ self.__debug = value if self.__debug: # if debug status is True, turn on debug logging for _, logger in six.iteritems(self.logger): ...
[ "def", "debug", "(", "self", ",", "value", ")", ":", "self", ".", "__debug", "=", "value", "if", "self", ".", "__debug", ":", "# if debug status is True, turn on debug logging", "for", "_", ",", "logger", "in", "six", ".", "iteritems", "(", "self", ".", "l...
[ 329, 4 ]
[ 348, 49 ]
python
ceb
['en', 'ceb', 'sw']
False
Configuration.logger_format
(self)
The logger format. The logger_formatter will be updated when sets logger_format. :param value: The format string. :type: str
The logger format.
def logger_format(self): """The logger format. The logger_formatter will be updated when sets logger_format. :param value: The format string. :type: str """ return self.__logger_format
[ "def", "logger_format", "(", "self", ")", ":", "return", "self", ".", "__logger_format" ]
[ 351, 4 ]
[ 359, 35 ]
python
en
['en', 'en', 'en']
True
Configuration.logger_format
(self, value)
The logger format. The logger_formatter will be updated when sets logger_format. :param value: The format string. :type: str
The logger format.
def logger_format(self, value): """The logger format. The logger_formatter will be updated when sets logger_format. :param value: The format string. :type: str """ self.__logger_format = value self.logger_formatter = logging.Formatter(self.__logger_format)
[ "def", "logger_format", "(", "self", ",", "value", ")", ":", "self", ".", "__logger_format", "=", "value", "self", ".", "logger_formatter", "=", "logging", ".", "Formatter", "(", "self", ".", "__logger_format", ")" ]
[ 362, 4 ]
[ 371, 71 ]
python
en
['en', 'en', 'en']
True
Configuration.get_api_key_with_prefix
(self, identifier, alias=None)
Gets API key (with prefix if set). :param identifier: The identifier of apiKey. :param alias: The alternative identifier of apiKey. :return: The token for api key authentication.
Gets API key (with prefix if set).
def get_api_key_with_prefix(self, identifier, alias=None): """Gets API key (with prefix if set). :param identifier: The identifier of apiKey. :param alias: The alternative identifier of apiKey. :return: The token for api key authentication. """ if self.refresh_api_key_ho...
[ "def", "get_api_key_with_prefix", "(", "self", ",", "identifier", ",", "alias", "=", "None", ")", ":", "if", "self", ".", "refresh_api_key_hook", "is", "not", "None", ":", "self", ".", "refresh_api_key_hook", "(", "self", ")", "key", "=", "self", ".", "api...
[ 373, 4 ]
[ 388, 26 ]
python
en
['en', 'pl', 'en']
True
Configuration.get_basic_auth_token
(self)
Gets HTTP basic authentication header (string). :return: The token for basic HTTP authentication.
Gets HTTP basic authentication header (string).
def get_basic_auth_token(self): """Gets HTTP basic authentication header (string). :return: The token for basic HTTP authentication. """ username = "" if self.username is not None: username = self.username password = "" if self.password is not None: ...
[ "def", "get_basic_auth_token", "(", "self", ")", ":", "username", "=", "\"\"", "if", "self", ".", "username", "is", "not", "None", ":", "username", "=", "self", ".", "username", "password", "=", "\"\"", "if", "self", ".", "password", "is", "not", "None",...
[ 390, 4 ]
[ 403, 30 ]
python
en
['en', 'en', 'en']
True
Configuration.auth_settings
(self)
Gets Auth Settings dict for api client. :return: The Auth Settings information dict.
Gets Auth Settings dict for api client.
def auth_settings(self): """Gets Auth Settings dict for api client. :return: The Auth Settings information dict. """ auth = {} if 'api_key' in self.api_key: auth['api_key'] = { 'type': 'api_key', 'in': 'header', 'key': ...
[ "def", "auth_settings", "(", "self", ")", ":", "auth", "=", "{", "}", "if", "'api_key'", "in", "self", ".", "api_key", ":", "auth", "[", "'api_key'", "]", "=", "{", "'type'", ":", "'api_key'", ",", "'in'", ":", "'header'", ",", "'key'", ":", "'api_ke...
[ 405, 4 ]
[ 443, 19 ]
python
en
['en', 'en', 'en']
True
Configuration.to_debug_report
(self)
Gets the essential information for debugging. :return: The report for debugging.
Gets the essential information for debugging.
def to_debug_report(self): """Gets the essential information for debugging. :return: The report for debugging. """ return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 1.0.0\n"\ ...
[ "def", "to_debug_report", "(", "self", ")", ":", "return", "\"Python SDK Debug Report:\\n\"", "\"OS: {env}\\n\"", "\"Python Version: {pyversion}\\n\"", "\"Version of the API: 1.0.0\\n\"", "\"SDK Package Version: 1.0.0\"", ".", "format", "(", "env", "=", "sys", ".", "platform", ...
[ 445, 4 ]
[ 455, 62 ]
python
en
['en', 'en', 'en']
True
Configuration.get_host_settings
(self)
Gets an array of host settings :return: An array of host settings
Gets an array of host settings
def get_host_settings(self): """Gets an array of host settings :return: An array of host settings """ return [ { 'url': "http://petstore.swagger.io:80/v2", 'description': "No description provided", } ]
[ "def", "get_host_settings", "(", "self", ")", ":", "return", "[", "{", "'url'", ":", "\"http://petstore.swagger.io:80/v2\"", ",", "'description'", ":", "\"No description provided\"", ",", "}", "]" ]
[ 457, 4 ]
[ 467, 9 ]
python
en
['en', 'en', 'en']
True
Configuration.get_host_from_settings
(self, index, variables=None, servers=None)
Gets host URL based on the index and variables :param index: array index of the host settings :param variables: hash of variable and the corresponding value :param servers: an array of host settings or None :return: URL based on host settings
Gets host URL based on the index and variables :param index: array index of the host settings :param variables: hash of variable and the corresponding value :param servers: an array of host settings or None :return: URL based on host settings
def get_host_from_settings(self, index, variables=None, servers=None): """Gets host URL based on the index and variables :param index: array index of the host settings :param variables: hash of variable and the corresponding value :param servers: an array of host settings or None ...
[ "def", "get_host_from_settings", "(", "self", ",", "index", ",", "variables", "=", "None", ",", "servers", "=", "None", ")", ":", "if", "index", "is", "None", ":", "return", "self", ".", "_base_path", "variables", "=", "{", "}", "if", "variables", "is", ...
[ 469, 4 ]
[ 506, 18 ]
python
en
['en', 'en', 'en']
True
Configuration.host
(self)
Return generated host.
Return generated host.
def host(self): """Return generated host.""" return self.get_host_from_settings(self.server_index, variables=self.server_variables)
[ "def", "host", "(", "self", ")", ":", "return", "self", ".", "get_host_from_settings", "(", "self", ".", "server_index", ",", "variables", "=", "self", ".", "server_variables", ")" ]
[ 509, 4 ]
[ 511, 94 ]
python
en
['nl', 'la', 'en']
False
Configuration.host
(self, value)
Fix base path.
Fix base path.
def host(self, value): """Fix base path.""" self._base_path = value self.server_index = None
[ "def", "host", "(", "self", ",", "value", ")", ":", "self", ".", "_base_path", "=", "value", "self", ".", "server_index", "=", "None" ]
[ 514, 4 ]
[ 517, 32 ]
python
en
['en', 'ht', 'en']
True
setup
(**attrs)
The gateway to the Distutils: do everything your setup script needs to do, in a highly flexible and user-driven way. Briefly: create a Distribution instance; find and parse config files; parse the command line; run each Distutils command found there, customized by the options supplied to 'setup()' (as ...
The gateway to the Distutils: do everything your setup script needs to do, in a highly flexible and user-driven way. Briefly: create a Distribution instance; find and parse config files; parse the command line; run each Distutils command found there, customized by the options supplied to 'setup()' (as ...
def setup (**attrs): """The gateway to the Distutils: do everything your setup script needs to do, in a highly flexible and user-driven way. Briefly: create a Distribution instance; find and parse config files; parse the command line; run each Distutils command found there, customized by the options ...
[ "def", "setup", "(", "*", "*", "attrs", ")", ":", "global", "_setup_stop_after", ",", "_setup_distribution", "# Determine the distribution class -- either caller-supplied or", "# our Distribution (see below).", "klass", "=", "attrs", ".", "get", "(", "'distclass'", ")", "...
[ 56, 0 ]
[ 164, 15 ]
python
en
['en', 'en', 'en']
True
run_setup
(script_name, script_args=None, stop_after="run")
Run a setup script in a somewhat controlled environment, and return the Distribution instance that drives things. This is useful if you need to find out the distribution meta-data (passed as keyword args from 'script' to 'setup()', or the contents of the config files or command-line. 'script_name'...
Run a setup script in a somewhat controlled environment, and return the Distribution instance that drives things. This is useful if you need to find out the distribution meta-data (passed as keyword args from 'script' to 'setup()', or the contents of the config files or command-line.
def run_setup (script_name, script_args=None, stop_after="run"): """Run a setup script in a somewhat controlled environment, and return the Distribution instance that drives things. This is useful if you need to find out the distribution meta-data (passed as keyword args from 'script' to 'setup()', or ...
[ "def", "run_setup", "(", "script_name", ",", "script_args", "=", "None", ",", "stop_after", "=", "\"run\"", ")", ":", "if", "stop_after", "not", "in", "(", "'init'", ",", "'config'", ",", "'commandline'", ",", "'run'", ")", ":", "raise", "ValueError", "(",...
[ 169, 0 ]
[ 231, 30 ]
python
en
['en', 'en', 'en']
True
fixture_scanner
(hass)
Fixture for scanner.
Fixture for scanner.
def fixture_scanner(hass): """Fixture for scanner.""" devices = [BLEDevice("1.1.1.1", "COOKERHOOD_FJAR")] class MockScanner(BaseBleakScanner): """Mock Scanner.""" async def start(self): """Start scanning for devices.""" for device in devices: self._...
[ "def", "fixture_scanner", "(", "hass", ")", ":", "devices", "=", "[", "BLEDevice", "(", "\"1.1.1.1\"", ",", "\"COOKERHOOD_FJAR\"", ")", "]", "class", "MockScanner", "(", "BaseBleakScanner", ")", ":", "\"\"\"Mock Scanner.\"\"\"", "async", "def", "start", "(", "se...
[ 11, 0 ]
[ 40, 21 ]
python
en
['en', 'en', 'en']
True
register_flow_implementation
( hass, domain, client_id, client_secret, api_key, redirect_uri, sensors )
Register a flow implementation. domain: Domain of the component responsible for the implementation. client_id: Client ID. client_secret: Client secret. api_key: API key issued by Logitech. redirect_uri: Auth callback redirect URI. sensors: Sensor config.
Register a flow implementation.
def register_flow_implementation( hass, domain, client_id, client_secret, api_key, redirect_uri, sensors ): """Register a flow implementation. domain: Domain of the component responsible for the implementation. client_id: Client ID. client_secret: Client secret. api_key: API key issued by Logit...
[ "def", "register_flow_implementation", "(", "hass", ",", "domain", ",", "client_id", ",", "client_secret", ",", "api_key", ",", "redirect_uri", ",", "sensors", ")", ":", "if", "DATA_FLOW_IMPL", "not", "in", "hass", ".", "data", ":", "hass", ".", "data", "[",...
[ 31, 0 ]
[ 53, 5 ]
python
en
['en', 'da', 'en']
True
LogiCircleFlowHandler.__init__
(self)
Initialize flow.
Initialize flow.
def __init__(self): """Initialize flow.""" self.flow_impl = None
[ "def", "__init__", "(", "self", ")", ":", "self", ".", "flow_impl", "=", "None" ]
[ 61, 4 ]
[ 63, 29 ]
python
en
['en', 'pl', 'en']
False
LogiCircleFlowHandler.async_step_import
(self, user_input=None)
Handle external yaml configuration.
Handle external yaml configuration.
async def async_step_import(self, user_input=None): """Handle external yaml configuration.""" self._async_abort_entries_match() self.flow_impl = DOMAIN return await self.async_step_auth()
[ "async", "def", "async_step_import", "(", "self", ",", "user_input", "=", "None", ")", ":", "self", ".", "_async_abort_entries_match", "(", ")", "self", ".", "flow_impl", "=", "DOMAIN", "return", "await", "self", ".", "async_step_auth", "(", ")" ]
[ 65, 4 ]
[ 71, 43 ]
python
en
['tr', 'xh', 'en']
False
LogiCircleFlowHandler.async_step_user
(self, user_input=None)
Handle a flow start.
Handle a flow start.
async def async_step_user(self, user_input=None): """Handle a flow start.""" flows = self.hass.data.get(DATA_FLOW_IMPL, {}) self._async_abort_entries_match() if not flows: return self.async_abort(reason="missing_configuration") if len(flows) == 1: self....
[ "async", "def", "async_step_user", "(", "self", ",", "user_input", "=", "None", ")", ":", "flows", "=", "self", ".", "hass", ".", "data", ".", "get", "(", "DATA_FLOW_IMPL", ",", "{", "}", ")", "self", ".", "_async_abort_entries_match", "(", ")", "if", ...
[ 73, 4 ]
[ 93, 9 ]
python
en
['en', 'lb', 'en']
True
LogiCircleFlowHandler.async_step_auth
(self, user_input=None)
Create an entry for auth.
Create an entry for auth.
async def async_step_auth(self, user_input=None): """Create an entry for auth.""" if self._async_current_entries(): return self.async_abort(reason="external_setup") external_error = self.hass.data[DATA_FLOW_IMPL][DOMAIN][EXTERNAL_ERRORS] errors = {} if external_error...
[ "async", "def", "async_step_auth", "(", "self", ",", "user_input", "=", "None", ")", ":", "if", "self", ".", "_async_current_entries", "(", ")", ":", "return", "self", ".", "async_abort", "(", "reason", "=", "\"external_setup\"", ")", "external_error", "=", ...
[ 95, 4 ]
[ 115, 9 ]
python
en
['en', 'en', 'en']
True
LogiCircleFlowHandler._get_authorization_url
(self)
Create temporary Circle session and generate authorization url.
Create temporary Circle session and generate authorization url.
def _get_authorization_url(self): """Create temporary Circle session and generate authorization url.""" flow = self.hass.data[DATA_FLOW_IMPL][self.flow_impl] client_id = flow[CONF_CLIENT_ID] client_secret = flow[CONF_CLIENT_SECRET] api_key = flow[CONF_API_KEY] redirect_ur...
[ "def", "_get_authorization_url", "(", "self", ")", ":", "flow", "=", "self", ".", "hass", ".", "data", "[", "DATA_FLOW_IMPL", "]", "[", "self", ".", "flow_impl", "]", "client_id", "=", "flow", "[", "CONF_CLIENT_ID", "]", "client_secret", "=", "flow", "[", ...
[ 117, 4 ]
[ 134, 41 ]
python
en
['en', 'en', 'en']
True
LogiCircleFlowHandler.async_step_code
(self, code=None)
Received code for authentication.
Received code for authentication.
async def async_step_code(self, code=None): """Received code for authentication.""" self._async_abort_entries_match() return await self._async_create_session(code)
[ "async", "def", "async_step_code", "(", "self", ",", "code", "=", "None", ")", ":", "self", ".", "_async_abort_entries_match", "(", ")", "return", "await", "self", ".", "_async_create_session", "(", "code", ")" ]
[ 136, 4 ]
[ 140, 53 ]
python
en
['da', 'en', 'en']
True
LogiCircleFlowHandler._async_create_session
(self, code)
Create Logi Circle session and entries.
Create Logi Circle session and entries.
async def _async_create_session(self, code): """Create Logi Circle session and entries.""" flow = self.hass.data[DATA_FLOW_IMPL][DOMAIN] client_id = flow[CONF_CLIENT_ID] client_secret = flow[CONF_CLIENT_SECRET] api_key = flow[CONF_API_KEY] redirect_uri = flow[CONF_REDIREC...
[ "async", "def", "_async_create_session", "(", "self", ",", "code", ")", ":", "flow", "=", "self", ".", "hass", ".", "data", "[", "DATA_FLOW_IMPL", "]", "[", "DOMAIN", "]", "client_id", "=", "flow", "[", "CONF_CLIENT_ID", "]", "client_secret", "=", "flow", ...
[ 142, 4 ]
[ 182, 9 ]
python
en
['en', 'sm', 'en']
True
LogiCircleAuthCallbackView.get
(self, request)
Receive authorization code.
Receive authorization code.
async def get(self, request): """Receive authorization code.""" hass = request.app["hass"] if "code" in request.query: hass.async_create_task( hass.config_entries.flow.async_init( DOMAIN, context={"source": "code"}, data=request.query["code"] ...
[ "async", "def", "get", "(", "self", ",", "request", ")", ":", "hass", "=", "request", ".", "app", "[", "\"hass\"", "]", "if", "\"code\"", "in", "request", ".", "query", ":", "hass", ".", "async_create_task", "(", "hass", ".", "config_entries", ".", "fl...
[ 192, 4 ]
[ 204, 9 ]
python
de
['de', 'sr', 'en']
False
async_setup
(hass: HomeAssistant, config: ConfigType)
Set up the Intent component.
Set up the Intent component.
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: """Set up the Intent component.""" hass.http.register_view(IntentHandleView()) await integration_platform.async_process_integration_platforms( hass, DOMAIN, _async_process_intent ) hass.helpers.intent.async_register( ...
[ "async", "def", "async_setup", "(", "hass", ":", "HomeAssistant", ",", "config", ":", "ConfigType", ")", "->", "bool", ":", "hass", ".", "http", ".", "register_view", "(", "IntentHandleView", "(", ")", ")", "await", "integration_platform", ".", "async_process_...
[ 13, 0 ]
[ 37, 15 ]
python
en
['en', 'en', 'en']
True
_async_process_intent
(hass: HomeAssistant, domain: str, platform)
Process the intents of an integration.
Process the intents of an integration.
async def _async_process_intent(hass: HomeAssistant, domain: str, platform): """Process the intents of an integration.""" await platform.async_setup_intents(hass)
[ "async", "def", "_async_process_intent", "(", "hass", ":", "HomeAssistant", ",", "domain", ":", "str", ",", "platform", ")", ":", "await", "platform", ".", "async_setup_intents", "(", "hass", ")" ]
[ 40, 0 ]
[ 42, 44 ]
python
en
['en', 'en', 'en']
True
IntentHandleView.post
(self, request, data)
Handle intent with name/data.
Handle intent with name/data.
async def post(self, request, data): """Handle intent with name/data.""" hass = request.app["hass"] try: intent_name = data["name"] slots = { key: {"value": value} for key, value in data.get("data", {}).items() } intent_result = aw...
[ "async", "def", "post", "(", "self", ",", "request", ",", "data", ")", ":", "hass", "=", "request", ".", "app", "[", "\"hass\"", "]", "try", ":", "intent_name", "=", "data", "[", "\"name\"", "]", "slots", "=", "{", "key", ":", "{", "\"value\"", ":"...
[ 59, 4 ]
[ 79, 39 ]
python
en
['en', 'en', 'en']
True
XmlItem.__init__
(self, attribute_string=None, attribute_number=None, attribute_integer=None, attribute_boolean=None, wrapped_array=None, name_string=None, name_number=None, name_integer=None, name_boolean=None, name_array=None, name_wrapped_array=None, prefix_string=None, prefix_number=None, prefix_integer=None, prefix_boolean=None, p...
XmlItem - a model defined in OpenAPI
XmlItem - a model defined in OpenAPI
def __init__(self, attribute_string=None, attribute_number=None, attribute_integer=None, attribute_boolean=None, wrapped_array=None, name_string=None, name_number=None, name_integer=None, name_boolean=None, name_array=None, name_wrapped_array=None, prefix_string=None, prefix_number=None, prefix_integer=None, prefix_boo...
[ "def", "__init__", "(", "self", ",", "attribute_string", "=", "None", ",", "attribute_number", "=", "None", ",", "attribute_integer", "=", "None", ",", "attribute_boolean", "=", "None", ",", "wrapped_array", "=", "None", ",", "name_string", "=", "None", ",", ...
[ 98, 4 ]
[ 192, 66 ]
python
en
['en', 'fy', 'en']
True
XmlItem.attribute_string
(self)
Gets the attribute_string of this XmlItem. # noqa: E501 :return: The attribute_string of this XmlItem. # noqa: E501 :rtype: str
Gets the attribute_string of this XmlItem. # noqa: E501
def attribute_string(self): """Gets the attribute_string of this XmlItem. # noqa: E501 :return: The attribute_string of this XmlItem. # noqa: E501 :rtype: str """ return self._attribute_string
[ "def", "attribute_string", "(", "self", ")", ":", "return", "self", ".", "_attribute_string" ]
[ 195, 4 ]
[ 202, 37 ]
python
en
['en', 'en', 'en']
True
XmlItem.attribute_string
(self, attribute_string)
Sets the attribute_string of this XmlItem. :param attribute_string: The attribute_string of this XmlItem. # noqa: E501 :type attribute_string: str
Sets the attribute_string of this XmlItem.
def attribute_string(self, attribute_string): """Sets the attribute_string of this XmlItem. :param attribute_string: The attribute_string of this XmlItem. # noqa: E501 :type attribute_string: str """ self._attribute_string = attribute_string
[ "def", "attribute_string", "(", "self", ",", "attribute_string", ")", ":", "self", ".", "_attribute_string", "=", "attribute_string" ]
[ 205, 4 ]
[ 213, 49 ]
python
en
['en', 'en', 'en']
True
XmlItem.attribute_number
(self)
Gets the attribute_number of this XmlItem. # noqa: E501 :return: The attribute_number of this XmlItem. # noqa: E501 :rtype: float
Gets the attribute_number of this XmlItem. # noqa: E501
def attribute_number(self): """Gets the attribute_number of this XmlItem. # noqa: E501 :return: The attribute_number of this XmlItem. # noqa: E501 :rtype: float """ return self._attribute_number
[ "def", "attribute_number", "(", "self", ")", ":", "return", "self", ".", "_attribute_number" ]
[ 216, 4 ]
[ 223, 37 ]
python
en
['en', 'en', 'en']
True
XmlItem.attribute_number
(self, attribute_number)
Sets the attribute_number of this XmlItem. :param attribute_number: The attribute_number of this XmlItem. # noqa: E501 :type attribute_number: float
Sets the attribute_number of this XmlItem.
def attribute_number(self, attribute_number): """Sets the attribute_number of this XmlItem. :param attribute_number: The attribute_number of this XmlItem. # noqa: E501 :type attribute_number: float """ self._attribute_number = attribute_number
[ "def", "attribute_number", "(", "self", ",", "attribute_number", ")", ":", "self", ".", "_attribute_number", "=", "attribute_number" ]
[ 226, 4 ]
[ 234, 49 ]
python
en
['en', 'en', 'en']
True
XmlItem.attribute_integer
(self)
Gets the attribute_integer of this XmlItem. # noqa: E501 :return: The attribute_integer of this XmlItem. # noqa: E501 :rtype: int
Gets the attribute_integer of this XmlItem. # noqa: E501
def attribute_integer(self): """Gets the attribute_integer of this XmlItem. # noqa: E501 :return: The attribute_integer of this XmlItem. # noqa: E501 :rtype: int """ return self._attribute_integer
[ "def", "attribute_integer", "(", "self", ")", ":", "return", "self", ".", "_attribute_integer" ]
[ 237, 4 ]
[ 244, 38 ]
python
en
['en', 'ca', 'en']
True
XmlItem.attribute_integer
(self, attribute_integer)
Sets the attribute_integer of this XmlItem. :param attribute_integer: The attribute_integer of this XmlItem. # noqa: E501 :type attribute_integer: int
Sets the attribute_integer of this XmlItem.
def attribute_integer(self, attribute_integer): """Sets the attribute_integer of this XmlItem. :param attribute_integer: The attribute_integer of this XmlItem. # noqa: E501 :type attribute_integer: int """ self._attribute_integer = attribute_integer
[ "def", "attribute_integer", "(", "self", ",", "attribute_integer", ")", ":", "self", ".", "_attribute_integer", "=", "attribute_integer" ]
[ 247, 4 ]
[ 255, 51 ]
python
en
['en', 'en', 'en']
True
XmlItem.attribute_boolean
(self)
Gets the attribute_boolean of this XmlItem. # noqa: E501 :return: The attribute_boolean of this XmlItem. # noqa: E501 :rtype: bool
Gets the attribute_boolean of this XmlItem. # noqa: E501
def attribute_boolean(self): """Gets the attribute_boolean of this XmlItem. # noqa: E501 :return: The attribute_boolean of this XmlItem. # noqa: E501 :rtype: bool """ return self._attribute_boolean
[ "def", "attribute_boolean", "(", "self", ")", ":", "return", "self", ".", "_attribute_boolean" ]
[ 258, 4 ]
[ 265, 38 ]
python
en
['en', 'la', 'en']
True
XmlItem.attribute_boolean
(self, attribute_boolean)
Sets the attribute_boolean of this XmlItem. :param attribute_boolean: The attribute_boolean of this XmlItem. # noqa: E501 :type attribute_boolean: bool
Sets the attribute_boolean of this XmlItem.
def attribute_boolean(self, attribute_boolean): """Sets the attribute_boolean of this XmlItem. :param attribute_boolean: The attribute_boolean of this XmlItem. # noqa: E501 :type attribute_boolean: bool """ self._attribute_boolean = attribute_boolean
[ "def", "attribute_boolean", "(", "self", ",", "attribute_boolean", ")", ":", "self", ".", "_attribute_boolean", "=", "attribute_boolean" ]
[ 268, 4 ]
[ 276, 51 ]
python
en
['en', 'en', 'en']
True
XmlItem.wrapped_array
(self)
Gets the wrapped_array of this XmlItem. # noqa: E501 :return: The wrapped_array of this XmlItem. # noqa: E501 :rtype: list[int]
Gets the wrapped_array of this XmlItem. # noqa: E501
def wrapped_array(self): """Gets the wrapped_array of this XmlItem. # noqa: E501 :return: The wrapped_array of this XmlItem. # noqa: E501 :rtype: list[int] """ return self._wrapped_array
[ "def", "wrapped_array", "(", "self", ")", ":", "return", "self", ".", "_wrapped_array" ]
[ 279, 4 ]
[ 286, 34 ]
python
en
['en', 'pt', 'en']
True
XmlItem.wrapped_array
(self, wrapped_array)
Sets the wrapped_array of this XmlItem. :param wrapped_array: The wrapped_array of this XmlItem. # noqa: E501 :type wrapped_array: list[int]
Sets the wrapped_array of this XmlItem.
def wrapped_array(self, wrapped_array): """Sets the wrapped_array of this XmlItem. :param wrapped_array: The wrapped_array of this XmlItem. # noqa: E501 :type wrapped_array: list[int] """ self._wrapped_array = wrapped_array
[ "def", "wrapped_array", "(", "self", ",", "wrapped_array", ")", ":", "self", ".", "_wrapped_array", "=", "wrapped_array" ]
[ 289, 4 ]
[ 297, 43 ]
python
en
['en', 'en', 'en']
True
XmlItem.name_string
(self)
Gets the name_string of this XmlItem. # noqa: E501 :return: The name_string of this XmlItem. # noqa: E501 :rtype: str
Gets the name_string of this XmlItem. # noqa: E501
def name_string(self): """Gets the name_string of this XmlItem. # noqa: E501 :return: The name_string of this XmlItem. # noqa: E501 :rtype: str """ return self._name_string
[ "def", "name_string", "(", "self", ")", ":", "return", "self", ".", "_name_string" ]
[ 300, 4 ]
[ 307, 32 ]
python
en
['en', 'pt', 'en']
True
XmlItem.name_string
(self, name_string)
Sets the name_string of this XmlItem. :param name_string: The name_string of this XmlItem. # noqa: E501 :type name_string: str
Sets the name_string of this XmlItem.
def name_string(self, name_string): """Sets the name_string of this XmlItem. :param name_string: The name_string of this XmlItem. # noqa: E501 :type name_string: str """ self._name_string = name_string
[ "def", "name_string", "(", "self", ",", "name_string", ")", ":", "self", ".", "_name_string", "=", "name_string" ]
[ 310, 4 ]
[ 318, 39 ]
python
en
['en', 'en', 'en']
True
XmlItem.name_number
(self)
Gets the name_number of this XmlItem. # noqa: E501 :return: The name_number of this XmlItem. # noqa: E501 :rtype: float
Gets the name_number of this XmlItem. # noqa: E501
def name_number(self): """Gets the name_number of this XmlItem. # noqa: E501 :return: The name_number of this XmlItem. # noqa: E501 :rtype: float """ return self._name_number
[ "def", "name_number", "(", "self", ")", ":", "return", "self", ".", "_name_number" ]
[ 321, 4 ]
[ 328, 32 ]
python
en
['en', 'en', 'en']
True
XmlItem.name_number
(self, name_number)
Sets the name_number of this XmlItem. :param name_number: The name_number of this XmlItem. # noqa: E501 :type name_number: float
Sets the name_number of this XmlItem.
def name_number(self, name_number): """Sets the name_number of this XmlItem. :param name_number: The name_number of this XmlItem. # noqa: E501 :type name_number: float """ self._name_number = name_number
[ "def", "name_number", "(", "self", ",", "name_number", ")", ":", "self", ".", "_name_number", "=", "name_number" ]
[ 331, 4 ]
[ 339, 39 ]
python
en
['en', 'en', 'en']
True
XmlItem.name_integer
(self)
Gets the name_integer of this XmlItem. # noqa: E501 :return: The name_integer of this XmlItem. # noqa: E501 :rtype: int
Gets the name_integer of this XmlItem. # noqa: E501
def name_integer(self): """Gets the name_integer of this XmlItem. # noqa: E501 :return: The name_integer of this XmlItem. # noqa: E501 :rtype: int """ return self._name_integer
[ "def", "name_integer", "(", "self", ")", ":", "return", "self", ".", "_name_integer" ]
[ 342, 4 ]
[ 349, 33 ]
python
en
['en', 'ca', 'en']
True
XmlItem.name_integer
(self, name_integer)
Sets the name_integer of this XmlItem. :param name_integer: The name_integer of this XmlItem. # noqa: E501 :type name_integer: int
Sets the name_integer of this XmlItem.
def name_integer(self, name_integer): """Sets the name_integer of this XmlItem. :param name_integer: The name_integer of this XmlItem. # noqa: E501 :type name_integer: int """ self._name_integer = name_integer
[ "def", "name_integer", "(", "self", ",", "name_integer", ")", ":", "self", ".", "_name_integer", "=", "name_integer" ]
[ 352, 4 ]
[ 360, 41 ]
python
en
['en', 'en', 'en']
True
XmlItem.name_boolean
(self)
Gets the name_boolean of this XmlItem. # noqa: E501 :return: The name_boolean of this XmlItem. # noqa: E501 :rtype: bool
Gets the name_boolean of this XmlItem. # noqa: E501
def name_boolean(self): """Gets the name_boolean of this XmlItem. # noqa: E501 :return: The name_boolean of this XmlItem. # noqa: E501 :rtype: bool """ return self._name_boolean
[ "def", "name_boolean", "(", "self", ")", ":", "return", "self", ".", "_name_boolean" ]
[ 363, 4 ]
[ 370, 33 ]
python
en
['en', 'en', 'en']
True
XmlItem.name_boolean
(self, name_boolean)
Sets the name_boolean of this XmlItem. :param name_boolean: The name_boolean of this XmlItem. # noqa: E501 :type name_boolean: bool
Sets the name_boolean of this XmlItem.
def name_boolean(self, name_boolean): """Sets the name_boolean of this XmlItem. :param name_boolean: The name_boolean of this XmlItem. # noqa: E501 :type name_boolean: bool """ self._name_boolean = name_boolean
[ "def", "name_boolean", "(", "self", ",", "name_boolean", ")", ":", "self", ".", "_name_boolean", "=", "name_boolean" ]
[ 373, 4 ]
[ 381, 41 ]
python
en
['en', 'en', 'en']
True
XmlItem.name_array
(self)
Gets the name_array of this XmlItem. # noqa: E501 :return: The name_array of this XmlItem. # noqa: E501 :rtype: list[int]
Gets the name_array of this XmlItem. # noqa: E501
def name_array(self): """Gets the name_array of this XmlItem. # noqa: E501 :return: The name_array of this XmlItem. # noqa: E501 :rtype: list[int] """ return self._name_array
[ "def", "name_array", "(", "self", ")", ":", "return", "self", ".", "_name_array" ]
[ 384, 4 ]
[ 391, 31 ]
python
en
['en', 'pt', 'en']
True
XmlItem.name_array
(self, name_array)
Sets the name_array of this XmlItem. :param name_array: The name_array of this XmlItem. # noqa: E501 :type name_array: list[int]
Sets the name_array of this XmlItem.
def name_array(self, name_array): """Sets the name_array of this XmlItem. :param name_array: The name_array of this XmlItem. # noqa: E501 :type name_array: list[int] """ self._name_array = name_array
[ "def", "name_array", "(", "self", ",", "name_array", ")", ":", "self", ".", "_name_array", "=", "name_array" ]
[ 394, 4 ]
[ 402, 37 ]
python
en
['en', 'en', 'en']
True
XmlItem.name_wrapped_array
(self)
Gets the name_wrapped_array of this XmlItem. # noqa: E501 :return: The name_wrapped_array of this XmlItem. # noqa: E501 :rtype: list[int]
Gets the name_wrapped_array of this XmlItem. # noqa: E501
def name_wrapped_array(self): """Gets the name_wrapped_array of this XmlItem. # noqa: E501 :return: The name_wrapped_array of this XmlItem. # noqa: E501 :rtype: list[int] """ return self._name_wrapped_array
[ "def", "name_wrapped_array", "(", "self", ")", ":", "return", "self", ".", "_name_wrapped_array" ]
[ 405, 4 ]
[ 412, 39 ]
python
en
['en', 'pt', 'en']
True
XmlItem.name_wrapped_array
(self, name_wrapped_array)
Sets the name_wrapped_array of this XmlItem. :param name_wrapped_array: The name_wrapped_array of this XmlItem. # noqa: E501 :type name_wrapped_array: list[int]
Sets the name_wrapped_array of this XmlItem.
def name_wrapped_array(self, name_wrapped_array): """Sets the name_wrapped_array of this XmlItem. :param name_wrapped_array: The name_wrapped_array of this XmlItem. # noqa: E501 :type name_wrapped_array: list[int] """ self._name_wrapped_array = name_wrapped_array
[ "def", "name_wrapped_array", "(", "self", ",", "name_wrapped_array", ")", ":", "self", ".", "_name_wrapped_array", "=", "name_wrapped_array" ]
[ 415, 4 ]
[ 423, 53 ]
python
en
['en', 'en', 'en']
True
XmlItem.prefix_string
(self)
Gets the prefix_string of this XmlItem. # noqa: E501 :return: The prefix_string of this XmlItem. # noqa: E501 :rtype: str
Gets the prefix_string of this XmlItem. # noqa: E501
def prefix_string(self): """Gets the prefix_string of this XmlItem. # noqa: E501 :return: The prefix_string of this XmlItem. # noqa: E501 :rtype: str """ return self._prefix_string
[ "def", "prefix_string", "(", "self", ")", ":", "return", "self", ".", "_prefix_string" ]
[ 426, 4 ]
[ 433, 34 ]
python
en
['en', 'ca', 'en']
True
XmlItem.prefix_string
(self, prefix_string)
Sets the prefix_string of this XmlItem. :param prefix_string: The prefix_string of this XmlItem. # noqa: E501 :type prefix_string: str
Sets the prefix_string of this XmlItem.
def prefix_string(self, prefix_string): """Sets the prefix_string of this XmlItem. :param prefix_string: The prefix_string of this XmlItem. # noqa: E501 :type prefix_string: str """ self._prefix_string = prefix_string
[ "def", "prefix_string", "(", "self", ",", "prefix_string", ")", ":", "self", ".", "_prefix_string", "=", "prefix_string" ]
[ 436, 4 ]
[ 444, 43 ]
python
en
['en', 'en', 'en']
True
XmlItem.prefix_number
(self)
Gets the prefix_number of this XmlItem. # noqa: E501 :return: The prefix_number of this XmlItem. # noqa: E501 :rtype: float
Gets the prefix_number of this XmlItem. # noqa: E501
def prefix_number(self): """Gets the prefix_number of this XmlItem. # noqa: E501 :return: The prefix_number of this XmlItem. # noqa: E501 :rtype: float """ return self._prefix_number
[ "def", "prefix_number", "(", "self", ")", ":", "return", "self", ".", "_prefix_number" ]
[ 447, 4 ]
[ 454, 34 ]
python
en
['en', 'ca', 'en']
True
XmlItem.prefix_number
(self, prefix_number)
Sets the prefix_number of this XmlItem. :param prefix_number: The prefix_number of this XmlItem. # noqa: E501 :type prefix_number: float
Sets the prefix_number of this XmlItem.
def prefix_number(self, prefix_number): """Sets the prefix_number of this XmlItem. :param prefix_number: The prefix_number of this XmlItem. # noqa: E501 :type prefix_number: float """ self._prefix_number = prefix_number
[ "def", "prefix_number", "(", "self", ",", "prefix_number", ")", ":", "self", ".", "_prefix_number", "=", "prefix_number" ]
[ 457, 4 ]
[ 465, 43 ]
python
en
['en', 'en', 'en']
True
XmlItem.prefix_integer
(self)
Gets the prefix_integer of this XmlItem. # noqa: E501 :return: The prefix_integer of this XmlItem. # noqa: E501 :rtype: int
Gets the prefix_integer of this XmlItem. # noqa: E501
def prefix_integer(self): """Gets the prefix_integer of this XmlItem. # noqa: E501 :return: The prefix_integer of this XmlItem. # noqa: E501 :rtype: int """ return self._prefix_integer
[ "def", "prefix_integer", "(", "self", ")", ":", "return", "self", ".", "_prefix_integer" ]
[ 468, 4 ]
[ 475, 35 ]
python
en
['en', 'ca', 'en']
True
XmlItem.prefix_integer
(self, prefix_integer)
Sets the prefix_integer of this XmlItem. :param prefix_integer: The prefix_integer of this XmlItem. # noqa: E501 :type prefix_integer: int
Sets the prefix_integer of this XmlItem.
def prefix_integer(self, prefix_integer): """Sets the prefix_integer of this XmlItem. :param prefix_integer: The prefix_integer of this XmlItem. # noqa: E501 :type prefix_integer: int """ self._prefix_integer = prefix_integer
[ "def", "prefix_integer", "(", "self", ",", "prefix_integer", ")", ":", "self", ".", "_prefix_integer", "=", "prefix_integer" ]
[ 478, 4 ]
[ 486, 45 ]
python
en
['en', 'ca', 'en']
True
XmlItem.prefix_boolean
(self)
Gets the prefix_boolean of this XmlItem. # noqa: E501 :return: The prefix_boolean of this XmlItem. # noqa: E501 :rtype: bool
Gets the prefix_boolean of this XmlItem. # noqa: E501
def prefix_boolean(self): """Gets the prefix_boolean of this XmlItem. # noqa: E501 :return: The prefix_boolean of this XmlItem. # noqa: E501 :rtype: bool """ return self._prefix_boolean
[ "def", "prefix_boolean", "(", "self", ")", ":", "return", "self", ".", "_prefix_boolean" ]
[ 489, 4 ]
[ 496, 35 ]
python
en
['en', 'ca', 'en']
True
XmlItem.prefix_boolean
(self, prefix_boolean)
Sets the prefix_boolean of this XmlItem. :param prefix_boolean: The prefix_boolean of this XmlItem. # noqa: E501 :type prefix_boolean: bool
Sets the prefix_boolean of this XmlItem.
def prefix_boolean(self, prefix_boolean): """Sets the prefix_boolean of this XmlItem. :param prefix_boolean: The prefix_boolean of this XmlItem. # noqa: E501 :type prefix_boolean: bool """ self._prefix_boolean = prefix_boolean
[ "def", "prefix_boolean", "(", "self", ",", "prefix_boolean", ")", ":", "self", ".", "_prefix_boolean", "=", "prefix_boolean" ]
[ 499, 4 ]
[ 507, 45 ]
python
en
['en', 'ca', 'en']
True
XmlItem.prefix_array
(self)
Gets the prefix_array of this XmlItem. # noqa: E501 :return: The prefix_array of this XmlItem. # noqa: E501 :rtype: list[int]
Gets the prefix_array of this XmlItem. # noqa: E501
def prefix_array(self): """Gets the prefix_array of this XmlItem. # noqa: E501 :return: The prefix_array of this XmlItem. # noqa: E501 :rtype: list[int] """ return self._prefix_array
[ "def", "prefix_array", "(", "self", ")", ":", "return", "self", ".", "_prefix_array" ]
[ 510, 4 ]
[ 517, 33 ]
python
en
['en', 'ca', 'en']
True
XmlItem.prefix_array
(self, prefix_array)
Sets the prefix_array of this XmlItem. :param prefix_array: The prefix_array of this XmlItem. # noqa: E501 :type prefix_array: list[int]
Sets the prefix_array of this XmlItem.
def prefix_array(self, prefix_array): """Sets the prefix_array of this XmlItem. :param prefix_array: The prefix_array of this XmlItem. # noqa: E501 :type prefix_array: list[int] """ self._prefix_array = prefix_array
[ "def", "prefix_array", "(", "self", ",", "prefix_array", ")", ":", "self", ".", "_prefix_array", "=", "prefix_array" ]
[ 520, 4 ]
[ 528, 41 ]
python
en
['en', 'hu', 'en']
True
XmlItem.prefix_wrapped_array
(self)
Gets the prefix_wrapped_array of this XmlItem. # noqa: E501 :return: The prefix_wrapped_array of this XmlItem. # noqa: E501 :rtype: list[int]
Gets the prefix_wrapped_array of this XmlItem. # noqa: E501
def prefix_wrapped_array(self): """Gets the prefix_wrapped_array of this XmlItem. # noqa: E501 :return: The prefix_wrapped_array of this XmlItem. # noqa: E501 :rtype: list[int] """ return self._prefix_wrapped_array
[ "def", "prefix_wrapped_array", "(", "self", ")", ":", "return", "self", ".", "_prefix_wrapped_array" ]
[ 531, 4 ]
[ 538, 41 ]
python
en
['en', 'pt', 'en']
True
XmlItem.prefix_wrapped_array
(self, prefix_wrapped_array)
Sets the prefix_wrapped_array of this XmlItem. :param prefix_wrapped_array: The prefix_wrapped_array of this XmlItem. # noqa: E501 :type prefix_wrapped_array: list[int]
Sets the prefix_wrapped_array of this XmlItem.
def prefix_wrapped_array(self, prefix_wrapped_array): """Sets the prefix_wrapped_array of this XmlItem. :param prefix_wrapped_array: The prefix_wrapped_array of this XmlItem. # noqa: E501 :type prefix_wrapped_array: list[int] """ self._prefix_wrapped_array = prefix_wrapped_ar...
[ "def", "prefix_wrapped_array", "(", "self", ",", "prefix_wrapped_array", ")", ":", "self", ".", "_prefix_wrapped_array", "=", "prefix_wrapped_array" ]
[ 541, 4 ]
[ 549, 57 ]
python
en
['en', 'en', 'en']
True
XmlItem.namespace_string
(self)
Gets the namespace_string of this XmlItem. # noqa: E501 :return: The namespace_string of this XmlItem. # noqa: E501 :rtype: str
Gets the namespace_string of this XmlItem. # noqa: E501
def namespace_string(self): """Gets the namespace_string of this XmlItem. # noqa: E501 :return: The namespace_string of this XmlItem. # noqa: E501 :rtype: str """ return self._namespace_string
[ "def", "namespace_string", "(", "self", ")", ":", "return", "self", ".", "_namespace_string" ]
[ 552, 4 ]
[ 559, 37 ]
python
en
['en', 'pt', 'en']
True
XmlItem.namespace_string
(self, namespace_string)
Sets the namespace_string of this XmlItem. :param namespace_string: The namespace_string of this XmlItem. # noqa: E501 :type namespace_string: str
Sets the namespace_string of this XmlItem.
def namespace_string(self, namespace_string): """Sets the namespace_string of this XmlItem. :param namespace_string: The namespace_string of this XmlItem. # noqa: E501 :type namespace_string: str """ self._namespace_string = namespace_string
[ "def", "namespace_string", "(", "self", ",", "namespace_string", ")", ":", "self", ".", "_namespace_string", "=", "namespace_string" ]
[ 562, 4 ]
[ 570, 49 ]
python
en
['en', 'en', 'en']
True
XmlItem.namespace_number
(self)
Gets the namespace_number of this XmlItem. # noqa: E501 :return: The namespace_number of this XmlItem. # noqa: E501 :rtype: float
Gets the namespace_number of this XmlItem. # noqa: E501
def namespace_number(self): """Gets the namespace_number of this XmlItem. # noqa: E501 :return: The namespace_number of this XmlItem. # noqa: E501 :rtype: float """ return self._namespace_number
[ "def", "namespace_number", "(", "self", ")", ":", "return", "self", ".", "_namespace_number" ]
[ 573, 4 ]
[ 580, 37 ]
python
en
['en', 'en', 'en']
True
XmlItem.namespace_number
(self, namespace_number)
Sets the namespace_number of this XmlItem. :param namespace_number: The namespace_number of this XmlItem. # noqa: E501 :type namespace_number: float
Sets the namespace_number of this XmlItem.
def namespace_number(self, namespace_number): """Sets the namespace_number of this XmlItem. :param namespace_number: The namespace_number of this XmlItem. # noqa: E501 :type namespace_number: float """ self._namespace_number = namespace_number
[ "def", "namespace_number", "(", "self", ",", "namespace_number", ")", ":", "self", ".", "_namespace_number", "=", "namespace_number" ]
[ 583, 4 ]
[ 591, 49 ]
python
en
['en', 'en', 'en']
True
XmlItem.namespace_integer
(self)
Gets the namespace_integer of this XmlItem. # noqa: E501 :return: The namespace_integer of this XmlItem. # noqa: E501 :rtype: int
Gets the namespace_integer of this XmlItem. # noqa: E501
def namespace_integer(self): """Gets the namespace_integer of this XmlItem. # noqa: E501 :return: The namespace_integer of this XmlItem. # noqa: E501 :rtype: int """ return self._namespace_integer
[ "def", "namespace_integer", "(", "self", ")", ":", "return", "self", ".", "_namespace_integer" ]
[ 594, 4 ]
[ 601, 38 ]
python
en
['en', 'ca', 'en']
True
XmlItem.namespace_integer
(self, namespace_integer)
Sets the namespace_integer of this XmlItem. :param namespace_integer: The namespace_integer of this XmlItem. # noqa: E501 :type namespace_integer: int
Sets the namespace_integer of this XmlItem.
def namespace_integer(self, namespace_integer): """Sets the namespace_integer of this XmlItem. :param namespace_integer: The namespace_integer of this XmlItem. # noqa: E501 :type namespace_integer: int """ self._namespace_integer = namespace_integer
[ "def", "namespace_integer", "(", "self", ",", "namespace_integer", ")", ":", "self", ".", "_namespace_integer", "=", "namespace_integer" ]
[ 604, 4 ]
[ 612, 51 ]
python
en
['en', 'en', 'en']
True
XmlItem.namespace_boolean
(self)
Gets the namespace_boolean of this XmlItem. # noqa: E501 :return: The namespace_boolean of this XmlItem. # noqa: E501 :rtype: bool
Gets the namespace_boolean of this XmlItem. # noqa: E501
def namespace_boolean(self): """Gets the namespace_boolean of this XmlItem. # noqa: E501 :return: The namespace_boolean of this XmlItem. # noqa: E501 :rtype: bool """ return self._namespace_boolean
[ "def", "namespace_boolean", "(", "self", ")", ":", "return", "self", ".", "_namespace_boolean" ]
[ 615, 4 ]
[ 622, 38 ]
python
en
['en', 'en', 'en']
True
XmlItem.namespace_boolean
(self, namespace_boolean)
Sets the namespace_boolean of this XmlItem. :param namespace_boolean: The namespace_boolean of this XmlItem. # noqa: E501 :type namespace_boolean: bool
Sets the namespace_boolean of this XmlItem.
def namespace_boolean(self, namespace_boolean): """Sets the namespace_boolean of this XmlItem. :param namespace_boolean: The namespace_boolean of this XmlItem. # noqa: E501 :type namespace_boolean: bool """ self._namespace_boolean = namespace_boolean
[ "def", "namespace_boolean", "(", "self", ",", "namespace_boolean", ")", ":", "self", ".", "_namespace_boolean", "=", "namespace_boolean" ]
[ 625, 4 ]
[ 633, 51 ]
python
en
['en', 'en', 'en']
True
XmlItem.namespace_array
(self)
Gets the namespace_array of this XmlItem. # noqa: E501 :return: The namespace_array of this XmlItem. # noqa: E501 :rtype: list[int]
Gets the namespace_array of this XmlItem. # noqa: E501
def namespace_array(self): """Gets the namespace_array of this XmlItem. # noqa: E501 :return: The namespace_array of this XmlItem. # noqa: E501 :rtype: list[int] """ return self._namespace_array
[ "def", "namespace_array", "(", "self", ")", ":", "return", "self", ".", "_namespace_array" ]
[ 636, 4 ]
[ 643, 36 ]
python
en
['en', 'pt', 'en']
True
XmlItem.namespace_array
(self, namespace_array)
Sets the namespace_array of this XmlItem. :param namespace_array: The namespace_array of this XmlItem. # noqa: E501 :type namespace_array: list[int]
Sets the namespace_array of this XmlItem.
def namespace_array(self, namespace_array): """Sets the namespace_array of this XmlItem. :param namespace_array: The namespace_array of this XmlItem. # noqa: E501 :type namespace_array: list[int] """ self._namespace_array = namespace_array
[ "def", "namespace_array", "(", "self", ",", "namespace_array", ")", ":", "self", ".", "_namespace_array", "=", "namespace_array" ]
[ 646, 4 ]
[ 654, 47 ]
python
en
['en', 'en', 'en']
True
XmlItem.namespace_wrapped_array
(self)
Gets the namespace_wrapped_array of this XmlItem. # noqa: E501 :return: The namespace_wrapped_array of this XmlItem. # noqa: E501 :rtype: list[int]
Gets the namespace_wrapped_array of this XmlItem. # noqa: E501
def namespace_wrapped_array(self): """Gets the namespace_wrapped_array of this XmlItem. # noqa: E501 :return: The namespace_wrapped_array of this XmlItem. # noqa: E501 :rtype: list[int] """ return self._namespace_wrapped_array
[ "def", "namespace_wrapped_array", "(", "self", ")", ":", "return", "self", ".", "_namespace_wrapped_array" ]
[ 657, 4 ]
[ 664, 44 ]
python
en
['en', 'pt', 'en']
True
XmlItem.namespace_wrapped_array
(self, namespace_wrapped_array)
Sets the namespace_wrapped_array of this XmlItem. :param namespace_wrapped_array: The namespace_wrapped_array of this XmlItem. # noqa: E501 :type namespace_wrapped_array: list[int]
Sets the namespace_wrapped_array of this XmlItem.
def namespace_wrapped_array(self, namespace_wrapped_array): """Sets the namespace_wrapped_array of this XmlItem. :param namespace_wrapped_array: The namespace_wrapped_array of this XmlItem. # noqa: E501 :type namespace_wrapped_array: list[int] """ self._namespace_wrapped_arra...
[ "def", "namespace_wrapped_array", "(", "self", ",", "namespace_wrapped_array", ")", ":", "self", ".", "_namespace_wrapped_array", "=", "namespace_wrapped_array" ]
[ 667, 4 ]
[ 675, 63 ]
python
en
['en', 'en', 'en']
True
XmlItem.prefix_ns_string
(self)
Gets the prefix_ns_string of this XmlItem. # noqa: E501 :return: The prefix_ns_string of this XmlItem. # noqa: E501 :rtype: str
Gets the prefix_ns_string of this XmlItem. # noqa: E501
def prefix_ns_string(self): """Gets the prefix_ns_string of this XmlItem. # noqa: E501 :return: The prefix_ns_string of this XmlItem. # noqa: E501 :rtype: str """ return self._prefix_ns_string
[ "def", "prefix_ns_string", "(", "self", ")", ":", "return", "self", ".", "_prefix_ns_string" ]
[ 678, 4 ]
[ 685, 37 ]
python
en
['en', 'ca', 'en']
True
XmlItem.prefix_ns_string
(self, prefix_ns_string)
Sets the prefix_ns_string of this XmlItem. :param prefix_ns_string: The prefix_ns_string of this XmlItem. # noqa: E501 :type prefix_ns_string: str
Sets the prefix_ns_string of this XmlItem.
def prefix_ns_string(self, prefix_ns_string): """Sets the prefix_ns_string of this XmlItem. :param prefix_ns_string: The prefix_ns_string of this XmlItem. # noqa: E501 :type prefix_ns_string: str """ self._prefix_ns_string = prefix_ns_string
[ "def", "prefix_ns_string", "(", "self", ",", "prefix_ns_string", ")", ":", "self", ".", "_prefix_ns_string", "=", "prefix_ns_string" ]
[ 688, 4 ]
[ 696, 49 ]
python
en
['en', 'en', 'en']
True
XmlItem.prefix_ns_number
(self)
Gets the prefix_ns_number of this XmlItem. # noqa: E501 :return: The prefix_ns_number of this XmlItem. # noqa: E501 :rtype: float
Gets the prefix_ns_number of this XmlItem. # noqa: E501
def prefix_ns_number(self): """Gets the prefix_ns_number of this XmlItem. # noqa: E501 :return: The prefix_ns_number of this XmlItem. # noqa: E501 :rtype: float """ return self._prefix_ns_number
[ "def", "prefix_ns_number", "(", "self", ")", ":", "return", "self", ".", "_prefix_ns_number" ]
[ 699, 4 ]
[ 706, 37 ]
python
en
['en', 'ca', 'en']
True
XmlItem.prefix_ns_number
(self, prefix_ns_number)
Sets the prefix_ns_number of this XmlItem. :param prefix_ns_number: The prefix_ns_number of this XmlItem. # noqa: E501 :type prefix_ns_number: float
Sets the prefix_ns_number of this XmlItem.
def prefix_ns_number(self, prefix_ns_number): """Sets the prefix_ns_number of this XmlItem. :param prefix_ns_number: The prefix_ns_number of this XmlItem. # noqa: E501 :type prefix_ns_number: float """ self._prefix_ns_number = prefix_ns_number
[ "def", "prefix_ns_number", "(", "self", ",", "prefix_ns_number", ")", ":", "self", ".", "_prefix_ns_number", "=", "prefix_ns_number" ]
[ 709, 4 ]
[ 717, 49 ]
python
en
['en', 'en', 'en']
True
XmlItem.prefix_ns_integer
(self)
Gets the prefix_ns_integer of this XmlItem. # noqa: E501 :return: The prefix_ns_integer of this XmlItem. # noqa: E501 :rtype: int
Gets the prefix_ns_integer of this XmlItem. # noqa: E501
def prefix_ns_integer(self): """Gets the prefix_ns_integer of this XmlItem. # noqa: E501 :return: The prefix_ns_integer of this XmlItem. # noqa: E501 :rtype: int """ return self._prefix_ns_integer
[ "def", "prefix_ns_integer", "(", "self", ")", ":", "return", "self", ".", "_prefix_ns_integer" ]
[ 720, 4 ]
[ 727, 38 ]
python
en
['en', 'ca', 'en']
True
XmlItem.prefix_ns_integer
(self, prefix_ns_integer)
Sets the prefix_ns_integer of this XmlItem. :param prefix_ns_integer: The prefix_ns_integer of this XmlItem. # noqa: E501 :type prefix_ns_integer: int
Sets the prefix_ns_integer of this XmlItem.
def prefix_ns_integer(self, prefix_ns_integer): """Sets the prefix_ns_integer of this XmlItem. :param prefix_ns_integer: The prefix_ns_integer of this XmlItem. # noqa: E501 :type prefix_ns_integer: int """ self._prefix_ns_integer = prefix_ns_integer
[ "def", "prefix_ns_integer", "(", "self", ",", "prefix_ns_integer", ")", ":", "self", ".", "_prefix_ns_integer", "=", "prefix_ns_integer" ]
[ 730, 4 ]
[ 738, 51 ]
python
en
['en', 'ca', 'en']
True
XmlItem.prefix_ns_boolean
(self)
Gets the prefix_ns_boolean of this XmlItem. # noqa: E501 :return: The prefix_ns_boolean of this XmlItem. # noqa: E501 :rtype: bool
Gets the prefix_ns_boolean of this XmlItem. # noqa: E501
def prefix_ns_boolean(self): """Gets the prefix_ns_boolean of this XmlItem. # noqa: E501 :return: The prefix_ns_boolean of this XmlItem. # noqa: E501 :rtype: bool """ return self._prefix_ns_boolean
[ "def", "prefix_ns_boolean", "(", "self", ")", ":", "return", "self", ".", "_prefix_ns_boolean" ]
[ 741, 4 ]
[ 748, 38 ]
python
en
['en', 'ca', 'en']
True
XmlItem.prefix_ns_boolean
(self, prefix_ns_boolean)
Sets the prefix_ns_boolean of this XmlItem. :param prefix_ns_boolean: The prefix_ns_boolean of this XmlItem. # noqa: E501 :type prefix_ns_boolean: bool
Sets the prefix_ns_boolean of this XmlItem.
def prefix_ns_boolean(self, prefix_ns_boolean): """Sets the prefix_ns_boolean of this XmlItem. :param prefix_ns_boolean: The prefix_ns_boolean of this XmlItem. # noqa: E501 :type prefix_ns_boolean: bool """ self._prefix_ns_boolean = prefix_ns_boolean
[ "def", "prefix_ns_boolean", "(", "self", ",", "prefix_ns_boolean", ")", ":", "self", ".", "_prefix_ns_boolean", "=", "prefix_ns_boolean" ]
[ 751, 4 ]
[ 759, 51 ]
python
en
['en', 'ca', 'en']
True
XmlItem.prefix_ns_array
(self)
Gets the prefix_ns_array of this XmlItem. # noqa: E501 :return: The prefix_ns_array of this XmlItem. # noqa: E501 :rtype: list[int]
Gets the prefix_ns_array of this XmlItem. # noqa: E501
def prefix_ns_array(self): """Gets the prefix_ns_array of this XmlItem. # noqa: E501 :return: The prefix_ns_array of this XmlItem. # noqa: E501 :rtype: list[int] """ return self._prefix_ns_array
[ "def", "prefix_ns_array", "(", "self", ")", ":", "return", "self", ".", "_prefix_ns_array" ]
[ 762, 4 ]
[ 769, 36 ]
python
en
['en', 'ca', 'en']
True
XmlItem.prefix_ns_array
(self, prefix_ns_array)
Sets the prefix_ns_array of this XmlItem. :param prefix_ns_array: The prefix_ns_array of this XmlItem. # noqa: E501 :type prefix_ns_array: list[int]
Sets the prefix_ns_array of this XmlItem.
def prefix_ns_array(self, prefix_ns_array): """Sets the prefix_ns_array of this XmlItem. :param prefix_ns_array: The prefix_ns_array of this XmlItem. # noqa: E501 :type prefix_ns_array: list[int] """ self._prefix_ns_array = prefix_ns_array
[ "def", "prefix_ns_array", "(", "self", ",", "prefix_ns_array", ")", ":", "self", ".", "_prefix_ns_array", "=", "prefix_ns_array" ]
[ 772, 4 ]
[ 780, 47 ]
python
en
['en', 'hu', 'en']
True
XmlItem.prefix_ns_wrapped_array
(self)
Gets the prefix_ns_wrapped_array of this XmlItem. # noqa: E501 :return: The prefix_ns_wrapped_array of this XmlItem. # noqa: E501 :rtype: list[int]
Gets the prefix_ns_wrapped_array of this XmlItem. # noqa: E501
def prefix_ns_wrapped_array(self): """Gets the prefix_ns_wrapped_array of this XmlItem. # noqa: E501 :return: The prefix_ns_wrapped_array of this XmlItem. # noqa: E501 :rtype: list[int] """ return self._prefix_ns_wrapped_array
[ "def", "prefix_ns_wrapped_array", "(", "self", ")", ":", "return", "self", ".", "_prefix_ns_wrapped_array" ]
[ 783, 4 ]
[ 790, 44 ]
python
en
['en', 'pt', 'en']
True
XmlItem.prefix_ns_wrapped_array
(self, prefix_ns_wrapped_array)
Sets the prefix_ns_wrapped_array of this XmlItem. :param prefix_ns_wrapped_array: The prefix_ns_wrapped_array of this XmlItem. # noqa: E501 :type prefix_ns_wrapped_array: list[int]
Sets the prefix_ns_wrapped_array of this XmlItem.
def prefix_ns_wrapped_array(self, prefix_ns_wrapped_array): """Sets the prefix_ns_wrapped_array of this XmlItem. :param prefix_ns_wrapped_array: The prefix_ns_wrapped_array of this XmlItem. # noqa: E501 :type prefix_ns_wrapped_array: list[int] """ self._prefix_ns_wrapped_arra...
[ "def", "prefix_ns_wrapped_array", "(", "self", ",", "prefix_ns_wrapped_array", ")", ":", "self", ".", "_prefix_ns_wrapped_array", "=", "prefix_ns_wrapped_array" ]
[ 793, 4 ]
[ 801, 63 ]
python
en
['en', 'en', 'en']
True
XmlItem.to_dict
(self, serialize=False)
Returns the model properties as a dict
Returns the model properties as a dict
def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} def convert(x): if hasattr(x, "to_dict"): args = inspect.getargspec(x.to_dict).args if len(args) == 1: return x.to_dict() ...
[ "def", "to_dict", "(", "self", ",", "serialize", "=", "False", ")", ":", "result", "=", "{", "}", "def", "convert", "(", "x", ")", ":", "if", "hasattr", "(", "x", ",", "\"to_dict\"", ")", ":", "args", "=", "inspect", ".", "getargspec", "(", "x", ...
[ 803, 4 ]
[ 833, 21 ]
python
en
['en', 'en', 'en']
True
XmlItem.to_str
(self)
Returns the string representation of the model
Returns the string representation of the model
def to_str(self): """Returns the string representation of the model""" return pprint.pformat(self.to_dict())
[ "def", "to_str", "(", "self", ")", ":", "return", "pprint", ".", "pformat", "(", "self", ".", "to_dict", "(", ")", ")" ]
[ 835, 4 ]
[ 837, 45 ]
python
en
['en', 'en', 'en']
True
XmlItem.__repr__
(self)
For `print` and `pprint`
For `print` and `pprint`
def __repr__(self): """For `print` and `pprint`""" return self.to_str()
[ "def", "__repr__", "(", "self", ")", ":", "return", "self", ".", "to_str", "(", ")" ]
[ 839, 4 ]
[ 841, 28 ]
python
en
['en', 'en', 'en']
True
XmlItem.__eq__
(self, other)
Returns true if both objects are equal
Returns true if both objects are equal
def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, XmlItem): return False return self.to_dict() == other.to_dict()
[ "def", "__eq__", "(", "self", ",", "other", ")", ":", "if", "not", "isinstance", "(", "other", ",", "XmlItem", ")", ":", "return", "False", "return", "self", ".", "to_dict", "(", ")", "==", "other", ".", "to_dict", "(", ")" ]
[ 843, 4 ]
[ 848, 48 ]
python
en
['en', 'en', 'en']
True
XmlItem.__ne__
(self, other)
Returns true if both objects are not equal
Returns true if both objects are not equal
def __ne__(self, other): """Returns true if both objects are not equal""" if not isinstance(other, XmlItem): return True return self.to_dict() != other.to_dict()
[ "def", "__ne__", "(", "self", ",", "other", ")", ":", "if", "not", "isinstance", "(", "other", ",", "XmlItem", ")", ":", "return", "True", "return", "self", ".", "to_dict", "(", ")", "!=", "other", ".", "to_dict", "(", ")" ]
[ 850, 4 ]
[ 855, 48 ]
python
en
['en', 'en', 'en']
True
test_gps_sensor
( hass: HomeAssistant, gps_sensor: Sensor, integration: tuple[MockConfigEntry, Callable[[str], None]], )
Test a gps sensor.
Test a gps sensor.
async def test_gps_sensor( hass: HomeAssistant, gps_sensor: Sensor, integration: tuple[MockConfigEntry, Callable[[str], None]], ) -> None: """Test a gps sensor.""" entity_id = "sensor.gps_sensor_1_1" _, receive_message = integration state = hass.states.get(entity_id) assert state a...
[ "async", "def", "test_gps_sensor", "(", "hass", ":", "HomeAssistant", ",", "gps_sensor", ":", "Sensor", ",", "integration", ":", "tuple", "[", "MockConfigEntry", ",", "Callable", "[", "[", "str", "]", ",", "None", "]", "]", ",", ")", "->", "None", ":", ...
[ 31, 0 ]
[ 58, 52 ]
python
en
['en', 'haw', 'en']
True
test_power_sensor
( hass: HomeAssistant, power_sensor: Sensor, integration: tuple[MockConfigEntry, Callable[[str], None]], )
Test a power sensor.
Test a power sensor.
async def test_power_sensor( hass: HomeAssistant, power_sensor: Sensor, integration: tuple[MockConfigEntry, Callable[[str], None]], ) -> None: """Test a power sensor.""" entity_id = "sensor.power_sensor_1_1" state = hass.states.get(entity_id) assert state assert state.state == "1200" ...
[ "async", "def", "test_power_sensor", "(", "hass", ":", "HomeAssistant", ",", "power_sensor", ":", "Sensor", ",", "integration", ":", "tuple", "[", "MockConfigEntry", ",", "Callable", "[", "[", "str", "]", ",", "None", "]", "]", ",", ")", "->", "None", ":...
[ 61, 0 ]
[ 75, 72 ]
python
en
['en', 'lb', 'en']
True
test_energy_sensor
( hass: HomeAssistant, energy_sensor: Sensor, integration: tuple[MockConfigEntry, Callable[[str], None]], )
Test an energy sensor.
Test an energy sensor.
async def test_energy_sensor( hass: HomeAssistant, energy_sensor: Sensor, integration: tuple[MockConfigEntry, Callable[[str], None]], ) -> None: """Test an energy sensor.""" entity_id = "sensor.energy_sensor_1_1" state = hass.states.get(entity_id) assert state assert state.state == "18...
[ "async", "def", "test_energy_sensor", "(", "hass", ":", "HomeAssistant", ",", "energy_sensor", ":", "Sensor", ",", "integration", ":", "tuple", "[", "MockConfigEntry", ",", "Callable", "[", "[", "str", "]", ",", "None", "]", "]", ",", ")", "->", "None", ...
[ 78, 0 ]
[ 92, 77 ]
python
en
['en', 'ga', 'en']
True
test_sound_sensor
( hass: HomeAssistant, sound_sensor: Sensor, integration: tuple[MockConfigEntry, Callable[[str], None]], )
Test a sound sensor.
Test a sound sensor.
async def test_sound_sensor( hass: HomeAssistant, sound_sensor: Sensor, integration: tuple[MockConfigEntry, Callable[[str], None]], ) -> None: """Test a sound sensor.""" entity_id = "sensor.sound_sensor_1_1" state = hass.states.get(entity_id) assert state assert state.state == "10" ...
[ "async", "def", "test_sound_sensor", "(", "hass", ":", "HomeAssistant", ",", "sound_sensor", ":", "Sensor", ",", "integration", ":", "tuple", "[", "MockConfigEntry", ",", "Callable", "[", "[", "str", "]", ",", "None", "]", "]", ",", ")", "->", "None", ":...
[ 95, 0 ]
[ 108, 61 ]
python
en
['en', 'pt', 'en']
True
test_distance_sensor
( hass: HomeAssistant, distance_sensor: Sensor, integration: tuple[MockConfigEntry, Callable[[str], None]], )
Test a distance sensor.
Test a distance sensor.
async def test_distance_sensor( hass: HomeAssistant, distance_sensor: Sensor, integration: tuple[MockConfigEntry, Callable[[str], None]], ) -> None: """Test a distance sensor.""" entity_id = "sensor.distance_sensor_1_1" state = hass.states.get(entity_id) assert state assert state.state...
[ "async", "def", "test_distance_sensor", "(", "hass", ":", "HomeAssistant", ",", "distance_sensor", ":", "Sensor", ",", "integration", ":", "tuple", "[", "MockConfigEntry", ",", "Callable", "[", "[", "str", "]", ",", "None", "]", "]", ",", ")", "->", "None"...
[ 111, 0 ]
[ 124, 61 ]
python
en
['en', 'lb', 'en']
True
test_temperature_sensor
( hass: HomeAssistant, temperature_sensor: Sensor, integration: tuple[MockConfigEntry, Callable[[str], None]], unit_system: UnitSystem, unit: str, )
Test a temperature sensor.
Test a temperature sensor.
async def test_temperature_sensor( hass: HomeAssistant, temperature_sensor: Sensor, integration: tuple[MockConfigEntry, Callable[[str], None]], unit_system: UnitSystem, unit: str, ) -> None: """Test a temperature sensor.""" entity_id = "sensor.temperature_sensor_1_1" hass.config.units = ...
[ "async", "def", "test_temperature_sensor", "(", "hass", ":", "HomeAssistant", ",", "temperature_sensor", ":", "Sensor", ",", "integration", ":", "tuple", "[", "MockConfigEntry", ",", "Callable", "[", "[", "str", "]", ",", "None", "]", "]", ",", "unit_system", ...
[ 131, 0 ]
[ 157, 72 ]
python
en
['en', 'ca', 'en']
True