sequence
stringlengths
557
12.7k
docstring
stringlengths
4
15.2k
(module (function_definition (function_name_remove) function_name_remove (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_xmlrpc) identifier_xmlrpc (call (identifier_XMLRPCConnection) iden...
Remove VRF. Maps to the function :py:func:`nipap.backend.Nipap.remove_vrf` in the backend. Please see the documentation for the backend function for information regarding input arguments and return values.
(module (function_definition (function_name_create) function_name_create (parameters (identifier_cls) identifier_cls (default_parameter (identifier_service) identifier_service (None) None )default_parameter (default_parameter (identifier_endpoint) identifier_end...
Create an integration within the scope of an service. Make sure that they should reasonably be able to query with an service or endpoint that knows about an service.
(module (function_definition (function_name_data_filler_customer) function_name_data_filler_customer (parameters (identifier_self) identifier_self (identifier_number_of_rows) identifier_number_of_rows (identifier_pipe) identifier_pipe )parameters (block (try_statement (...
creates keys with customer data
(module (function_definition (function_name__get_csv_fieldnames) function_name__get_csv_fieldnames (parameters (identifier_csv_reader) identifier_csv_reader )parameters (block (expression_statement (assignment (identifier_fieldnames) identifier_fieldnames (list ...
Finds fieldnames in Polarion exported csv file.
(module (function_definition (function_name_information_title_header_element) function_name_information_title_header_element (parameters (identifier_feature) identifier_feature (identifier_parent) identifier_parent )parameters (block (expression_statement (assignment ...
Retrieve information title header string from definitions.
(module (function_definition (function_name__create_job_details) function_name__create_job_details (parameters (identifier_self) identifier_self (identifier_key) identifier_key (identifier_job_config) identifier_job_config (identifier_logfile) identifier_logfile (identifier_statu...
Create a `JobDetails` for a single job Parameters ---------- key : str Key used to identify this particular job job_config : dict Dictionary with arguements passed to this particular job logfile : str Name of the associated log file ...
(module (function_definition (function_name_DeleteSubjects) function_name_DeleteSubjects (parameters (identifier_self) identifier_self (identifier_subjects) identifier_subjects (default_parameter (identifier_sync) identifier_sync (False) False )default_parameter )pa...
Delete multiple subjects at once.
(module (function_definition (function_name__get_bandfilenames) function_name__get_bandfilenames (parameters (identifier_self) identifier_self (dictionary_splat_pattern (identifier_options) identifier_options )dictionary_splat_pattern )parameters (block (expression_stat...
Get filename for each band
(module (function_definition (function_name_is_auth_alive) function_name_is_auth_alive (parameters (identifier_self) identifier_self )parameters (block (expression_statement (string_"Return true if the auth is not expired, else false") string_"Return true if the auth is not expired...
Return true if the auth is not expired, else false
(module (function_definition (function_name_is_exchange) function_name_is_exchange (parameters (identifier_self) identifier_self (identifier_reaction_id) identifier_reaction_id )parameters (block (expression_statement (assignment (identifier_reaction) identifier_rea...
Whether the given reaction is an exchange reaction.
(module (function_definition (function_name_wait) function_name_wait (parameters (default_parameter (identifier_hotkey) identifier_hotkey (None) None )default_parameter (default_parameter (identifier_suppress) identifier_suppress (False) False )default_p...
Blocks the program execution until the given hotkey is pressed or, if given no parameters, blocks forever.
(module (function_definition (function_name_load_personae) function_name_load_personae (parameters )parameters (block (expression_statement (assignment (identifier_dataset_path) identifier_dataset_path (call (identifier__load) identifier__load ...
Personae Dataset. The data of this dataset is a 2d numpy array vector containing 145 entries that include texts written by Dutch users in Twitter, with some additional information about the author, and the target is a 1d numpy binary integer array indicating whether the author was extrovert or not.
(module (function_definition (function_name_enter_maintenance_mode) function_name_enter_maintenance_mode (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_cmd) identifier_cmd (call (attribu...
Put the host in maintenance mode. @return: Reference to the completed command. @since: API v2
(module (function_definition (function_name_absolute_path) function_name_absolute_path (parameters (identifier_self) identifier_self (identifier_path) identifier_path (identifier_start) identifier_start )parameters (block (if_statement (call (attribute ...
Return the absolute public path for an asset, given the path of the stylesheet that contains it.
(module (function_definition (function_name_inserir) function_name_inserir (parameters (identifier_self) identifier_self (identifier_id_user) identifier_id_user (identifier_id_group) identifier_id_group )parameters (block (if_statement (not_operator (call ...
Create a relationship between User and Group. :param id_user: Identifier of the User. Integer value and greater than zero. :param id_group: Identifier of the Group. Integer value and greater than zero. :return: Dictionary with the following structure: :: {'user_group': {'i...
(module (function_definition (function_name_make_step_rcont) function_name_make_step_rcont (parameters (identifier_transition) identifier_transition )parameters (block (if_statement (not_operator (call (attribute (identifier_np) identifier_np ...
Return a ufunc-like step function that is right-continuous. Returns 1 if x >= transition, 0 otherwise.
(module (function_definition (function_name_dependency_state) function_name_dependency_state (parameters (identifier_widgets) identifier_widgets (default_parameter (identifier_drop_defaults) identifier_drop_defaults (True) True )default_parameter )parameters (block ...
Get the state of all widgets specified, and their dependencies. This uses a simple dependency finder, including: - any widget directly referenced in the state of an included widget - any widget in a list/tuple attribute in the state of an included widget - any widget in a dict attribute in the state...
(module (function_definition (function_name_from_text_files) function_name_from_text_files (parameters (identifier_cls) identifier_cls (identifier_path) identifier_path (identifier_field) identifier_field (identifier_train) identifier_train (identifier_validation) identifier_vali...
Method used to instantiate a LanguageModelData object that can be used for a supported nlp task. Args: path (str): the absolute path in which temporary model data will be saved field (Field): torchtext field train (str): file location of the training data ...
(module (function_definition (function_name_list) function_name_list (parameters (identifier_self) identifier_self (list_splat_pattern (identifier_args) identifier_args )list_splat_pattern (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictionary...
List swarm nodes. Args: filters (dict): Filters to process on the nodes list. Valid filters: ``id``, ``name``, ``membership`` and ``role``. Default: ``None`` Returns: A list of :py:class:`Node` objects. Raises: :py:class:`doc...
(module (function_definition (function_name_fix_coordinate_decimal) function_name_fix_coordinate_decimal (parameters (identifier_d) identifier_d )parameters (block (try_statement (block (for_statement (pattern_list (identifier_idx) identifier_idx...
Coordinate decimal degrees calculated by an excel formula are often too long as a repeating decimal. Round them down to 5 decimals :param dict d: Metadata :return dict d: Metadata
(module (function_definition (function_name__do_packet_out) function_name__do_packet_out (parameters (identifier_self) identifier_self (identifier_datapath) identifier_datapath (identifier_data) identifier_data (identifier_in_port) identifier_in_port (identifier_actions) identifi...
send a packet.
(module (function_definition (function_name_facetrecordtrees) function_name_facetrecordtrees (parameters (identifier_table) identifier_table (identifier_key) identifier_key (default_parameter (identifier_start) identifier_start (string_'start') string_'start' )default_p...
Construct faceted interval trees for the given table, where each node in the tree is a record.
(module (function_definition (function_name_mark_as_duplicate) function_name_mark_as_duplicate (parameters (identifier_self) identifier_self (identifier_duplicated_cid) identifier_duplicated_cid (identifier_master_cid) identifier_master_cid (default_parameter (identifier_msg) i...
Mark the post at ``duplicated_cid`` as a duplicate of ``master_cid`` :type duplicated_cid: int :param duplicated_cid: The numeric id of the duplicated post :type master_cid: int :param master_cid: The numeric id of an older post. This will be the post that gets kept and ``...
(module (function_definition (function_name_is_state_machine_stopped_to_proceed) function_name_is_state_machine_stopped_to_proceed (parameters (default_parameter (identifier_selected_sm_id) identifier_selected_sm_id (None) None )default_parameter (default_parameter (i...
Check if state machine is stopped and in case request user by dialog how to proceed The function checks if a specific state machine or by default all state machines have stopped or finished execution. If a state machine is still running the user is ask by dialog window if those should be stopped or not. ...
(module (function_definition (function_name_get_grade_entries_by_ids) function_name_get_grade_entries_by_ids (parameters (identifier_self) identifier_self (identifier_grade_entry_ids) identifier_grade_entry_ids )parameters (block (expression_statement (assignment (i...
Gets a ``GradeEntryList`` corresponding to the given ``IdList``. arg: grade_entry_ids (osid.id.IdList): the list of ``Ids`` to retrieve return: (osid.grading.GradeEntryList) - the returned ``GradeEntry`` list raise: NotFound - an ``Id was`` not found ...
(module (function_definition (function_name_devices_in_group) function_name_devices_in_group (parameters (identifier_self) identifier_self )parameters (block (try_statement (block (expression_statement (assignment (identifier_devices) identifier_...
Fetch list of devices in group.
(module (function_definition (function_name_login) function_name_login (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_pg) identifier_pg (call (attribute (identifier_self) i...
Logs the user in, returns the result Returns bool - Whether or not the user logged in successfully
(module (function_definition (function_name_j0) function_name_j0 (parameters (identifier_x) identifier_x (default_parameter (identifier_context) identifier_context (None) None )default_parameter )parameters (block (return_statement (call (ident...
Return the value of the first kind Bessel function of order 0 at x.
(module (function_definition (function_name_size) function_name_size (parameters (identifier_self) identifier_self (default_parameter (identifier_units) identifier_units (string_"MiB") string_"MiB" )default_parameter )parameters (block (expression_statement ...
Returns the physical volume size in the given units. Default units are MiB. *Args:* * units (str): Unit label ('MiB', 'GiB', etc...). Default is MiB.
(module (function_definition (function_name_get_assets) function_name_get_assets (parameters (identifier_self) identifier_self (identifier_bbox) identifier_bbox (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictionary_splat_pattern )parameters (block ...
Query the assets stored in the intelligent environment for a given bounding box and query. Assets can be filtered by type of asset, event, or media available. - device_type=['DATASIM'] - asset_type=['CAMERA'] - event_type=['PKIN'] - media_type=['IMAGE'] ...
(module (function_definition (function_name__render_list) function_name__render_list (parameters (identifier_self) identifier_self (identifier_items) identifier_items (default_parameter (identifier_empty) identifier_empty (string_'<pre>&lt;empty&gt;</pre>') string_'<pre>&lt;e...
Renders an HTML list with the specified list of strings. Args: items: the iterable collection of objects to render. empty: what to render if the list is None or empty.
(module (function_definition (function_name_ReadTrigger) function_name_ReadTrigger (parameters (identifier_self) identifier_self (identifier_trigger_link) identifier_trigger_link (default_parameter (identifier_options) identifier_options (None) None )default_parameter ...
Reads a trigger. :param str trigger_link: The link to the trigger. :param dict options: The request options for the request. :return: The read Trigger. :rtype: dict
(module (function_definition (function_name_url_for_token) function_name_url_for_token (parameters (identifier_self) identifier_self (identifier_token) identifier_token )parameters (block (expression_statement (assignment (identifier_book_url) identifier_book_url ...
Find the full URL for a help token.
(module (function_definition (function_name_copy_path) function_name_copy_path (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_path) identifier_path (call (attribute (identi...
Return a copy of the current path. :returns: A list of ``(path_operation, coordinates)`` tuples of a :ref:`PATH_OPERATION` string and a tuple of floats coordinates whose content depends on the operation type: * :obj:`MOVE_TO <PATH_MOVE_TO>`: 1 point ...
(module (function_definition (function_name_UpdateFrom) function_name_UpdateFrom (parameters (identifier_self) identifier_self (identifier_src) identifier_src )parameters (block (if_statement (not_operator (call (identifier_isinstance) identifier_isinsta...
Merge path info records. Merges src into self. Args: src: An rdfvalues.objects.PathInfo record, will be merged into self. Raises: ValueError: If src does not represent the same path.
(module (function_definition (function_name_freeze_js) function_name_freeze_js (parameters (identifier_html) identifier_html )parameters (block (expression_statement (assignment (identifier_matches) identifier_matches (call (attribute (...
Freeze all JS assets to the rendered html itself.
(module (function_definition (function_name_build_strings) function_name_build_strings (parameters (identifier_strings) identifier_strings (identifier_prefix) identifier_prefix )parameters (block (expression_statement (assignment (identifier_strings) identifier_stri...
Construct string definitions according to the previously maintained table.
(module (function_definition (function_name_mul) function_name_mul (parameters (identifier_left) identifier_left (identifier_right) identifier_right )parameters (block (import_from_statement (relative_import (import_prefix )import_prefix (dotted_...
Distribution multiplication. Args: left (Dist, numpy.ndarray) : left hand side. right (Dist, numpy.ndarray) : right hand side.
(module (function_definition (function_name_check_types) function_name_check_types (parameters (identifier_func) identifier_func )parameters (block (expression_statement (assignment (identifier_call) identifier_call (call (identifier_PythonCall) iden...
Check if annotated function arguments are of the correct type
(module (function_definition (function_name__SkipGroup) function_name__SkipGroup (parameters (identifier_buffer) identifier_buffer (identifier_pos) identifier_pos (identifier_end) identifier_end )parameters (block (while_statement (integer_1) integer_1 (block ...
Skip sub-group. Returns the new position.
(module (function_definition (function_name_purge_dict) function_name_purge_dict (parameters (identifier_idict) identifier_idict )parameters (block (expression_statement (assignment (identifier_odict) identifier_odict (dictionary )dictionary )a...
Remove null items from a dictionary
(module (function_definition (function_name__refresh) function_name__refresh (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_new_token) identifier_new_token (call (attribute ...
Refresh the API token using the currently bound credentials. This is simply a convenience method to be invoked automatically if authentication fails during normal client use.
(module (function_definition (function_name_run) function_name_run (parameters )parameters (block (expression_statement (call (identifier__parser_options) identifier__parser_options (argument_list )argument_list )call )expression_statement ...
Main script entry to handle the arguments given to the script.
(module (function_definition (function_name_search_one) function_name_search_one (parameters (identifier_self) identifier_self (identifier_keyword) identifier_keyword (default_parameter (identifier_arg) identifier_arg (None) None )default_parameter (default_parame...
Return receiver's substmt with `keyword` and optionally `arg`.
(module (function_definition (function_name_set_examples) function_name_set_examples (parameters (identifier_self) identifier_self (identifier_examples) identifier_examples )parameters (block (expression_statement (call (attribute (identifier_self) ident...
Sets the examples to be displayed in WIT. Args: examples: List of example protos. Returns: self, in order to enabled method chaining.
(module (function_definition (function_name__get_explicit_environ_credentials) function_name__get_explicit_environ_credentials (parameters )parameters (block (expression_statement (assignment (identifier_explicit_file) identifier_explicit_file (call (attri...
Gets credentials from the GOOGLE_APPLICATION_CREDENTIALS environment variable.
(module (function_definition (function_name_load_sensor_composites) function_name_load_sensor_composites (parameters (identifier_self) identifier_self (identifier_sensor_name) identifier_sensor_name )parameters (block (expression_statement (assignment (identifier_co...
Load all compositor configs for the provided sensor.
(module (function_definition (function_name_get_properties) function_name_get_properties (parameters (identifier_obj) identifier_obj )parameters (block (expression_statement (assignment (identifier_properties) identifier_properties (dictionary )diction...
Get values of all properties in specified object and returns them as a map. :param obj: an object to get properties from. :return: a map, containing the names of the object's properties and their values.
(module (function_definition (function_name_set_mime_type) function_name_set_mime_type (parameters (identifier_self) identifier_self (identifier_mime_type) identifier_mime_type )parameters (block (try_statement (block (expression_statement (call ...
Update the highlighter lexer based on a mime type. :param mime_type: mime type of the new lexer to setup.
(module (function_definition (function_name_tag_timexes) function_name_tag_timexes (parameters (identifier_self) identifier_self )parameters (block (if_statement (not_operator (call (attribute (identifier_self) identifier_self (iden...
Create ``timexes`` layer. Depends on morphological analysis data in ``words`` layer and tags it automatically, if it is not present.
(module (function_definition (function_name_set_value) function_name_set_value (parameters (identifier_self) identifier_self (identifier_value) identifier_value (default_parameter (identifier_block_events) identifier_block_events (False) False )default_parameter )pa...
Sets the current value of the number box. Setting block_events=True will temporarily block the widget from sending any signals when setting the value.
(module (function_definition (function_name_delete_request) function_name_delete_request (parameters (identifier_self) identifier_self (identifier_alias) identifier_alias (identifier_uri) identifier_uri (default_parameter (identifier_data) identifier_data (None) None ...
Send a DELETE request on the session object found using the given `alias` ``alias`` that will be used to identify the Session object in the cache ``uri`` to send the DELETE request to ``json`` a value that will be json encoded and sent as request data if data is not spe...
(module (function_definition (function_name_task_transaction) function_name_task_transaction (parameters (identifier_channel) identifier_channel )parameters (block (with_statement (with_clause (with_item (attribute (identifier_channel) identifier...
Ensures a task is fetched and acknowledged atomically.
(module (function_definition (function_name_convert) function_name_convert (parameters (identifier_cls) identifier_cls (identifier_value) identifier_value (identifier_from_unit) identifier_from_unit (identifier_to_unit) identifier_to_unit )parameters (block (expression_st...
Convert a value from one time unit to another. :return: the numeric value converted to the desired unit :rtype: float
(module (function_definition (function_name_isinstance) function_name_isinstance (parameters (identifier_instance) identifier_instance (identifier_ifaces) identifier_ifaces )parameters (block (expression_statement (assignment (identifier_ifaces) identifier_ifaces ...
Check if a given instance is an implementation of the interface.
(module (function_definition (function_name_get_con_id) function_name_get_con_id (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_con_id) identifier_con_id (string_"") string_"" )assignment ...
Return contribution id if available
(module (function_definition (function_name_convert_ids_to_tokens) function_name_convert_ids_to_tokens (parameters (identifier_self) identifier_self (identifier_ids) identifier_ids )parameters (block (expression_statement (assignment (identifier_tokens) identifier_t...
Converts a sequence of ids in wordpiece tokens using the vocab.
(module (function_definition (function_name_clear_license) function_name_clear_license (parameters (identifier_self) identifier_self )parameters (block (if_statement (parenthesized_expression (boolean_operator (call (attribute (ca...
Removes the license. raise: NoAccess - ``Metadata.isRequired()`` is ``true`` or ``Metadata.isReadOnly()`` is ``true`` *compliance: mandatory -- This method must be implemented.*
(module (function_definition (function_name_unlistify) function_name_unlistify (parameters (identifier_n) identifier_n (default_parameter (identifier_depth) identifier_depth (integer_1) integer_1 )default_parameter (default_parameter (identifier_typ) identifier_...
Return the desired element in a list ignoring the rest. >>> unlistify([1,2,3]) 1 >>> unlistify([1,[4, 5, 6],3], get=1) [4, 5, 6] >>> unlistify([1,[4, 5, 6],3], depth=2, get=1) 5 >>> unlistify([1,(4, 5, 6),3], depth=2, get=1) (4, 5, 6) >>> unlistify([1,2,(4, 5, 6)], depth=2, get=2) ...
(module (function_definition (function_name_InstallNanny) function_name_InstallNanny (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_new_config) identifier_new_config (call (attribute ...
Install the nanny program.
(module (function_definition (function_name_to_string_with_default) function_name_to_string_with_default (parameters (identifier_value) identifier_value (identifier_default_value) identifier_default_value )parameters (block (expression_statement (assignment (identif...
Converts value into string or returns default when value is None. :param value: the value to convert. :param default_value: the default value. :return: string value or default when value is null.
(module (function_definition (function_name_get) function_name_get (parameters (identifier_self) identifier_self (identifier_var) identifier_var (default_parameter (identifier_default) identifier_default (None) None )default_parameter )parameters (block (t...
Return a value from configuration. Safe version which always returns a default value if the value is not found.
(module (function_definition (function_name_get_mean_values) function_name_get_mean_values (parameters (identifier_self) identifier_self (identifier_C) identifier_C (identifier_sites) identifier_sites (identifier_rup) identifier_rup (identifier_dists) identifier_dists (iden...
Returns the mean values for a specific IMT
(module (function_definition (function_name_add_column) function_name_add_column (parameters (identifier_self) identifier_self (identifier_column_name) identifier_column_name (identifier_column_values) identifier_column_values )parameters (block (if_statement (boolean_o...
Adds a named column of metadata values. Args: column_name: Name of the column. column_values: 1D array/list/iterable holding the column values. Must be of length `num_points`. The i-th value corresponds to the i-th point. Raises: ValueError: If `column_values` is not 1D array, or o...
(module (function_definition (function_name_get_sentences_list) function_name_get_sentences_list (parameters (identifier_self) identifier_self (default_parameter (identifier_sentences) identifier_sentences (integer_1) integer_1 )default_parameter )parameters (block ...
Return sentences in list. :param int sentences: how many sentences :returns: list of strings with sentence :rtype: list
(module (function_definition (function_name_lock_option) function_name_lock_option (parameters (identifier_self) identifier_self (identifier_key) identifier_key (identifier_subkey) identifier_subkey )parameters (block (expression_statement (assignment (pattern...
Make an option unmutable. :param str key: First identifier of the option. :param str subkey: Second identifier of the option. :raise: :NotRegisteredError: If ``key`` or ``subkey`` do not define any option.
(module (function_definition (function_name_resolve_nested_dict) function_name_resolve_nested_dict (parameters (identifier_nested_dict) identifier_nested_dict )parameters (block (expression_statement (assignment (identifier_res) identifier_res (dictionary ...
Flattens a nested dict by joining keys into tuple of paths. Can then be passed into `format_vars`.
(module (function_definition (function_name__estimate_p_values) function_name__estimate_p_values (parameters (identifier_self) identifier_self )parameters (block (if_statement (not_operator (attribute (identifier_self) identifier_self (identifier__...
estimate the p-values for all features
(module (function_definition (function_name_scene_name) function_name_scene_name (parameters (identifier_sequence_number) identifier_sequence_number (identifier_scene_id) identifier_scene_id (identifier_name) identifier_name )parameters (block (return_statement (call ...
Create a scene.name message
(module (function_definition (function_name_get_pwm_list) function_name_get_pwm_list (parameters (identifier_pwm_id_list) identifier_pwm_id_list (default_parameter (identifier_pseudocountProb) identifier_pseudocountProb (float_0.0001) float_0.0001 )default_parameter )para...
Get a list of HOCOMOCO PWM's. # Arguments pwm_id_list: List of id's from the `PWM_id` column in `get_metadata()` table pseudocountProb: Added pseudocount probabilities to the PWM # Returns List of `concise.utils.pwm.PWM` instances.
(module (function_definition (function_name__customer_lifetime_value) function_name__customer_lifetime_value (parameters (identifier_transaction_prediction_model) identifier_transaction_prediction_model (identifier_frequency) identifier_frequency (identifier_recency) identifier_recency ...
Compute the average lifetime value for a group of one or more customers. This method computes the average lifetime value for a group of one or more customers. Parameters ---------- transaction_prediction_model: the model to predict future transactions frequency: array_like the freq...
(module (function_definition (function_name__resource_prefix) function_name__resource_prefix (parameters (identifier_self) identifier_self (default_parameter (identifier_resource) identifier_resource (None) None )default_parameter )parameters (block (expression_...
Get elastic prefix for given resource. Resource can specify ``elastic_prefix`` which behaves same like ``mongo_prefix``.
(module (function_definition (function_name_get_backspace_count) function_name_get_backspace_count (parameters (identifier_self) identifier_self (identifier_buffer) identifier_buffer )parameters (block (if_statement (boolean_operator (comparison_operator ...
Given the input buffer, calculate how many backspaces are needed to erase the text that triggered this folder.
(module (function_definition (function_name__create_driver) function_name__create_driver (parameters (identifier_self) identifier_self (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictionary_splat_pattern )parameters (block (if_statement (com...
Create webdriver, assign it to ``self.driver``, and run webdriver initiation process, which is usually used for manual login.
(module (function_definition (function_name_parse) function_name_parse (parameters (identifier_self) identifier_self (identifier_module) identifier_module )parameters (block (expression_statement (call (attribute (identifier_self) identifier_self ...
Extracts all the subroutine and function definitions from the specified module.
(module (function_definition (function_name__dirdiffandupdate) function_name__dirdiffandupdate (parameters (identifier_self) identifier_self (identifier_dir1) identifier_dir1 (identifier_dir2) identifier_dir2 )parameters (block (expression_statement (call (att...
Private function which does directory diff & update
(module (function_definition (function_name_collect_blame_info) function_name_collect_blame_info (parameters (identifier_cls) identifier_cls (identifier_matches) identifier_matches )parameters (block (expression_statement (assignment (identifier_old_area) identifier...
Runs git blame on files, for the specified sets of line ranges. If no line range tuples are provided, it will do all lines.
(module (function_definition (function_name_AddFileEntry) function_name_AddFileEntry (parameters (identifier_self) identifier_self (identifier_path) identifier_path (default_parameter (identifier_file_entry_type) identifier_file_entry_type (attribute (identifier_def...
Adds a fake file entry. Args: path (str): path of the file entry. file_entry_type (Optional[str]): type of the file entry object. file_data (Optional[bytes]): data of the fake file-like object. link_data (Optional[bytes]): link data of the fake file entry object. Raises: KeyError...
(module (function_definition (function_name_on_key_press) function_name_on_key_press (parameters (identifier_self) identifier_self (identifier_event) identifier_event )parameters (block (expression_statement (assignment (identifier_key) identifier_key (att...
Pan and zoom with the keyboard.
(module (function_definition (function_name_get_clonespec_for_valid_snapshot) function_name_get_clonespec_for_valid_snapshot (parameters (identifier_config_spec) identifier_config_spec (identifier_object_ref) identifier_object_ref (identifier_reloc_spec) identifier_reloc_spec (identifi...
return clonespec only if values are valid
(module (function_definition (function_name_facts) function_name_facts (parameters )parameters (block (expression_statement (assignment (identifier_ret) identifier_ret (dictionary )dictionary )assignment )expression_statement (try_stateme...
Displays the facts gathered during the connection. These facts are also stored in Salt grains. CLI Example: .. code-block:: bash salt 'device_name' junos.facts
(module (function_definition (function_name_view_job_info) function_name_view_job_info (parameters (identifier_token) identifier_token (identifier_dstore) identifier_dstore )parameters (block (expression_statement (assignment (identifier_data) identifier_data ...
Determine the amount of data transferred from the controller node to the workers and back in a classical calculation.
(module (function_definition (function_name_get_parent_catalogs) function_name_get_parent_catalogs (parameters (identifier_self) identifier_self (identifier_catalog_id) identifier_catalog_id )parameters (block (if_statement (comparison_operator (attribute ...
Gets the parent catalogs of the given ``id``. arg: catalog_id (osid.id.Id): the ``Id`` of the ``Catalog`` to query return: (osid.cataloging.CatalogList) - the parent catalogs of the ``id`` raise: NotFound - a ``Catalog`` identified by ``Id is`` not ...
(module (function_definition (function_name__build_cookie_jar) function_name__build_cookie_jar (parameters (identifier_cls) identifier_cls (typed_parameter (identifier_session) identifier_session (type (identifier_AppSession) identifier_AppSession )type )typ...
Build the cookie jar
(module (function_definition (function_name_ms_to_datetime) function_name_ms_to_datetime (parameters (identifier_ms) identifier_ms )parameters (block (expression_statement (assignment (identifier_dt) identifier_dt (call (attribute (attr...
Converts a millisecond accuracy timestamp to a datetime
(module (function_definition (function_name_pad_char) function_name_pad_char (parameters (typed_parameter (identifier_text) identifier_text (type (identifier_str) identifier_str )type )typed_parameter (typed_parameter (identifier_width) identifier_wi...
Pads a text until length width.
(module (function_definition (function_name__call) function_name__call (parameters (identifier_self) identifier_self (identifier_x) identifier_x )parameters (block (expression_statement (assignment (identifier_pointwise_norm) identifier_pointwise_norm (cal...
Return the group L1-norm of ``x``.
(module (function_definition (function_name_polygon_from_points) function_name_polygon_from_points (parameters (identifier_points) identifier_points )parameters (block (expression_statement (assignment (identifier_polygon) identifier_polygon (list )lis...
Constructs a numpy-compatible polygon from a page representation.
(module (function_definition (function_name_bind_filter) function_name_bind_filter (parameters (identifier_self) identifier_self (identifier_direction) identifier_direction (identifier_filter_name) identifier_filter_name )parameters (block (if_statement (comparison_oper...
Adds a packet filter to this NIO. Filter "freq_drop" drops packets. Filter "capture" captures packets. :param direction: "in", "out" or "both" :param filter_name: name of the filter to apply
(module (function_definition (function_name_create_spot_datafeed_subscription) function_name_create_spot_datafeed_subscription (parameters (identifier_self) identifier_self (identifier_bucket) identifier_bucket (identifier_prefix) identifier_prefix )parameters (block (expressio...
Create a spot instance datafeed subscription for this account. :type bucket: str or unicode :param bucket: The name of the bucket where spot instance data will be written. The account issuing this request must have FULL_CONTROL access to the bucket ...
(module (function_definition (function_name_process_fields) function_name_process_fields (parameters (identifier_self) identifier_self (identifier_fields) identifier_fields )parameters (block (expression_statement (assignment (identifier_result) identifier_result ...
Process a list of simple string field definitions and assign their order based on prefix.
(module (function_definition (function_name_load_dotenv) function_name_load_dotenv (parameters (identifier_dotenv_path) identifier_dotenv_path (default_parameter (identifier_verbose) identifier_verbose (False) False )default_parameter )parameters (block (if_stat...
Read a .env file and load into os.environ. :param dotenv_path: :type dotenv_path: str :param verbose: verbosity flag, raise warning if path does not exist :return: success flag
(module (function_definition (function_name_iv) function_name_iv (parameters (identifier_b) identifier_b (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictionary_splat_pattern )parameters (block (import_statement (aliased_import (dot...
Quick access to imview for interactive sessions
(module (function_definition (function_name_withconfig) function_name_withconfig (parameters (identifier_self) identifier_self (identifier_keysuffix) identifier_keysuffix )parameters (block (function_definition (function_name_decorator) function_name_decorator (parame...
Load configurations with this decorator
(module (function_definition (function_name_run) function_name_run (parameters (identifier_self) identifier_self )parameters (block (expression_statement (call (attribute (identifier_self) identifier_self (identifier_files_exist) identifier_files_e...
Build package and fix ordelist per checksum
(module (function_definition (function_name_return_features_numpy) function_name_return_features_numpy (parameters (identifier_self) identifier_self (default_parameter (identifier_names) identifier_names (string_'all') string_'all' )default_parameter )parameters (bloc...
Returns a 2d numpy array of extracted features Parameters ---------- names : list of strings, a list of feature names which are to be retrieved from the database, if equal to 'all', all features will be returned, default value: 'all' Returns ------- A numpy arra...
(module (function_definition (function_name_query) function_name_query (parameters (identifier_self) identifier_self (identifier_variables) identifier_variables (default_parameter (identifier_evidence) identifier_evidence (None) None )default_parameter (default_pa...
Query method using belief propagation. Parameters ---------- variables: list list of variables for which you want to compute the probability evidence: dict a dict key, value pair as {var: state_of_var_observed} None if no evidence joint: boo...
(module (function_definition (function_name_getReferenceByName) function_name_getReferenceByName (parameters (identifier_self) identifier_self (identifier_name) identifier_name )parameters (block (if_statement (comparison_operator (identifier_name) identifier_name ...
Returns the reference with the specified name.
(module (function_definition (function_name_add_token_to_namespace) function_name_add_token_to_namespace (parameters (identifier_self) identifier_self (typed_parameter (identifier_token) identifier_token (type (identifier_str) identifier_str )type )typed_par...
Adds ``token`` to the index, if it is not already present. Either way, we return the index of the token.
(module (function_definition (function_name_get_vexrc) function_name_get_vexrc (parameters (identifier_options) identifier_options (identifier_environ) identifier_environ )parameters (block (if_statement (boolean_operator (attribute (identifier_options) ...
Get a representation of the contents of the config file. :returns: a Vexrc instance.