sequence
stringlengths
557
12.7k
docstring
stringlengths
4
15.2k
(module (function_definition (function_name_time_at_elevation) function_name_time_at_elevation (parameters (identifier_self) identifier_self (identifier_elevation) identifier_elevation (default_parameter (identifier_direction) identifier_direction (identifier_SUN_RISING) iden...
Calculate the time when the sun is at the specified elevation. Note: This method uses positive elevations for those above the horizon. Elevations greater than 90 degrees are converted to a setting sun i.e. an elevation of 110 will calculate a setting sun at 70 degrees. ...
(module (function_definition (function_name_read_string_from_file) function_name_read_string_from_file (parameters (identifier_path) identifier_path (default_parameter (identifier_encoding) identifier_encoding (string_"utf8") string_"utf8" )default_parameter )parameters ...
Read entire contents of file into a string.
(module (function_definition (function_name_storeFASTA) function_name_storeFASTA (parameters (identifier_fastaFNH) identifier_fastaFNH )parameters (block (expression_statement (assignment (identifier_fasta) identifier_fasta (call (attribute ...
Parse the records in a FASTA-format file by first reading the entire file into memory. :type source: path to FAST file or open file handle :param source: The data source from which to parse the FASTA records. Expects the input to resolve to a collection that can be iterated through, such as ...
(module (function_definition (function_name_get_description) function_name_get_description (parameters (identifier_self) identifier_self (default_parameter (identifier_lang) identifier_lang (None) None )default_parameter )parameters (block (return_statement ...
Get the DC description of the object :param lang: Lang to retrieve :return: Description string representation :rtype: Literal
(module (function_definition (function_name_indexOfClosest) function_name_indexOfClosest (parameters (identifier_arr) identifier_arr (identifier_val) identifier_val )parameters (block (expression_statement (assignment (identifier_i_closest) identifier_i_closest ...
Return the index in arr of the closest float value to val.
(module (function_definition (function_name__infer_binop) function_name__infer_binop (parameters (identifier_self) identifier_self (identifier_context) identifier_context )parameters (block (expression_statement (assignment (identifier_left) identifier_left ...
Binary operation inference logic.
(module (function_definition (function_name__set_upload_status) function_name__set_upload_status (parameters (identifier_self) identifier_self (identifier_file_data_object) identifier_file_data_object (identifier_upload_status) identifier_upload_status )parameters (block (expre...
Set file_data_object.file_resource.upload_status
(module (function_definition (function_name___execute_rot) function_name___execute_rot (parameters (identifier_self) identifier_self (identifier_surface) identifier_surface )parameters (block (expression_statement (assignment (attribute (identifier_self)...
Executes the rotating operation
(module (function_definition (function_name_safe_better_repr) function_name_safe_better_repr (parameters (identifier_self) identifier_self (identifier_obj) identifier_obj (default_parameter (identifier_context) identifier_context (None) None )default_parameter (de...
Repr with inspect links on objects
(module (function_definition (function_name_wrap_all) function_name_wrap_all (parameters (identifier_self) identifier_self (typed_parameter (identifier_rows) identifier_rows (type (generic_type (identifier_Iterable) identifier_Iterable (type_parame...
Return row tuple for each row in rows.
(module (function_definition (function_name_print_languages_and_exit) function_name_print_languages_and_exit (parameters (identifier_lst) identifier_lst (default_parameter (identifier_status) identifier_status (integer_1) integer_1 )default_parameter (default_parameter ...
print a list of languages and exit
(module (function_definition (function_name__terminate_process_iou) function_name__terminate_process_iou (parameters (identifier_self) identifier_self )parameters (block (if_statement (attribute (identifier_self) identifier_self (identifier__iou_process) identif...
Terminate the IOU process if running
(module (function_definition (function_name_peek) function_name_peek (parameters (identifier_self) identifier_self (typed_parameter (identifier_iroute) identifier_iroute (type (string_"InstanceRoute") string_"InstanceRoute" )type )typed_parameter )parame...
Return a value within the receiver's subtree. Args: iroute: Instance route (relative to the receiver).
(module (function_definition (function_name_delete_sandbox) function_name_delete_sandbox (parameters (identifier_self) identifier_self (identifier_si) identifier_si (identifier_logger) identifier_logger (identifier_vcenter_data_model) identifier_vcenter_data_model (identifier_del...
Deletes a saved sandbox's artifacts :param vcenter_data_model: VMwarevCenterResourceModel :param vim.ServiceInstance si: py_vmomi service instance :type si: vim.ServiceInstance :param logger: Logger :type logger: cloudshell.core.logger.qs_logger.get_qs_logger :param list...
(module (function_definition (function_name_get_execution_host_info) function_name_get_execution_host_info (parameters )parameters (block (expression_statement (assignment (identifier_host) identifier_host (call (attribute (attribute ...
Tries to return a tuple describing the execution host. Doesn't work for all queueing systems Returns: (HOSTNAME, CLUSTER_NAME)
(module (function_definition (function_name_setValue) function_name_setValue (parameters (identifier_self) identifier_self (identifier_value) identifier_value )parameters (block (if_statement (call (identifier_isinstance) identifier_isinstance (argument_li...
Set the attributes value @param value: The new value (may be None) @type value: basestring @return: self @rtype: L{Attribute}
(module (function_definition (function_name_get_column) function_name_get_column (parameters (identifier_self) identifier_self (identifier_chrom) identifier_chrom (identifier_position) identifier_position (default_parameter (identifier_missing_seqs) identifier_missing_seqs ...
Get the alignment column at the specified chromosome and position.
(module (function_definition (function_name__disable_access_key) function_name__disable_access_key (parameters (identifier_self) identifier_self (default_parameter (identifier_force_disable_self) identifier_force_disable_self (False) False )default_parameter )parameters ...
This function first checks to see if the key is already disabled\ if not then it goes to disabling
(module (function_definition (function_name_update) function_name_update (parameters )parameters (block (with_statement (with_clause (with_item (call (identifier_settings) identifier_settings (argument_list (keyword_argume...
Update virtual env with requirements packages.
(module (function_definition (function_name_subscribe) function_name_subscribe (parameters (identifier_self) identifier_self (identifier_feedUrl) identifier_feedUrl )parameters (block (expression_statement (assignment (identifier_response) identifier_response ...
Adds a feed to the top-level subscription list Ubscribing seems idempotent, you can subscribe multiple times without error returns True or throws HTTPError
(module (function_definition (function_name_expand_to_chunk_size) function_name_expand_to_chunk_size (parameters (identifier_self) identifier_self (identifier_chunk_size) identifier_chunk_size (default_parameter (identifier_offset) identifier_offset (call (identifie...
Align a potentially non-axis aligned bbox to the grid by growing it to the nearest grid lines. Required: chunk_size: arraylike (x,y,z), the size of chunks in the dataset e.g. (64,64,64) Optional: offset: arraylike (x,y,z), the starting coordinate of the dataset
(module (function_definition (function_name_on_successful_login) function_name_on_successful_login (parameters (identifier_self) identifier_self (identifier_subject) identifier_subject (identifier_authc_token) identifier_authc_token (identifier_account_id) identifier_account_id )pa...
Reacts to the successful login attempt by first always forgetting any previously stored identity. Then if the authc_token is a ``RememberMe`` type of token, the associated identity will be remembered for later retrieval during a new user session. :param subject: the subject whose ident...
(module (function_definition (function_name_comments_are_open) function_name_comments_are_open (parameters (identifier_content_object) identifier_content_object )parameters (block (expression_statement (assignment (identifier_moderator) identifier_moderator (cal...
Return whether comments are still open for a given target object.
(module (function_definition (function_name_extra_metadata) function_name_extra_metadata (parameters (identifier_self) identifier_self )parameters (block (return_statement (call (identifier_get_extra_metadata) identifier_get_extra_metadata (argument_list ...
Get extra metadata for file in repository.
(module (function_definition (function_name__add_device_to_device_group) function_name__add_device_to_device_group (parameters (identifier_self) identifier_self (identifier_device) identifier_device )parameters (block (expression_statement (assignment (identifier_de...
Add device to device service cluster group. :param device: bigip object -- device to add to group
(module (function_definition (function_name_catalogFactory) function_name_catalogFactory (parameters (identifier_name) identifier_name (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictionary_splat_pattern )parameters (block (expression_statement ...
Factory for various catalogs.
(module (function_definition (function_name_read_remote_spec) function_name_read_remote_spec (parameters (identifier_filename) identifier_filename (default_parameter (identifier_encoding) identifier_encoding (string_'binary') string_'binary' )default_parameter (default_...
Read FITS or ASCII spectrum from a remote location. Parameters ---------- filename : str Spectrum filename. encoding, cache, show_progress See :func:`~astropy.utils.data.get_readable_fileobj`. kwargs : dict Keywords acceptable by :func:`read_fits_spec` (if FITS) or ...
(module (function_definition (function_name_generate_sample_set) function_name_generate_sample_set (parameters (identifier_self) identifier_self (default_parameter (identifier_tags) identifier_tags (None) None )default_parameter )parameters (block (if_statement ...
Generate a sample_set that maches the tags or all if tags are not specified. Args: tags: Match samples against this tag list (or all if not specified) Returns: The sample_set of those samples matching the tags
(module (function_definition (function_name_run) function_name_run (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_which_command) identifier_which_command (attribute (attribute ...
Run search command.
(module (function_definition (function_name__on_grant) function_name__on_grant (parameters (identifier_self) identifier_self (identifier_grant) identifier_grant )parameters (block (expression_statement (call (attribute (identifier_self) identifier_self ...
Called upon receiving the grant. Than calls granted and sets up reporter if necessary.
(module (function_definition (function_name_get) function_name_get (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_new_alarm) identifier_new_alarm (call (attribute (attribut...
Fetches the current state of the alarm from the API and updates the object.
(module (function_definition (function_name_to_sql) function_name_to_sql (parameters (identifier_self) identifier_self (identifier_connection) identifier_connection (identifier_grammar) identifier_grammar )parameters (block (expression_statement (call (attribu...
Get the raw SQL statements for the blueprint. :param connection: The connection to use :type connection: orator.connections.Connection :param grammar: The grammar to user :type grammar: orator.schema.grammars.SchemaGrammar :rtype: list
(module (function_definition (function_name_detachChildren) function_name_detachChildren (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_detached) identifier_detached (attribute (identifi...
Detach and return this element's children. @return: The element's children (detached). @rtype: [L{Element},...]
(module (function_definition (function_name_signed_gt) function_name_signed_gt (parameters (identifier_a) identifier_a (identifier_b) identifier_b )parameters (block (expression_statement (assignment (pattern_list (identifier_a) identifier_a ...
Return a single bit result of signed greater than comparison.
(module (function_definition (function_name_getVerifiersIDs) function_name_getVerifiersIDs (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_verifiers_ids) identifier_verifiers_ids (call (i...
Returns the ids from users that have verified at least one analysis from this Analysis Request
(module (function_definition (function_name_get_random_word) function_name_get_random_word (parameters (identifier_dictionary) identifier_dictionary (default_parameter (identifier_min_word_length) identifier_min_word_length (integer_3) integer_3 )default_parameter (defa...
Returns a random word from the dictionary
(module (function_definition (function_name_exec_) function_name_exec_ (parameters (identifier_scope) identifier_scope (identifier_data) identifier_data )parameters (block (expression_statement (assignment (identifier_conn) identifier_conn (call ...
Sends the given data to the remote host and waits until the host has responded with a prompt. If the given data is a list of strings, each item is sent, and after each item a prompt is expected. This function also causes the response of the command to be stored in the built-in __response__ variable...
(module (function_definition (function_name__put) function_name__put (parameters (identifier_self) identifier_self (identifier_url_data) identifier_url_data )parameters (block (if_statement (boolean_operator (attribute (identifier_self) identifier_self ...
Put URL in queue, increase number of unfished tasks.
(module (function_definition (function_name_get_availabilities) function_name_get_availabilities (parameters (identifier_date) identifier_date )parameters (block (expression_statement (assignment (identifier_day_of_week) identifier_day_of_week (call ...
Helper function which in a full implementation would feed into a backend API to provide query schedule availability. The output of this function is an array of 30 minute periods of availability, expressed in ISO-8601 time format. In order to enable quick demonstration of all possible conversation paths suppor...
(module (function_definition (function_name_delete_object) function_name_delete_object (parameters (identifier_cache) identifier_cache (identifier_template) identifier_template (identifier_indexes) identifier_indexes )parameters (block (with_statement (with_clause ...
Delete an object in Redis using a pipeline. Deletes all fields defined by the template. Arguments: template: a dictionary containg the keys for the object and template strings for the corresponding redis keys. The template string uses named string interpolation format. Example:...
(module (function_definition (function_name_drop_privileges) function_name_drop_privileges (parameters )parameters (block (expression_statement (assignment (identifier_uid) identifier_uid (call (identifier_int) identifier_int (argument_list ...
Set settings.DROPLET_USER UID for the current process After calling this, root operation will be impossible to execute See root context manager
(module (function_definition (function_name_get_generic_type) function_name_get_generic_type (parameters (identifier_type_tag) identifier_type_tag )parameters (block (return_statement (call (attribute (dictionary (pair (identifier...
Map type tag to generic type.
(module (function_definition (function_name_add_frame_widget) function_name_add_frame_widget (parameters (identifier_self) identifier_self (identifier_ref) identifier_ref (default_parameter (identifier_left) identifier_left (integer_1) integer_1 )default_parameter ...
Add Frame Widget
(module (function_definition (function_name_get_reservation_resources) function_name_get_reservation_resources (parameters (identifier_session) identifier_session (identifier_reservation_id) identifier_reservation_id (list_splat_pattern (identifier_models) identifier_models )li...
Get all resources of given models in reservation. :param session: CloudShell session :type session: cloudshell.api.cloudshell_api.CloudShellAPISession :param reservation_id: active reservation ID :param models: list of requested models :return: list of all resources of models in reservation
(module (function_definition (function_name_drop) function_name_drop (parameters (identifier_self) identifier_self )parameters (block (import_statement (dotted_name (identifier_os) identifier_os )dotted_name )import_statement (if_statement (att...
Remove the database by deleting the JSON file.
(module (function_definition (function_name_line_count) function_name_line_count (parameters (identifier_fn) identifier_fn )parameters (block (with_statement (with_clause (with_item (as_pattern (call (identifier_open) identifier_o...
Get line count of file Args: fn (str): Path to file Return: Number of lines in file (int)
(module (function_definition (function_name_getFullParList) function_name_getFullParList (parameters (identifier_configObj) identifier_configObj )parameters (block (expression_statement (assignment (identifier_plist) identifier_plist (list )list ...
Return a single list of all parameter names included in the configObj regardless of which section the parameter was stored
(module (function_definition (function_name_replace) function_name_replace (parameters (identifier_self) identifier_self (identifier_scaling_group) identifier_scaling_group (identifier_name) identifier_name (identifier_cooldown) identifier_cooldown (identifier_min_entities) ident...
Replace an existing ScalingGroup configuration. All of the attributes must be specified If you wish to delete any of the optional attributes, pass them in as None.
(module (function_definition (function_name_get_additional_handlers) function_name_get_additional_handlers (parameters )parameters (block (global_statement (identifier__additional_handlers) identifier__additional_handlers )global_statement (if_statement (not_operator ...
Returns the actual functions from the dotted paths specified in ADDITIONAL_HANDLERS.
(module (function_definition (function_name_clean_username) function_name_clean_username (parameters (identifier_self) identifier_self (identifier_username) identifier_username )parameters (block (expression_statement (assignment (identifier_username_case) identifie...
Performs any cleaning on the "username" prior to using it to get or create the user object. Returns the cleaned username. By default, changes the username case according to `settings.CAS_FORCE_CHANGE_USERNAME_CASE`.
(module (function_definition (function_name_stop) function_name_stop (parameters (typed_parameter (identifier_wallet_name) identifier_wallet_name (type (identifier_str) identifier_str )type )typed_parameter )parameters (type (None) None )type ...
Gracefully stop an external revocation registry builder, waiting for its current. The indy-sdk toolkit uses a temporary directory for tails file mustration, and shutting down the toolkit removes the directory, crashing the external tails file write. This method allows a graceful stop to wait fo...
(module (function_definition (function_name_update) function_name_update (parameters (identifier_self) identifier_self (identifier_custom_field) identifier_custom_field (default_parameter (identifier_params) identifier_params (dictionary )dictionary )default_par...
A specific, existing custom field can be updated by making a PUT request on the URL for that custom field. Only the fields provided in the `data` block will be updated; any unspecified fields will remain unchanged When using this method, it is best to specify only those fields you wish to change, or el...
(module (function_definition (function_name_pseudoify) function_name_pseudoify (parameters (identifier_self) identifier_self )parameters (block (assert_statement (attribute (identifier_self) identifier_self (identifier_is_toplevel) identifier_is_toplevel ...
Derive a pseudo-feature parent from the given multi-feature. The provided multi-feature does not need to be the representative. The newly created pseudo-feature has the same seqid as the provided multi- feature, and spans its entire range. Otherwise, the pseudo-feature is empty. It is u...
(module (function_definition (function_name_resid_dev) function_name_resid_dev (parameters (identifier_self) identifier_self (identifier_endog) identifier_endog (identifier_mu) identifier_mu (default_parameter (identifier_scale) identifier_scale (float_1.) float_1. ...
r""" Gamma deviance residuals Parameters ----------- endog : array-like Endogenous response variable mu : array-like Fitted mean response variable scale : float, optional An optional argument to divide the residuals by scale. The defau...
(module (function_definition (function_name_register_handler) function_name_register_handler (parameters (identifier_self) identifier_self (identifier_handler) identifier_handler )parameters (block (expression_statement (assignment (subscript (attribute ...
Register a new namespace handler.
(module (function_definition (function_name_from_elements) function_name_from_elements (parameters (identifier_cls) identifier_cls (default_parameter (identifier_elts) identifier_elts (None) None )default_parameter )parameters (block (expression_statement ...
Create a node of this type from the given list of elements. :param elts: The list of elements that the node should contain. :type elts: list(NodeNG) :returns: A new node containing the given elements. :rtype: NodeNG
(module (function_definition (function_name_process_post_tags) function_name_process_post_tags (parameters (identifier_self) identifier_self (identifier_bulk_mode) identifier_bulk_mode (identifier_api_post) identifier_api_post (identifier_post_tags) identifier_post_tags )parameters...
Create or update Tags related to a post. :param bulk_mode: If True, minimize db operations by bulk creating post objects :param api_post: the API data for the post :param post_tags: a mapping of Tags keyed by post ID :return: None
(module (function_definition (function_name_get_pyquery) function_name_get_pyquery (parameters (identifier_self) identifier_self (default_parameter (identifier_tree) identifier_tree (None) None )default_parameter (default_parameter (identifier_page_numbers) iden...
Wrap given tree in pyquery and return. If no tree supplied, will generate one from given page_numbers, or all page numbers.
(module (function_definition (function_name_close_position) function_name_close_position (parameters (identifier_self) identifier_self (identifier_repay_only) identifier_repay_only )parameters (block (expression_statement (assignment (identifier_params) identifier_p...
Close position. Args: repay_only (bool): Undocumented by cbpro. Returns: Undocumented
(module (function_definition (function_name_get_slope) function_name_get_slope (parameters (identifier_self) identifier_self )parameters (block (return_statement (parenthesized_expression (binary_operator (parenthesized_expression (binary_operato...
Return the slope m of this line segment.
(module (function_definition (function_name_tolerant_metaphone_processor) function_name_tolerant_metaphone_processor (parameters (identifier_words) identifier_words )parameters (block (for_statement (identifier_word) identifier_word (identifier_words) identifier_words ...
Double metaphone word processor slightly modified so that when no words are returned by the algorithm, the original word is returned.
(module (function_definition (function_name_RollbackAll) function_name_RollbackAll (parameters (default_parameter (identifier_close) identifier_close (None) None )default_parameter )parameters (block (if_statement (identifier_close) identifier_close (b...
Rollback all transactions, according Local.conn
(module (function_definition (function_name_initialise) function_name_initialise (parameters (identifier_self) identifier_self )parameters (block (expression_statement (call (attribute (identifier_self) identifier_self (identifier__checkWriteMode) ...
Initialise this data repository, creating any necessary directories and file paths.
(module (function_definition (function_name_parse_attributes) function_name_parse_attributes (parameters (identifier_self) identifier_self (identifier_attrstring) identifier_attrstring )parameters (block (if_statement (comparison_operator (identifier_attrstring) ide...
Parse an attribute string. Given a string with semicolon-separated key-value pairs, populate a dictionary with the given attributes.
(module (function_definition (function_name_startDataStoreMachine) function_name_startDataStoreMachine (parameters (identifier_self) identifier_self (identifier_dataStoreItemName) identifier_dataStoreItemName (identifier_machineName) identifier_machineName )parameters (block (e...
Starts the database instance running on the Data Store machine. Inputs: dataStoreItemName - name of the item to start machineName - name of the machine to start on
(module (function_definition (function_name__GetKeyFromRegistry) function_name__GetKeyFromRegistry (parameters (identifier_self) identifier_self )parameters (block (if_statement (not_operator (attribute (identifier_self) identifier_self (identifier...
Determines the key from the Windows Registry.
(module (function_definition (function_name_debug_ratelimit) function_name_debug_ratelimit (parameters (identifier_g) identifier_g )parameters (block (assert_statement (call (identifier_isinstance) identifier_isinstance (argument_list (identifier_g) ...
Log debug of github ratelimit information from last API call Parameters ---------- org: github.MainClass.Github github object
(module (function_definition (function_name_validate_args) function_name_validate_args (parameters (identifier_self) identifier_self (typed_parameter (identifier_qubits) identifier_qubits (type (generic_type (identifier_Sequence) identifier_Sequence ...
Checks if this gate can be applied to the given qubits. By default checks if input is of type Qid and qubit count. Child classes can override. Args: qubits: The collection of qubits to potentially apply the gate to. Throws: ValueError: The gate can't be applied...
(module (function_definition (function_name__get_transport) function_name__get_transport (parameters (identifier_self) identifier_self )parameters (block (if_statement (attribute (identifier_self) identifier_self (identifier_ssh_proxy) identifier_ssh_proxy ...
Return the SSH transport to the remote gateway
(module (function_definition (function_name_is_multilingual_project) function_name_is_multilingual_project (parameters (default_parameter (identifier_site_id) identifier_site_id (None) None )default_parameter )parameters (block (import_from_statement (dotted_n...
Whether the current Django project is configured for multilingual support.
(module (function_definition (function_name_check_int_param) function_name_check_int_param (parameters (identifier_self) identifier_self (identifier_param) identifier_param (identifier_low) identifier_low (identifier_high) identifier_high (identifier_name) identifier_name )pa...
Check if the value of the given parameter is in the given range and an int. Designed for testing parameters like `mu` and `eps`. To pass this function the variable `param` must be able to be converted into a float with a value between `low` and `high`. **Args:** * `para...
(module (function_definition (function_name_make_pilothole_cutter) function_name_make_pilothole_cutter (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_pilothole_radius) identifier_pilothole_radius (a...
Make a solid to subtract from an interfacing solid to bore a pilot-hole.
(module (function_definition (function_name__loadcache) function_name__loadcache (parameters (identifier_cachefile) identifier_cachefile )parameters (block (expression_statement (assignment (identifier_cache) identifier_cache (dictionary )dictionary ...
Returns a dictionary resulting from reading a likelihood cachefile
(module (function_definition (function_name_after_submit) function_name_after_submit (parameters (identifier_analysis) identifier_analysis )parameters (block (expression_statement (call (identifier_alsoProvides) identifier_alsoProvides (argument_list ...
Method triggered after a 'submit' transition for the analysis passed in is performed. Promotes the submit transition to the Worksheet to which the analysis belongs to. Note that for the worksheet there is already a guard that assures the transition to the worksheet will only be performed if all analyses...
(module (function_definition (function_name__run_with_kvm) function_name__run_with_kvm (parameters (identifier_self) identifier_self (identifier_qemu_path) identifier_qemu_path (identifier_options) identifier_options )parameters (block (if_statement (boolean_operator ...
Check if we could run qemu with KVM :param qemu_path: Path to qemu :param options: String of qemu user options :returns: Boolean True if we need to enable KVM
(module (function_definition (function_name_format_error) function_name_format_error (parameters (identifier_err_type) identifier_err_type (identifier_err_value) identifier_err_value (default_parameter (identifier_err_trace) identifier_err_trace (None) None )default_par...
Properly formats the specified error.
(module (function_definition (function_name_CRPS) function_name_CRPS (parameters (identifier_label) identifier_label (identifier_pred) identifier_pred )parameters (block (for_statement (identifier_i) identifier_i (call (identifier_range) identifier_range ...
Custom evaluation metric on CRPS.
(module (function_definition (function_name_to_ip) function_name_to_ip (parameters (identifier_self) identifier_self )parameters (block (if_statement (comparison_operator (string_'chargeability') string_'chargeability' (attribute (attribute ...
Return of copy of the data inside a TDIP container
(module (function_definition (function_name_set_inputhook) function_name_set_inputhook (parameters (identifier_self) identifier_self (identifier_callback) identifier_callback )parameters (block (expression_statement (call (identifier_ignore_CTRL_C) identifier_ignore...
Set PyOS_InputHook to callback and return the previous one.
(module (function_definition (function_name__get_min_addr) function_name__get_min_addr (parameters (identifier_self) identifier_self )parameters (block (if_statement (not_operator (attribute (identifier_self) identifier_self (identifier__regions) i...
Get the minimum address out of all regions. We assume self._regions is sorted. :return: The minimum address. :rtype: int
(module (function_definition (function_name_xor_key) function_name_xor_key (parameters (identifier_first) identifier_first (identifier_second) identifier_second (identifier_trafaret) identifier_trafaret )parameters (block (expression_statement (assignment (ide...
xor_key - takes `first` and `second` key names and `trafaret`. Checks if we have only `first` or only `second` in data, not both, and at least one. Then checks key value against trafaret.
(module (function_definition (function_name_user_id) function_name_user_id (parameters (identifier_self) identifier_self )parameters (block (if_statement (not_operator (identifier_has_flask_login) identifier_has_flask_login )not_operator (block (...
Return the ID of the current request's user
(module (function_definition (function_name_predict_maxprob) function_name_predict_maxprob (parameters (identifier_self) identifier_self (identifier_x) identifier_x (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictionary_splat_pattern )parameters (bl...
Most likely value. Generally equivalent to predict.
(module (function_definition (function_name_get_logger) function_name_get_logger (parameters (identifier_name) identifier_name (default_parameter (identifier_level) identifier_level (None) None )default_parameter )parameters (block (expression_statement ...
Return a setup logger for the given name :param name: The name for the logger. It is advised to use __name__. The logger name will be prepended by \"jb.\". :type name: str :param level: the logging level, e.g. logging.DEBUG, logging.INFO etc :type level: int :returns: Logger :rtype: logging.Log...
(module (function_definition (function_name_update_from_json) function_name_update_from_json (parameters (identifier_self) identifier_self (identifier_json_device) identifier_json_device )parameters (block (expression_statement (assignment (attribute (id...
Set all attributes based on API response.
(module (function_definition (function_name_get_file_size) function_name_get_file_size (parameters (identifier_self) identifier_self (identifier_path) identifier_path )parameters (block (expression_statement (assignment (identifier_id) identifier_id (call ...
Returns size of the file at given ``path``.
(module (function_definition (function_name_clean_tmpdir) function_name_clean_tmpdir (parameters (identifier_path) identifier_path )parameters (block (if_statement (boolean_operator (call (attribute (attribute (identifier_os) iden...
Invoked atexit, this removes our tmpdir
(module (function_definition (function_name_process_dimensions) function_name_process_dimensions (parameters (identifier_kdims) identifier_kdims (identifier_vdims) identifier_vdims )parameters (block (expression_statement (assignment (identifier_dimensions) identifi...
Converts kdims and vdims to Dimension objects. Args: kdims: List or single key dimension(s) specified as strings, tuples dicts or Dimension objects. vdims: List or single value dimension(s) specified as strings, tuples dicts or Dimension objects. Returns: Dictio...
(module (function_definition (function_name_example_panel) function_name_example_panel (parameters (identifier_self) identifier_self (identifier_ax) identifier_ax (identifier_feature) identifier_feature )parameters (block (expression_statement (assignment (ide...
A example panel that just prints the text of the feature.
(module (function_definition (function_name_propagate) function_name_propagate (parameters (identifier_self) identifier_self (list_splat_pattern (identifier_arg) identifier_arg )list_splat_pattern (dictionary_splat_pattern (identifier_kw) identifier_kw )dictionary...
Propagates activation through the network.
(module (function_definition (function_name_keys_list) function_name_keys_list (parameters (identifier_gandi) identifier_gandi (identifier_fqdn) identifier_fqdn )parameters (block (expression_statement (assignment (identifier_keys) identifier_keys (call ...
List domain keys.
(module (function_definition (function_name_remove_and_record_multiple_spaces_in_line) function_name_remove_and_record_multiple_spaces_in_line (parameters (identifier_line) identifier_line )parameters (block (expression_statement (assignment (identifier_removed_spaces) id...
For a given string, locate all ocurrences of multiple spaces together in the line, record the number of spaces found at each position, and replace them with a single space. @param line: (string) the text line to be processed for multiple spaces. @return: (tuple) countaining a diction...
(module (function_definition (function_name_create_lzma) function_name_create_lzma (parameters (identifier_archive) identifier_archive (identifier_compression) identifier_compression (identifier_cmd) identifier_cmd (identifier_verbosity) identifier_verbosity (identifier_interacti...
Create an LZMA archive with the lzma Python module.
(module (function_definition (function_name_spin) function_name_spin (parameters (identifier_self) identifier_self )parameters (block (for_statement (identifier_x) identifier_x (attribute (identifier_self) identifier_self (identifier_spinchars) identifie...
Perform a single spin
(module (function_definition (function_name_make_for_loop) function_name_make_for_loop (parameters (identifier_loop_body_instrs) identifier_loop_body_instrs (identifier_else_body_instrs) identifier_else_body_instrs (identifier_context) identifier_context )parameters (block (exp...
Make an ast.For node.
(module (function_definition (function_name_call) function_name_call (parameters (identifier_self) identifier_self (identifier_obj) identifier_obj (identifier_name) identifier_name (identifier_method) identifier_method (identifier_args) identifier_args (identifier_kwargs) i...
Trigger a method along with its beforebacks and afterbacks. Parameters ---------- name: str The name of the method that will be called args: tuple The arguments that will be passed to the base method kwargs: dict The keyword args that will be ...
(module (function_definition (function_name_authorization_header) function_name_authorization_header (parameters (identifier_oauth_params) identifier_oauth_params )parameters (block (expression_statement (assignment (identifier_authorization_headers) identifier_authorizat...
Return Authorization header
(module (function_definition (function_name_from_two_dim_array) function_name_from_two_dim_array (parameters (identifier_cls) identifier_cls (identifier_cols) identifier_cols (identifier_rows) identifier_rows (identifier_twoDimArray) identifier_twoDimArray )parameters (block ...
Create a new Matrix instance from a two dimensional array. :param integer columns: The number of columns for the Matrix. :param integer rows: The number of rows for the Matrix. :param list twoDimArray: A two dimensional column based array with t...
(module (function_definition (function_name_pexpireat) function_name_pexpireat (parameters (identifier_self) identifier_self (identifier_key) identifier_key (identifier_timestamp) identifier_timestamp )parameters (block (if_statement (not_operator (call ...
Set expire timestamp on key, timestamp in milliseconds. :raises TypeError: if timeout is not int
(module (function_definition (function_name_debug) function_name_debug (parameters (identifier_self) identifier_self (identifier_value) identifier_value )parameters (block (expression_statement (assignment (attribute (identifier_self) identifier_self ...
Turn on debug logging if necessary. :param value: Value of debug flag