sequence
stringlengths
557
12.7k
docstring
stringlengths
4
15.2k
(module (function_definition (function_name_get_config_object) function_name_get_config_object (parameters )parameters (block (global_statement (identifier__DEFAULT_CONFIG_WRAPPER) identifier__DEFAULT_CONFIG_WRAPPER )global_statement (if_statement (comparison_operator...
Thread-safe accessor for the immutable default ConfigWrapper object
(module (function_definition (function_name_create_cas_validate_url) function_name_create_cas_validate_url (parameters (identifier_cas_url) identifier_cas_url (identifier_cas_route) identifier_cas_route (identifier_service) identifier_service (identifier_ticket) identifier_ticket ...
Create a CAS validate URL. Keyword arguments: cas_url -- The url to the CAS (ex. http://sso.pdx.edu) cas_route -- The route where the CAS lives on server (ex. /cas/serviceValidate) service -- (ex. http://localhost:5000/login) ticket -- (ex. 'ST-58274-x839euFek492ou832Eena7ee-cas') renew -- "tr...
(module (function_definition (function_name__request_token) function_name__request_token (parameters (identifier_self) identifier_self (default_parameter (identifier_force) identifier_force (False) False )default_parameter )parameters (block (if_statement ...
Request a new auth token
(module (function_definition (function_name_reraise_if_any) function_name_reraise_if_any (parameters (identifier_failures) identifier_failures (default_parameter (identifier_cause_cls_finder) identifier_cause_cls_finder (None) None )default_parameter )parameters (bloc...
Re-raise exceptions if argument is not empty. If argument is empty list/tuple/iterator, this method returns None. If argument is converted into a list with a single ``Failure`` object in it, that failure is reraised. Else, a :class:`~.WrappedFailure` exception is raised with the failure...
(module (function_definition (function_name__clear_policy) function_name__clear_policy (parameters (identifier_self) identifier_self (identifier_lambda_name) identifier_lambda_name )parameters (block (try_statement (block (expression_statement (assignmen...
Remove obsolete policy statements to prevent policy from bloating over the limit after repeated updates.
(module (function_definition (function_name_session_rollback) function_name_session_rollback (parameters (identifier_self) identifier_self (identifier_session) identifier_session )parameters (block (if_statement (not_operator (call (identifier_hasattr) i...
Send session_rollback signal in sqlalchemy ``after_rollback``. This marks the failure of session so the session may enter commit phase.
(module (function_definition (function_name_norm) function_name_norm (parameters (identifier_x) identifier_x (identifier_mu) identifier_mu (default_parameter (identifier_sigma) identifier_sigma (float_1.0) float_1.0 )default_parameter )parameters (block (r...
Scipy norm function
(module (function_definition (function_name_disconnect_sync) function_name_disconnect_sync (parameters (identifier_self) identifier_self (identifier_conn_id) identifier_conn_id )parameters (block (expression_statement (assignment (identifier_done) identifier_done ...
Synchronously disconnect from a connected device Args: conn_id (int): A unique identifier that will refer to this connection Returns: dict: A dictionary with two elements 'success': a bool with the result of the connection attempt 'failure_reason...
(module (function_definition (function_name_get_byte_array) function_name_get_byte_array (parameters (identifier_integer) identifier_integer )parameters (block (return_statement (call (attribute (identifier_int) identifier_int (identifier_to_bytes)...
Return the variable length bytes corresponding to the given int
(module (function_definition (function_name_get_book_info) function_name_get_book_info (parameters (identifier_cursor) identifier_cursor (identifier_real_dict_cursor) identifier_real_dict_cursor (identifier_book_id) identifier_book_id (identifier_book_version) identifier_book_version ...
Return information about a given book. Return the book's title, id, shortId, authors and revised date. Raise HTTPNotFound if the page is not in the book.
(module (function_definition (function_name_use_theme) function_name_use_theme (parameters (identifier_theme) identifier_theme )parameters (block (global_statement (identifier_current) identifier_current )global_statement (expression_statement (assignment ...
Make the given theme current. There are two included themes: light_theme, dark_theme.
(module (function_definition (function_name_search_certificate) function_name_search_certificate (parameters (identifier_self) identifier_self (identifier_hash) identifier_hash )parameters (block (expression_statement (assignment (identifier_c) identifier_c ...
Searches for a specific certificate using its hash :param hash: certificate hash :type hash: str :return: dict
(module (function_definition (function_name__extra_compile_time_classpath) function_name__extra_compile_time_classpath (parameters (identifier_self) identifier_self )parameters (block (function_definition (function_name_extra_compile_classpath_iter) function_name_extra_compile_clas...
Compute any extra compile-time-only classpath elements.
(module (function_definition (function_name__watchdog) function_name__watchdog (parameters (identifier_self) identifier_self (identifier_timeout) identifier_timeout )parameters (block (expression_statement (await (call (attribute (identifie...
Trigger and cancel the watchdog after timeout. Call callback.
(module (function_definition (function_name_is_file) function_name_is_file (parameters (identifier_dirname) identifier_dirname )parameters (block (if_statement (not_operator (call (attribute (attribute (identifier_os) identifier_o...
Checks if a path is an actual file that exists
(module (function_definition (function_name_pid) function_name_pid (parameters (identifier_name) identifier_name )parameters (block (try_statement (block (return_statement (call (identifier_int) identifier_int (argument_list ...
Returns the PID of a container name Container name CLI Example: .. code-block:: bash salt myminion nspawn.pid arch1
(module (function_definition (function_name_get_scope_path) function_name_get_scope_path (parameters (identifier_self) identifier_self (default_parameter (identifier_scope_separator) identifier_scope_separator (string_"::") string_"::" )default_parameter )parameters (...
Generate a string that represents this component's declaration namespace scope. Parameters ---------- scope_separator: str Override the separator between namespace scopes
(module (function_definition (function_name_modify_column_if_table_exists) function_name_modify_column_if_table_exists (parameters (identifier_self) identifier_self (typed_parameter (identifier_tablename) identifier_tablename (type (identifier_str) identifier_str ...
Alters a column's definition without renaming it.
(module (function_definition (function_name_clean_resource_json) function_name_clean_resource_json (parameters (identifier_resource_json) identifier_resource_json )parameters (block (for_statement (identifier_a) identifier_a (tuple (string_'parent_docname') string...
The catalog wants to be smaller, let's drop some stuff
(module (function_definition (function_name__validate_timeout) function_name__validate_timeout (parameters (typed_parameter (identifier_seconds) identifier_seconds (type (identifier_float) identifier_float )type )typed_parameter )parameters (block (e...
Creates an int from 60000 to 4294967294 that represents a valid millisecond wireless LAN timeout
(module (function_definition (function_name_union) function_name_union (parameters (identifier_self) identifier_self (identifier_other) identifier_other (default_parameter (identifier_renorm) identifier_renorm (True) True )default_parameter )parameters (block ...
Add another Region by performing union on their pixlists. Parameters ---------- other : :class:`AegeanTools.regions.Region` The region to be combined. renorm : bool Perform renormalisation after the operation? Default = True.
(module (function_definition (function_name_runGetContinuousSet) function_name_runGetContinuousSet (parameters (identifier_self) identifier_self (identifier_id_) identifier_id_ )parameters (block (expression_statement (assignment (identifier_compoundId) identifier_c...
Runs a getContinuousSet request for the specified ID.
(module (function_definition (function_name__produce_return) function_name__produce_return (parameters (identifier_self) identifier_self (identifier_cursor) identifier_cursor )parameters (block (expression_statement (assignment (identifier_results) identifier_result...
Get the rows from the cursor and apply the row formatter. :return: sequence of rows, or a generator if a row formatter has to be applied
(module (function_definition (function_name_upload_file_boto) function_name_upload_file_boto (parameters (identifier_fname) identifier_fname (identifier_remote_fname) identifier_remote_fname (default_parameter (identifier_mditems) identifier_mditems (None) None )default...
Upload a file using boto instead of external tools.
(module (function_definition (function_name_create) function_name_create (parameters )parameters (block (if_statement (not_operator (call (identifier_all) identifier_all (argument_list (call (identifier_map) identifier_map ...
Create a new database with information about the films in the specified directory or directories.
(module (function_definition (function_name__row_resized) function_name__row_resized (parameters (identifier_self) identifier_self (identifier_row) identifier_row (identifier_old_height) identifier_old_height (identifier_new_height) identifier_new_height )parameters (block ...
Update the row height.
(module (function_definition (function_name_clean_structure) function_name_clean_structure (parameters (identifier_self) identifier_self (default_parameter (identifier_out_suffix) identifier_out_suffix (string_'_clean') string_'_clean' )default_parameter (default_parame...
Clean the structure file associated with this structure, and save it as a new file. Returns the file path. Args: out_suffix (str): Suffix to append to original filename outdir (str): Path to output directory force_rerun (bool): If structure should be re-cleaned if a clean fi...
(module (function_definition (function_name_fire_ret_load) function_name_fire_ret_load (parameters (identifier_self) identifier_self (identifier_load) identifier_load )parameters (block (if_statement (boolean_operator (call (attribute (iden...
Fire events based on information in the return load
(module (function_definition (function_name_output_file_name) function_name_output_file_name (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_safe_path) identifier_safe_path (call (attribu...
Name of the file where plugin's output should be written to.
(module (function_definition (function_name_addRow) function_name_addRow (parameters (identifier_self) identifier_self (list_splat_pattern (identifier_row) identifier_row )list_splat_pattern )parameters (block (expression_statement (assignment (identif...
Add a row to the table. All items are converted to strings. @type row: tuple @keyword row: Each argument is a cell in the table.
(module (function_definition (function_name_patch) function_name_patch (parameters )parameters (block (import_from_statement (dotted_name (identifier_twisted) identifier_twisted (identifier_application) identifier_application (identifier_service) identifier_...
Patch startService and stopService so that they check the previous state first. (used for debugging only)
(module (function_definition (function_name_transform_sources) function_name_transform_sources (parameters (identifier_self) identifier_self (identifier_sources) identifier_sources (default_parameter (identifier_with_string) identifier_with_string (False) False )default...
Get the defintions of needed strings and functions after replacement.
(module (function_definition (function_name_get_url) function_name_get_url (parameters (identifier_self) identifier_self (list_splat_pattern (identifier_paths) identifier_paths )list_splat_pattern (dictionary_splat_pattern (identifier_params) identifier_params )di...
Returns the URL for this request. :param paths: Additional URL path parts to add to the request :param params: Additional query parameters to add to the request
(module (function_definition (function_name_update_contributions) function_name_update_contributions (parameters (identifier_sender) identifier_sender (identifier_instance) identifier_instance (identifier_action) identifier_action (identifier_model) identifier_model (identifier_p...
Creates a contribution for each author added to an article.
(module (function_definition (function_name__registerHandler) function_name__registerHandler (parameters (identifier_self) identifier_self (identifier_handler) identifier_handler )parameters (block (expression_statement (call (attribute (attribute ...
Registers a handler. :param handler: A handler object.
(module (function_definition (function_name_get_line_break_property) function_name_get_line_break_property (parameters (identifier_value) identifier_value (default_parameter (identifier_is_bytes) identifier_is_bytes (False) False )default_parameter )parameters (block ...
Get `LINE BREAK` property.
(module (function_definition (function_name_dump_wcxf) function_name_dump_wcxf (parameters (identifier_self) identifier_self (identifier_C_out) identifier_C_out (identifier_scale_out) identifier_scale_out (default_parameter (identifier_fmt) identifier_fmt (string_'yaml'...
Return a string representation of the Wilson coefficients `C_out` in WCxf format. If `stream` is specified, export it to a file. `fmt` defaults to `yaml`, but can also be `json`. Note that the Wilson coefficients are rotated into the Warsaw basis as defined in WCxf, i.e. to the basis wh...
(module (function_definition (function_name_get_random) function_name_get_random (parameters (identifier_self) identifier_self )parameters (block (import_statement (dotted_name (identifier_random) identifier_random )dotted_name )import_statement (expre...
Returns a random statement from the database.
(module (function_definition (function_name_get_partial_contenthandler) function_name_get_partial_contenthandler (parameters (identifier_element) identifier_element )parameters (block (import_from_statement (dotted_name (identifier_ligo) identifier_ligo (identif...
Build a `PartialLIGOLWContentHandler` to read only this element Parameters ---------- element : `type`, subclass of :class:`~ligo.lw.ligolw.Element` the element class to be read, Returns ------- contenthandler : `type` a subclass of :class:`~ligo.lw.ligolw.PartialLIGOLWContentH...
(module (function_definition (function_name_components) function_name_components (parameters (identifier_accountable) identifier_accountable (identifier_project_key) identifier_project_key )parameters (block (expression_statement (assignment (identifier_components) ...
Returns a list of all a project's components.
(module (function_definition (function_name_getfile) function_name_getfile (parameters (identifier_data_name) identifier_data_name (identifier_path) identifier_path )parameters (block (expression_statement (assignment (identifier_data_source) identifier_data_source ...
Download a specific file from a dataset.
(module (function_definition (function_name_find_types) function_name_find_types (parameters (identifier_self) identifier_self (default_parameter (identifier_site) identifier_site (None) None )default_parameter (default_parameter (identifier_match) identifier_ma...
Return the list of known data types. This is just the basename of each FFL file found in the FFL directory (minus the ``.ffl`` extension)
(module (function_definition (function_name_reset) function_name_reset (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (attribute (identifier_self) identifier_self (identifier_gametree) identifier_...
Set 'Cursor' to point to the start of the root 'GameTree', 'self.game'.
(module (function_definition (function_name_namespace) function_name_namespace (parameters (identifier_self) identifier_self (identifier_namespace) identifier_namespace (default_parameter (identifier_to) identifier_to (None) None )default_parameter )parameters (...
Filter by namespace. Try to guess which field to use in lookup. Accept 'to' argument if you need to specify.
(module (function_definition (function_name_askForFolder) function_name_askForFolder (parameters (identifier_parent) identifier_parent (default_parameter (identifier_msg) identifier_msg (None) None )default_parameter )parameters (block (expression_statement ...
Asks for a folder, opening the corresponding dialog with the last path that was selected when this same function was invoked from the calling method :param parent: The parent window :param msg: The message to use for the dialog title
(module (function_definition (function_name_unmarshall_value) function_name_unmarshall_value (parameters (identifier_self) identifier_self (identifier_value) identifier_value )parameters (block (expression_statement (assignment (identifier_value) identifier_value ...
Unmarshalls a Crash object read from the database. @type value: str @param value: Object to convert. @rtype: L{Crash} @return: Converted object.
(module (function_definition (function_name_probe) function_name_probe (parameters (identifier_self) identifier_self (typed_parameter (identifier_axis) identifier_axis (type (identifier_str) identifier_str )type )typed_parameter (typed_parameter ...
Run a probe and return the new position dict
(module (function_definition (function_name_ensure_size) function_name_ensure_size (parameters (identifier_self) identifier_self (default_parameter (identifier_size) identifier_size (None) None )default_parameter )parameters (block (if_statement (compari...
This function removes the least frequent elements until the size constraint is met.
(module (function_definition (function_name_files) function_name_files (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_all_files) identifier_all_files (call (identifier_set) identifier_se...
Get all files in the chroot.
(module (function_definition (function_name_encode_datetime) function_name_encode_datetime (parameters (identifier_o) identifier_o )parameters (block (expression_statement (assignment (identifier_r) identifier_r (call (attribute (identi...
Encodes a Python datetime.datetime object as an ECMA-262 compliant datetime string.
(module (function_definition (function_name_image) function_name_image (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (pattern_list (identifier_slide_part) identifier_slide_part (identifier_rId) i...
An |Image| object providing access to the properties and bytes of the image in this picture shape.
(module (function_definition (function_name_estimate_bg) function_name_estimate_bg (parameters (identifier_self) identifier_self (default_parameter (identifier_fit_offset) identifier_fit_offset (string_"mean") string_"mean" )default_parameter (default_parameter ...
Estimate image background Parameters ---------- fit_profile: str The type of background profile to fit: - "offset": offset only - "poly2o": 2D 2nd order polynomial with mixed terms - "tilt": 2D linear tilt with offset (default) fit_offset...
(module (function_definition (function_name_create_metadata) function_name_create_metadata (parameters (identifier_self) identifier_self (dictionary_splat_pattern (identifier_params) identifier_params )dictionary_splat_pattern )parameters (block (expression_statement ...
Adds metadata to a media element, such as image descriptions for visually impaired. Docs: https://developer.twitter.com/en/docs/media/upload-media/api-reference/post-media-metadata-create
(module (function_definition (function_name_get_last_scene_time) function_name_get_last_scene_time (parameters (identifier_self) identifier_self (default_parameter (identifier_refresh) identifier_refresh (False) False )default_parameter )parameters (block (if_st...
Get last scene time. Refresh data from Vera if refresh is True, otherwise use local cache. Refresh is only needed if you're not using subscriptions.
(module (function_definition (function_name__check_email_changed) function_name__check_email_changed (parameters (identifier_cls) identifier_cls (identifier_username) identifier_username (identifier_email) identifier_email )parameters (block (expression_statement (assig...
Compares email to one set on SeAT
(module (function_definition (function_name_histogram) function_name_histogram (parameters (identifier_self) identifier_self (default_parameter (identifier_bmus) identifier_bmus (None) None )default_parameter )parameters (block (if_statement (comparison_...
\ Return a 2D histogram of bmus. :param bmus: the best-match units indexes for underlying data. :type bmus: :class:`numpy.ndarray` :returns: the computed 2D histogram of bmus. :rtype: :class:`numpy.ndarray`
(module (function_definition (function_name_getReliableListeners) function_name_getReliableListeners (parameters (identifier_self) identifier_self )parameters (block (for_statement (identifier_rellist) identifier_rellist (call (attribute (attribute ...
Return an iterable of the listeners which have been added to this batch processor.
(module (function_definition (function_name__raw_aspera_metadata) function_name__raw_aspera_metadata (parameters (identifier_self) identifier_self (identifier_bucket) identifier_bucket )parameters (block (expression_statement (assignment (identifier_response) identi...
get the Aspera connection details on Aspera enabled buckets
(module (function_definition (function_name_get) function_name_get (parameters (identifier_self) identifier_self (identifier_query) identifier_query (identifier_sort) identifier_sort (identifier_page) identifier_page (identifier_size) identifier_size )parameters (block ...
Get a list of all the communities. .. http:get:: /communities/(string:id) Returns a JSON list with all the communities. **Request**: .. sourcecode:: http GET /communities HTTP/1.1 Accept: application/json Content-Type: applicat...
(module (function_definition (function_name_on_click) function_name_on_click (parameters (identifier_self) identifier_self (identifier_button) identifier_button (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictionary_splat_pattern )parameters (block ...
Maps a click event with its associated callback. Currently implemented events are: ============ ================ ========= Event Callback setting Button ID ============ ================ ========= Left click on_leftclick 1 Middle click on_middleclic...
(module (function_definition (function_name__match_registers) function_name__match_registers (parameters (identifier_self) identifier_self (identifier_query) identifier_query )parameters (block (if_statement (comparison_operator (identifier_query) identifier_query ...
Tries to match in status registers :param query: message tuple :type query: Tuple[bytes] :return: response if found or None :rtype: Tuple[bytes] | None
(module (function_definition (function_name_get_perm_codename) function_name_get_perm_codename (parameters (identifier_perm) identifier_perm (default_parameter (identifier_fail_silently) identifier_fail_silently (True) True )default_parameter )parameters (block ...
Get permission codename from permission-string. Examples -------- >>> get_perm_codename('app_label.codename_model') 'codename_model' >>> get_perm_codename('app_label.codename') 'codename' >>> get_perm_codename('codename_model') 'codename_model' >>> get_perm_codename('codename') ...
(module (function_definition (function_name_add_item) function_name_add_item (parameters (identifier_self) identifier_self (identifier_item) identifier_item )parameters (block (if_statement (not_operator (parenthesized_expression (boolean_operator ...
Add single command line flag Arguments: name (:obj:`str`): Name of flag used in command line flag_type (:py:class:`snap_plugin.v1.plugin.FlagType`): Indication if flag should store value or is simple bool flag description (:obj:`str`): Flag description used i...
(module (function_definition (function_name__cache_key_select_sample_type) function_name__cache_key_select_sample_type (parameters (identifier_method) identifier_method (identifier_self) identifier_self (default_parameter (identifier_allow_blank) identifier_allow_blank (True)...
This function returns the key used to decide if method select_sample_type has to be recomputed
(module (function_definition (function_name_ddns) function_name_ddns (parameters (identifier_self) identifier_self (identifier_domain_id) identifier_domain_id (identifier_record_id) identifier_record_id (identifier_sub_domain) identifier_sub_domain (identifier_record_line) identi...
Update record's value dynamically If the ``value`` is different from the record's current value, then perform a dynamic record update. Otherwise, nothing will be done. :param str domain_id: Domain ID :param str record_id: Record ID :param str sub_domain: Sub domain of domain (e...
(module (function_definition (function_name_write) function_name_write (parameters (identifier_filename) identifier_filename (identifier_mesh) identifier_mesh (identifier_fmt_version) identifier_fmt_version (default_parameter (identifier_write_binary) identifier_write_binary ...
Writes a Gmsh msh file.
(module (function_definition (function_name_delete_files_in_folder) function_name_delete_files_in_folder (parameters (identifier_fldr) identifier_fldr )parameters (block (expression_statement (assignment (identifier_fl) identifier_fl (call (attribute...
delete all files in folder 'fldr'
(module (function_definition (function_name_check_syntax) function_name_check_syntax (parameters (identifier_string) identifier_string )parameters (block (expression_statement (assignment (identifier_args) identifier_args (list (string_"ecpg") string...
Check syntax of a string of PostgreSQL-dialect SQL
(module (function_definition (function_name_get_index_mappings) function_name_get_index_mappings (parameters (identifier_self) identifier_self (identifier_index) identifier_index )parameters (block (expression_statement (assignment (identifier_fields_arr) identifier...
Converts all index's doc_types to .kibana
(module (function_definition (function_name_load) function_name_load (parameters (identifier_cls) identifier_cls (identifier_path) identifier_path )parameters (block (expression_statement (assignment (identifier_data) identifier_data (call (att...
Load a SOM from a JSON file saved with this package.. Parameters ---------- path : str The path to the JSON file. Returns ------- s : cls A som of the specified class.
(module (function_definition (function_name__http_request) function_name__http_request (parameters (identifier_url) identifier_url (default_parameter (identifier_request_timeout) identifier_request_timeout (None) None )default_parameter )parameters (block (expre...
PRIVATE METHOD Uses salt.utils.json.load to fetch the JSON results from the solr API. url : str a complete URL that can be passed to urllib.open request_timeout : int (None) The number of seconds before the timeout should fail. Leave blank/None to use the default. __opts__['solr.req...
(module (function_definition (function_name_create_polynoms) function_name_create_polynoms (parameters )parameters (block (expression_statement (assignment (identifier_fname) identifier_fname (call (attribute (identifier_pr) identifier_pr ...
Create and return poly1d objects. Uses the parameters from Morgan to create poly1d objects for calculations.
(module (function_definition (function_name_implemented_methods) function_name_implemented_methods (parameters (identifier_cls) identifier_cls )parameters (block (if_statement (attribute (identifier_cls) identifier_cls (identifier___implemented_methods) identifi...
Return a mapping of implemented HTTP methods vs. their callbacks.
(module (function_definition (function_name_challenge_auth) function_name_challenge_auth (parameters (identifier_username) identifier_username (identifier_password) identifier_password (identifier_challenge) identifier_challenge (identifier_lower) identifier_lower (default_parame...
Calculates quakenet's challenge auth hash .. code-block:: python >>> challenge_auth("mooking", "0000000000", ... "12345678901234567890123456789012", str.lower, "md5") '2ed1a1f1d2cd5487d2e18f27213286b9'
(module (function_definition (function_name_add_primary_text) function_name_add_primary_text (parameters (identifier_self) identifier_self (identifier_item_url) identifier_item_url (identifier_primary_text) identifier_primary_text )parameters (block (expression_statement ...
Add the given primary text to the cache database, updating the existing record if the primary text is already present :type item_url: String or Item :param item_url: the URL of the corresponding item, or an Item object :type primary_text: String :param primary_text: the item's p...
(module (function_definition (function_name__copy_scratch_to_state) function_name__copy_scratch_to_state (parameters (typed_parameter (identifier_args) identifier_args (type (generic_type (identifier_Dict) identifier_Dict (type_parameter (t...
Copes scratch shards to state shards.
(module (function_definition (function_name_parsePositionFile) function_name_parsePositionFile (parameters (identifier_filename) identifier_filename )parameters (block (expression_statement (assignment (identifier_l) identifier_l (list )list )a...
Parses Android GPS logger csv file and returns list of dictionaries
(module (function_definition (function_name_excise) function_name_excise (parameters (identifier_self) identifier_self (identifier_ngrams) identifier_ngrams (identifier_replacement) identifier_replacement )parameters (block (expression_statement (assignment (i...
Returns the token content of this text with every occurrence of each n-gram in `ngrams` replaced with `replacement`. The replacing is performed on each n-gram by descending order of length. :param ngrams: n-grams to be replaced :type ngrams: `list` of `str` :param repla...
(module (function_definition (function_name_pack) function_name_pack (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (pattern_list (identifier_sn) identifier_sn (identifier_sa) identifier_sa ...
Pack the service code for transmission. Returns a 2 byte string.
(module (function_definition (function_name_postIncidents) function_name_postIncidents (parameters (identifier_self) identifier_self (identifier_name) identifier_name (identifier_message) identifier_message (identifier_status) identifier_status (identifier_visible) identifier_vis...
Create a new incident. :param name: Name of the incident :param message: A message (supporting Markdown) to explain more. :param status: Status of the incident. :param visible: Whether the incident is publicly visible. :param component_id: (optional) Component to update. ...
(module (function_definition (function_name__get_disksize_MiB) function_name__get_disksize_MiB (parameters (identifier_iLOIP) identifier_iLOIP (identifier_cred) identifier_cred )parameters (block (expression_statement (assignment (identifier_result) identifier_resul...
Reads the dictionary of parsed MIBs and gets the disk size. :param iLOIP: IP address of the server on which SNMP discovery has to be executed. :param snmp_credentials in a dictionary having following mandatory keys. auth_user: SNMP user auth_protocol: Auth Pro...
(module (function_definition (function_name_process_request) function_name_process_request (parameters (identifier_self) identifier_self (identifier_request) identifier_request (identifier_client_address) identifier_client_address )parameters (block (expression_statement ...
Fork a new subprocess to process the request.
(module (function_definition (function_name_getVersion) function_name_getVersion (parameters )parameters (block (expression_statement (call (identifier_print) identifier_print (argument_list (string_'epochs version:') string_'epochs version:' (...
Shows the code version.
(module (function_definition (function_name_guess_lexer_using_filename) function_name_guess_lexer_using_filename (parameters (identifier_file_name) identifier_file_name (identifier_text) identifier_text )parameters (block (expression_statement (assignment (pattern_l...
Guess lexer for given text, limited to lexers for this file's extension. Returns a tuple of (lexer, accuracy).
(module (function_definition (function_name_get_sequence) function_name_get_sequence (parameters (identifier_self) identifier_self (identifier_chrom) identifier_chrom (identifier_start) identifier_start (identifier_end) identifier_end (default_parameter (identifier_strand...
Retrieve a sequence
(module (function_definition (function_name_to_json) function_name_to_json (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_data) identifier_data (call (attribute (identifier...
put the object to json and remove the internal stuff salesking schema stores the type in the title
(module (function_definition (function_name_inxsearch) function_name_inxsearch (parameters (identifier_self) identifier_self (identifier_r) identifier_r (identifier_g) identifier_g (identifier_b) identifier_b )parameters (block (expression_statement (assignment ...
Search for BGR values 0..255 and return colour index
(module (function_definition (function_name_get) function_name_get (parameters (identifier_self) identifier_self (identifier_pid) identifier_pid (identifier_record) identifier_record (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictionary_splat_pattern...
Get a record. Permissions: ``read_permission_factory`` Procedure description: #. The record is resolved reading the pid value from the url. #. The ETag and If-Modifed-Since is checked. #. The HTTP response is built with the help of the link factory. :param pid: Pers...
(module (function_definition (function_name__has_manual_kern_feature) function_name__has_manual_kern_feature (parameters (identifier_font) identifier_font )parameters (block (return_statement (call (identifier_any) identifier_any (generator_expression ...
Return true if the GSFont contains a manually written 'kern' feature.
(module (function_definition (function_name_create_or_get_keypair) function_name_create_or_get_keypair (parameters (identifier_self) identifier_self (identifier_nova) identifier_nova (default_parameter (identifier_keypair_name) identifier_keypair_name (string_"testkey") strin...
Create a new keypair, or return pointer if it already exists.
(module (function_definition (function_name__open) function_name__open (parameters (identifier_file) identifier_file (default_parameter (identifier_mode) identifier_mode (string_'copyonwrite') string_'copyonwrite' )default_parameter )parameters (block (import_st...
Opens a FITS format file and calls _open_fix if header doesn't verify correctly.
(module (function_definition (function_name__get_decision_trees_bulk) function_name__get_decision_trees_bulk (parameters (identifier_self) identifier_self (identifier_payload) identifier_payload (identifier_valid_indices) identifier_valid_indices (identifier_invalid_indices) identifier...
Tool for the function get_decision_trees_bulk. :param list payload: contains the informations necessary for getting the trees. Its form is the same than for the function. get_decision_trees_bulk. :param list valid_indices: list of the indices of the valid agent id. :param list invalid_indices: list...
(module (function_definition (function_name_nl_socket_modify_err_cb) function_name_nl_socket_modify_err_cb (parameters (identifier_sk) identifier_sk (identifier_kind) identifier_kind (identifier_func) identifier_func (identifier_arg) identifier_arg )parameters (block (ret...
Modify the error callback handler associated with the socket. https://github.com/thom311/libnl/blob/libnl3_2_25/lib/socket.c#L649 Positional arguments: sk -- Netlink socket (nl_sock class instance). kind -- kind of callback (integer). func -- callback function. arg -- argument to be passed to ...
(module (function_definition (function_name__get_keywords) function_name__get_keywords (parameters (identifier_self) identifier_self (identifier_location) identifier_location (identifier_keywords) identifier_keywords )parameters (block (if_statement (comparison_operator...
Format GET request's parameters from keywords.
(module (function_definition (function_name__remove_exts) function_name__remove_exts (parameters (identifier_self) identifier_self (identifier_string) identifier_string )parameters (block (if_statement (call (attribute (call (attribute ...
Sets the string, to create the Robohash
(module (function_definition (function_name_deallocate_network_ipv4) function_name_deallocate_network_ipv4 (parameters (identifier_self) identifier_self (identifier_id_network_ipv4) identifier_id_network_ipv4 )parameters (block (if_statement (not_operator (call ...
Deallocate all relationships between NetworkIPv4. :param id_network_ipv4: ID for NetworkIPv4 :return: Nothing :raise InvalidParameterError: Invalid ID for NetworkIPv4. :raise NetworkIPv4NotFoundError: NetworkIPv4 not found. :raise DataBaseError: Networkapi failed to access the...
(module (function_definition (function_name_run_asgi) function_name_run_asgi (parameters (identifier_self) identifier_self )parameters (block (try_statement (block (expression_statement (assignment (identifier_result) identifier_result ...
Wrapper around the ASGI callable, handling exceptions and unexpected termination states.
(module (function_definition (function_name_info) function_name_info (parameters (identifier_gandi) identifier_gandi )parameters (block (expression_statement (assignment (identifier_output_keys) identifier_output_keys (list (string_'handle') string_'...
Display information about hosting account.
(module (function_definition (function_name_package_version) function_name_package_version (parameters (typed_parameter (identifier_package_name) identifier_package_name (type (identifier_str) identifier_str )type )typed_parameter )parameters (type (...
Returns package version as a string, or None if it couldn't be found.
(module (function_definition (function_name_multiply_encrypted_to_plaintext) function_name_multiply_encrypted_to_plaintext (parameters (identifier_public) identifier_public (identifier_encrypted) identifier_encrypted (identifier_plaintext) identifier_plaintext (identifier_output) ident...
Multiply encrypted num with unencrypted num. Requires a PUBLIC key file, a number ENCRYPTED with that public key also as a file, and the PLAINTEXT number to multiply. Creates a new encrypted number.