Package src :: Package com :: Package deviceatlas :: Package device :: Module basic_input :: Class BasicInput
[frames] | no frames]

Class BasicInput

input.Input --+
              |
             BasicInput

Represents a single entry in the data file "i" (inputs) node. @author DeviceAtlas Limited

Instance Methods
 
__init__(self, key, source, ensure_client_hint_quote)
 
key(self)
 
source(self)
 
is_ensure_client_hint_quote(self)
 
is_header_source(self)
 
is_client_side_source(self)
 
associated_inputs(self)
 
has_associated_inputs(self)
 
add_associated_identifier_name(self, identifier_name)
This input may be an associated input to one or more identifier inputs.
 
associated_identifier_names(self)
A given input may be a supporting associated input for an identifier.
 
can_be_used(self, headers)
Can only use the input if it is present in the headers.

Inherited from input.Input: get_identifier_value

Static Methods

Inherited from input.Input: is_empty_value

Method Details

key(self)

 
Decorators:
  • @property
Overrides: key

source(self)

 
Decorators:
  • @property
Overrides: source

is_ensure_client_hint_quote(self)

 
Decorators:
  • @property
Overrides: is_ensure_client_hint_quote

is_header_source(self)

 
Decorators:
  • @property
Overrides: is_header_source

is_client_side_source(self)

 
Decorators:
  • @property
Overrides: is_client_side_source

associated_inputs(self)

 
Decorators:
  • @property
Overrides: associated_inputs

has_associated_inputs(self)

 
Decorators:
  • @property
Overrides: has_associated_inputs

add_associated_identifier_name(self, identifier_name)

 

This input may be an associated input to one or more identifier inputs. Record all the associated identifier inputs. :param identifier_name: :return:

Overrides: input.Input.add_associated_identifier_name

associated_identifier_names(self)

 

A given input may be a supporting associated input for an identifier. This method returns a collection of the associated parent identifier names that this input is associated to. :return:

Decorators:
  • @property
Overrides: associated_identifier_names

can_be_used(self, headers)

 

Can only use the input if it is present in the headers. :return:

Overrides: input.Input.can_be_used