sequence
stringlengths
557
12.7k
docstring
stringlengths
4
15.2k
(module (function_definition (function_name_check_in_out_dates) function_name_check_in_out_dates (parameters (identifier_self) identifier_self )parameters (block (if_statement (boolean_operator (attribute (identifier_self) identifier_self (identifi...
When date_order is less then check-in date or Checkout date should be greater than the check-in date.
(module (function_definition (function_name_get_sdb_by_id) function_name_get_sdb_by_id (parameters (identifier_self) identifier_self (identifier_sdb_id) identifier_sdb_id )parameters (block (expression_statement (assignment (identifier_sdb_resp) identifier_sdb_resp ...
Return the details for the given safe deposit box id Keyword arguments: sdb_id -- this is the id of the safe deposit box, not the path.
(module (function_definition (function_name_flatten) function_name_flatten (parameters (identifier_self) identifier_self (identifier_df) identifier_df (identifier_column_name) identifier_column_name )parameters (block (expression_statement (assignment (identif...
Flatten a column in the dataframe that contains lists
(module (function_definition (function_name_interact_GxG) function_name_interact_GxG (parameters (identifier_pheno) identifier_pheno (identifier_snps1) identifier_snps1 (default_parameter (identifier_snps2) identifier_snps2 (None) None )default_parameter (default_...
Epistasis test between two sets of SNPs Args: pheno: [N x 1] SP.array of 1 phenotype for N individuals snps1: [N x S1] SP.array of S1 SNPs for N individuals snps2: [N x S2] SP.array of S2 SNPs for N individuals K: [N x N] SP.array of LMM-covariance/kinship koefficients (opti...
(module (function_definition (function_name_add_device_net) function_name_add_device_net (parameters (identifier_self) identifier_self (identifier_name) identifier_name (default_parameter (identifier_destname) identifier_destname (None) None )default_parameter )para...
Add network device to running container.
(module (function_definition (function_name_operations_happening_at_same_time_as) function_name_operations_happening_at_same_time_as (parameters (identifier_self) identifier_self (typed_parameter (identifier_scheduled_operation) identifier_scheduled_operation (type (ident...
Finds operations happening at the same time as the given operation. Args: scheduled_operation: The operation specifying the time to query. Returns: Scheduled operations that overlap with the given operation.
(module (function_definition (function_name_resolve_widget) function_name_resolve_widget (parameters (identifier_self) identifier_self (identifier_field) identifier_field )parameters (block (if_statement (call (identifier_hasattr) identifier_hasattr (argum...
Given a Field or BoundField, return widget instance. Todo: Raise an exception if given field object does not have a widget. Arguments: field (Field or BoundField): A field instance. Returns: django.forms.widgets.Widget: Retrieved widget from giv...
(module (function_definition (function_name_jdn_to_gdate) function_name_jdn_to_gdate (parameters (identifier_jdn) identifier_jdn )parameters (block (expression_statement (assignment (identifier_l) identifier_l (binary_operator (identifier_jdn) identi...
Convert from the Julian day to the Gregorian day. Algorithm from 'Julian and Gregorian Day Numbers' by Peter Meyer. Return: day, month, year
(module (function_definition (function_name_order) function_name_order (parameters (identifier_self) identifier_self (identifier_order) identifier_order )parameters (block (expression_statement (assignment (identifier_given) identifier_given (attribute ...
Returns name order key. Returns tuple with two strings that can be compared to other such tuple obtained from different name. Note that if you want locale-dependent ordering then you need to compare strings using locale-aware method (e.g. ``locale.strxfrm``). :param order: One ...
(module (function_definition (function_name_to_json) function_name_to_json (parameters (identifier_self) identifier_self )parameters (block (return_statement (dictionary (pair (string_'wind_speed') string_'wind_speed' (attribute (iden...
Convert the Wind Condition to a dictionary.
(module (function_definition (function_name_get_patient_vcf) function_name_get_patient_vcf (parameters (identifier_job) identifier_job (identifier_patient_dict) identifier_patient_dict )parameters (block (expression_statement (assignment (identifier_temp) identifier...
Convenience function to get the vcf from the patient dict :param dict patient_dict: dict of patient info :return: The vcf :rtype: toil.fileStore.FileID
(module (function_definition (function_name_datetime_to_time) function_name_datetime_to_time (parameters (identifier_date) identifier_date (identifier_time) identifier_time )parameters (block (if_statement (boolean_operator (parenthesized_expression (com...
Take the date and time 4-tuples and return the time in seconds since the epoch as a floating point number.
(module (function_definition (function_name_add_service_spec) function_name_add_service_spec (parameters (identifier_self) identifier_self (identifier_service_spec) identifier_service_spec )parameters (block (assert_statement (comparison_operator (identifier_service...
Registers the given ``ServiceSpec`` into the scope. Raises ``ThriftCompilerError`` if the name has already been used.
(module (function_definition (function_name_process_documentline) function_name_process_documentline (parameters (identifier_line) identifier_line (identifier_nanopubs_metadata) identifier_nanopubs_metadata )parameters (block (expression_statement (assignment (ident...
Process SET DOCUMENT line in BEL script
(module (function_definition (function_name_delete_role_policy) function_name_delete_role_policy (parameters (identifier_role_name) identifier_role_name (identifier_policy_name) identifier_policy_name (default_parameter (identifier_region) identifier_region (None) None ...
Delete a role policy. CLI Example: .. code-block:: bash salt myminion boto_iam.delete_role_policy myirole mypolicy
(module (function_definition (function_name_expand_uri) function_name_expand_uri (parameters (identifier_self) identifier_self (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictionary_splat_pattern )parameters (block (expression_statement (ass...
Returns the template uri expanded with the current arguments
(module (function_definition (function_name_from_key) function_name_from_key (parameters (identifier_api_key) identifier_api_key (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictionary_splat_pattern )parameters (block (expression_statement (a...
Returns an authenticated Heroku instance, via API Key.
(module (function_definition (function_name_addConcept) function_name_addConcept (parameters (identifier_self) identifier_self (identifier_conceptUri) identifier_conceptUri (identifier_weight) identifier_weight (default_parameter (identifier_label) identifier_label (Non...
add a relevant concept to the topic page @param conceptUri: uri of the concept to be added @param weight: importance of the provided concept (typically in range 1 - 50)
(module (function_definition (function_name_get_deposit_address) function_name_get_deposit_address (parameters (identifier_self) identifier_self (identifier_currency) identifier_currency )parameters (block (expression_statement (call (attribute (identifi...
Return the deposit address for the given major currency. :param currency: Major currency name in lowercase (e.g. "btc", "eth"). :type currency: str | unicode :return: Deposit address. :rtype: str | unicode
(module (function_definition (function_name__json_body_) function_name__json_body_ (parameters (identifier_cls) identifier_cls )parameters (block (expression_statement (assignment (identifier_json) identifier_json (list )list )assignment ...
Return the JSON body of given datapoints. :return: JSON body of these datapoints.
(module (function_definition (function_name_session_commit) function_name_session_commit (parameters (identifier_self) identifier_self (identifier_session) identifier_session )parameters (block (if_statement (not_operator (call (identifier_hasattr) ident...
Send session_commit signal in sqlalchemy ``before_commit``. This marks the success of session so the session may enter commit state.
(module (function_definition (function_name_register_admin) function_name_register_admin (parameters (identifier_app) identifier_app (identifier_admin) identifier_admin )parameters (block (expression_statement (assignment (identifier_category) identifier_category ...
Called on app initialization to register administration interface.
(module (function_definition (function_name_convert) function_name_convert (parameters (identifier_self) identifier_self (identifier_imtls) identifier_imtls (identifier_nsites) identifier_nsites (default_parameter (identifier_idx) identifier_idx (integer_0) integer_0 ...
Convert a probability map into a composite array of length `nsites` and dtype `imtls.dt`. :param imtls: DictArray instance :param nsites: the total number of sites :param idx: index on the z-axis (default 0)
(module (function_definition (function_name_change_profile) function_name_change_profile (parameters (identifier_self) identifier_self (identifier_profile_name) identifier_profile_name )parameters (block (expression_statement (assignment (attribute (iden...
Change the profile used for server side completions.
(module (function_definition (function_name_sortBy) function_name_sortBy (parameters (identifier_self) identifier_self (default_parameter (identifier_val) identifier_val (None) None )default_parameter )parameters (block (if_statement (comparison_operator...
Sort the object's values by a criterion produced by an iterator.
(module (function_definition (function_name_compose) function_name_compose (parameters (list_splat_pattern (identifier_funcs) identifier_funcs )list_splat_pattern )parameters (block (return_statement (lambda (lambda_parameters (identifier_x) iden...
compose a list of functions
(module (function_definition (function_name_info) function_name_info (parameters (identifier_args) identifier_args )parameters (block (expression_statement (string_" Show information about site. ") string_" Show information about site. " )expression_statement (expressio...
Show information about site.
(module (function_definition (function_name_register) function_name_register (parameters (identifier_self) identifier_self (identifier_intent) identifier_intent )parameters (block (expression_statement (assignment (identifier_response) identifier_response ...
Registers a new intent and returns the Intent object with an ID
(module (function_definition (function_name_set_cell) function_name_set_cell (parameters (identifier_self) identifier_self (identifier_index) identifier_index (identifier_value) identifier_value )parameters (block (if_statement (attribute (identifier_self) ide...
Sets the value of a single cell. If the index is not in the current index then a new index will be created. :param index: index value :param value: value to set :return: nothing
(module (function_definition (function_name_build) function_name_build (parameters (identifier_self) identifier_self (identifier_shutit) identifier_shutit )parameters (block (if_statement (comparison_operator (subscript (attribute (identifi...
Initializes target ready for build and updating package management if in container.
(module (function_definition (function_name_url) function_name_url (parameters (identifier_self) identifier_self (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictionary_splat_pattern )parameters (block (expression_statement (assignment ...
Returns a formatted URL for the asset's File with serialized parameters. Usage: >>> my_asset.url() "//images.contentful.com/spaces/foobar/..." >>> my_asset.url(w=120, h=160) "//images.contentful.com/spaces/foobar/...?w=120&h=160"
(module (function_definition (function_name__validate_integer) function_name__validate_integer (parameters (identifier_name) identifier_name (identifier_val) identifier_val (default_parameter (identifier_min_val) identifier_min_val (integer_0) integer_0 )default_paramet...
Checks whether the 'name' parameter for parsing is either an integer OR float that can SAFELY be cast to an integer without losing accuracy. Raises a ValueError if that is not the case. Parameters ---------- name : string Parameter name (used for error reporting) val : int or float ...
(module (function_definition (function_name_multiple_sequence_alignment) function_name_multiple_sequence_alignment (parameters (identifier_seqs_fp) identifier_seqs_fp (default_parameter (identifier_threads) identifier_threads (integer_1) integer_1 )default_parameter )para...
Perform multiple sequence alignment on FASTA file using MAFFT. Parameters ---------- seqs_fp: string filepath to FASTA file for multiple sequence alignment threads: integer, optional number of threads to use. 0 to use all threads Returns ------- msa_fp : str name of...
(module (function_definition (function_name_delete_user) function_name_delete_user (parameters (identifier_name) identifier_name (default_parameter (identifier_runas) identifier_runas (None) None )default_parameter )parameters (block (if_statement (boole...
Deletes a user via rabbitmqctl delete_user. CLI Example: .. code-block:: bash salt '*' rabbitmq.delete_user rabbit_user
(module (function_definition (function_name_md5) function_name_md5 (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_target) identifier_target (call (attribute (string_'{}{}')...
An MD5 hash of the current vertices and entities. Returns ------------ md5: str, two appended MD5 hashes
(module (function_definition (function_name_load_from_file) function_name_load_from_file (parameters (identifier_cls) identifier_cls (typed_parameter (identifier_file_path) identifier_file_path (type (identifier_str) identifier_str )type )typed_parameter ...
Read and reconstruct the data from a JSON file.
(module (function_definition (function_name_returnPorts) function_name_returnPorts (parameters (identifier_self) identifier_self )parameters (block (if_statement (attribute (identifier_self) identifier_self (identifier__gotPorts) identifier__gotPorts )at...
deallocate specific ports on the current machine
(module (function_definition (function_name__format_executable) function_name__format_executable (parameters (identifier_lines) identifier_lines (identifier_element) identifier_element (default_parameter (identifier_spacer) identifier_spacer (string_"") string_"" )defau...
Performs formatting specific to a Subroutine or Function code element for relevant docstrings.
(module (function_definition (function_name_run) function_name_run (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (attribute (identifier_self) identifier_self (identifier_tap) identifier_tap ...
Creates a listener and loops while waiting for an event. Intended to run as a background thread.
(module (function_definition (function_name_get_node_instances) function_name_get_node_instances (parameters (identifier_nodelist) identifier_nodelist (identifier_instances) identifier_instances )parameters (block (expression_statement (assignment (identifier_contex...
Find the nodes of a given instance. In contract to the standard ``template.nodelist.get_nodes_by_type()`` method, this also looks into ``{% extends %}`` and ``{% include .. %}`` nodes to find all possible nodes of the given type. :param instances: A class Type, or tuple of types to find. :param no...
(module (function_definition (function_name__convert_nonstring_categoricals) function_name__convert_nonstring_categoricals (parameters (identifier_self) identifier_self (identifier_param_dict) identifier_param_dict )parameters (block (return_statement (dictionary_comprehensio...
Apply the self.categorical_mappings_ mappings where necessary.
(module (function_definition (function_name_beta_pdf) function_name_beta_pdf (parameters (identifier_x) identifier_x (identifier_a) identifier_a (identifier_b) identifier_b )parameters (block (expression_statement (assignment (identifier_bc) identifier_bc ...
Beta distirbution probability density function.
(module (function_definition (function_name_event_return) function_name_event_return (parameters (identifier_events) identifier_events )parameters (block (with_statement (with_clause (with_item (as_pattern (call (identifier__get_s...
Return event to Pg server Requires that configuration be enabled via 'event_return' option in master config.
(module (function_definition (function_name_draw) function_name_draw (parameters (identifier_self) identifier_self (identifier_gdefs) identifier_gdefs (identifier_theme) identifier_theme )parameters (block (for_statement (identifier_g) identifier_g (identifier_g...
Draw out each guide definition Parameters ---------- gdefs : list of guide_legend|guide_colorbar guide definitions theme : theme Plot theme Returns ------- out : list of matplotlib.offsetbox.Offsetbox A drawing of each legend
(module (function_definition (function_name_get_free_port) function_name_get_free_port (parameters (default_parameter (identifier_ports) identifier_ports (None) None )default_parameter )parameters (block (if_statement (comparison_operator (identifier...
Get a free port. Parameters ---------- ports : iterable ports to check (obtain a random port by default) Returns ------- port : int a free port
(module (function_definition (function_name_run) function_name_run (parameters (identifier_paths) identifier_paths (default_parameter (identifier_output) identifier_output (identifier__I_STILL_HATE_EVERYTHING) identifier__I_STILL_HATE_EVERYTHING )default_parameter (defa...
Project-oriented directory and file information lister.
(module (function_definition (function_name__find_files) function_name__find_files (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_files) identifier_files (list )list )assignment ...
Find files recursively in the root path using provided extensions. :return: list of absolute file paths
(module (function_definition (function_name__function_add_return_edge) function_name__function_add_return_edge (parameters (identifier_self) identifier_self (identifier_return_from_addr) identifier_return_from_addr (identifier_return_to_addr) identifier_return_to_addr (identifier_funct...
Generate CodeNodes for return_to_addr, add this node for function to function manager generating new edge :param int return_from_addr: target address :param int return_to_addr: target address :param int function_addr: address of function :return: None
(module (function_definition (function_name_commit) function_name_commit (parameters (identifier_self) identifier_self )parameters (block (assert_statement (comparison_operator (attribute (identifier_self) identifier_self (identifier_batch) identif...
Commit a batch.
(module (function_definition (function_name_get_file_hash) function_name_get_file_hash (parameters (identifier_file_path) identifier_file_path (default_parameter (identifier_block_size) identifier_block_size (integer_1024) integer_1024 )default_parameter (default_parame...
Generate hash for given file :param file_path: Path to file :type file_path: str :param block_size: Size of block to be read at once (default: 1024) :type block_size: int :param hasher: Use specific hasher, defaults to md5 (default: None) :type hasher: _hashlib.HASH :return: Hash of file ...
(module (function_definition (function_name_is_ini_file) function_name_is_ini_file (parameters (identifier_filename) identifier_filename (default_parameter (identifier_show_warnings) identifier_show_warnings (False) False )default_parameter )parameters (block (t...
Check configuration file type is INI Return a boolean indicating wheather the file is INI format or not
(module (function_definition (function_name__is_finished) function_name__is_finished (parameters (identifier_self) identifier_self (identifier_as_of) identifier_as_of )parameters (block (if_statement (call (attribute (identifier_self) identifier_self ...
Have the specified number of billing cycles been completed? If so, we should not be enacting this RecurringCost.
(module (function_definition (function_name_claim_keys) function_name_claim_keys (parameters (identifier_self) identifier_self (identifier_key_request) identifier_key_request (default_parameter (identifier_timeout) identifier_timeout (None) None )default_parameter )...
Claims one-time keys for use in pre-key messages. Args: key_request (dict): The keys to be claimed. Format should be <user_id>: { <device_id>: <algorithm> }. timeout (int): Optional. The time (in milliseconds) to wait when downloading keys from remote ser...
(module (function_definition (function_name_save) function_name_save (parameters (identifier_self) identifier_self (identifier_entity) identifier_entity )parameters (block (assert_statement (call (identifier_isinstance) identifier_isinstance (argument_list...
Maps entity to dict and returns future
(module (function_definition (function_name_get_column) function_name_get_column (parameters (identifier_column_name) identifier_column_name (identifier_node) identifier_node (identifier_context) identifier_context )parameters (block (expression_statement (assignment ...
Get a column by name from the selectable. Args: column_name: str, name of the column to retrieve. node: SqlNode, the node the column is being retrieved for. context: CompilationContext, compilation specific metadata. Returns: column, the SQLAlchemy column if found. Raises an As...
(module (function_definition (function_name_remove) function_name_remove (parameters (identifier_env) identifier_env (identifier_securitygroup_id) identifier_securitygroup_id (identifier_rule_id) identifier_rule_id )parameters (block (expression_statement (assignment ...
Remove a rule from a security group.
(module (function_definition (function_name_clear) function_name_clear (parameters (identifier_self) identifier_self (identifier_username) identifier_username (identifier_project) identifier_project )parameters (block (expression_statement (assignment (identif...
Clear the cache for given project.
(module (function_definition (function_name_render_pdf_file_to_image_files__ghostscript_png) function_name_render_pdf_file_to_image_files__ghostscript_png (parameters (identifier_pdf_file_name) identifier_pdf_file_name (identifier_root_output_file_path) identifier_root_output_file_path (defa...
Use Ghostscript to render a PDF file to .png images. The root_output_file_path is prepended to all the output files, which have numbers and extensions added. Return the command output.
(module (function_definition (function_name_lspcn) function_name_lspcn (parameters (identifier_body) identifier_body (identifier_et) identifier_et (identifier_abcorr) identifier_abcorr )parameters (block (expression_statement (assignment (identifier_body) iden...
Compute L_s, the planetocentric longitude of the sun, as seen from a specified body. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lspcn_c.html :param body: Name of central body. :type body: str :param et: Epoch in seconds past J2000 TDB. :type et: float :param abcorr: Aberration...
(module (function_definition (function_name_get) function_name_get (parameters (identifier_self) identifier_self (identifier_s3_path) identifier_s3_path (identifier_destination_local_path) identifier_destination_local_path )parameters (block (expression_statement (assig...
Get an object stored in S3 and write it to a local path.
(module (function_definition (function_name_get_new_ip) function_name_get_new_ip (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_attempts) identifier_attempts (integer_0) integer_0 )assignmen...
Try to obtain new a usable TOR IP. :returns bool :raises TorIpError
(module (function_definition (function_name_edit) function_name_edit (parameters (identifier_community) identifier_community )parameters (block (expression_statement (assignment (identifier_form) identifier_form (call (identifier_EditCommunityForm) i...
Create or edit a community.
(module (function_definition (function_name_getcomments) function_name_getcomments (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_comment_list) identifier_comment_list (call (attribute ...
Returns an array of comment dictionaries for this bug
(module (function_definition (function_name_worklogs) function_name_worklogs (parameters (identifier_self) identifier_self (identifier_issue) identifier_issue )parameters (block (expression_statement (assignment (identifier_r_json) identifier_r_json (call ...
Get a list of worklog Resources from the server for an issue. :param issue: ID or key of the issue to get worklogs from :rtype: List[Worklog]
(module (function_definition (function_name_delete) function_name_delete (parameters (identifier_self) identifier_self (default_parameter (identifier_key_id) identifier_key_id (None) None )default_parameter )parameters (block (expression_statement (assig...
Delete one of the ssh keys associated with your account. Please use with caution as there is NO confimation and NO undo.
(module (function_definition (function_name_is_answer_valid) function_name_is_answer_valid (parameters (identifier_self) identifier_self (identifier_ans) identifier_ans )parameters (block (return_statement (comparison_operator (identifier_ans) identifier_ans ...
Validate user's answer against available choices.
(module (function_definition (function_name_mode) function_name_mode (parameters (identifier_self) identifier_self (identifier_mode) identifier_mode )parameters (block (expression_statement (call (attribute (identifier__LOGGER) identifier__LOGGER ...
Set the operation mode.
(module (function_definition (function_name_corr) function_name_corr (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_cov) identifier_cov (call (attribute (identifier_self) i...
The correlation matrix
(module (function_definition (function_name__find_git_info) function_name__find_git_info (parameters (identifier_self) identifier_self (identifier_gitdir) identifier_gitdir )parameters (block (expression_statement (assignment (identifier_res) identifier_res ...
Find information about the git repository, if this file is in a clone. :param gitdir: path to the git repo's .git directory :type gitdir: str :returns: information about the git clone :rtype: dict
(module (function_definition (function_name_widget_status) function_name_widget_status (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_widget_status_list) identifier_widget_status_list (list ...
This method will return the status of all of the widgets in the widget list
(module (function_definition (function_name_blast_seqs) function_name_blast_seqs (parameters (identifier_seqs) identifier_seqs (identifier_blast_constructor) identifier_blast_constructor (default_parameter (identifier_blast_db) identifier_blast_db (None) None )default_p...
Blast list of sequences. seqs: either file name or list of sequence objects or list of strings or single multiline string containing sequences. WARNING: DECISION RULES FOR INPUT HANDLING HAVE CHANGED. Decision rules for data are as follows. If it's s list, treat as lines, unless add_seq_names is t...
(module (function_definition (function_name_url_to_attrs_dict) function_name_url_to_attrs_dict (parameters (identifier_url) identifier_url (identifier_url_attr) identifier_url_attr )parameters (block (expression_statement (assignment (identifier_result) identifier_r...
Sanitize url dict as used in django-bootstrap3 settings.
(module (function_definition (function_name_init_backend) function_name_init_backend (parameters (identifier_self) identifier_self (list_splat_pattern (identifier_args) identifier_args )list_splat_pattern (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs ...
Initialize the backend.
(module (function_definition (function_name_draw) function_name_draw (parameters (identifier_self) identifier_self (identifier_renderer) identifier_renderer )parameters (block (expression_statement (assignment (identifier_dpi_cor) identifier_dpi_cor (call ...
Draw the children
(module (function_definition (function_name_get_category_aliases_under) function_name_get_category_aliases_under (parameters (default_parameter (identifier_parent_alias) identifier_parent_alias (None) None )default_parameter )parameters (block (return_statement ...
Returns a list of category aliases under the given parent. Could be useful to pass to `ModelWithCategory.enable_category_lists_editor` in `additional_parents_aliases` parameter. :param str|None parent_alias: Parent alias or None to categories under root :rtype: list :return: a list of category ali...
(module (function_definition (function_name_unregister) function_name_unregister (parameters (identifier_self) identifier_self (identifier_observer) identifier_observer )parameters (block (expression_statement (call (attribute (attribute (a...
Remove the observers of the observers list. It will not receive any more notifications when occurs changes. :param UpdatesObserver observer: Observer you will not receive any more notifications then occurs changes.
(module (function_definition (function_name__find_metadata_vars) function_name__find_metadata_vars (parameters (identifier_self) identifier_self (identifier_ds) identifier_ds (default_parameter (identifier_refresh) identifier_refresh (False) False )default_parameter ...
Returns a list of netCDF variable instances for those that are likely metadata variables :param netCDF4.Dataset ds: An open netCDF dataset :param bool refresh: if refresh is set to True, the cache is invalidated. :rtype: list :return: List of variable name...
(module (function_definition (function_name_speak) function_name_speak (parameters (identifier_self) identifier_self )parameters (block (if_statement (comparison_operator (attribute (identifier_self) identifier_self (identifier_quiet) identifier_qu...
a function for the helper to announce him or herself, depending on the level specified. If you want your client to have additional announced things here, then implement the class `_speak` for your client.
(module (function_definition (function_name_get_form) function_name_get_form (parameters (identifier_self) identifier_self (identifier_form) identifier_form (identifier_name) identifier_name )parameters (block (expression_statement (assignment (identifier_kwar...
Get an instance of the form.
(module (function_definition (function_name_data_gen) function_name_data_gen (parameters (default_parameter (identifier_n_ops) identifier_n_ops (integer_100) integer_100 )default_parameter )parameters (block (while_statement (True) True (block ...
Yield data, while optionally burning compute cycles. Parameters ---------- n_ops : int, default=100 Number of operations to run between yielding data. Returns ------- data : dict A object which looks like it might come from some machine learning problem, with X as featu...
(module (function_definition (function_name__build_relations_config) function_name__build_relations_config (parameters (identifier_self) identifier_self (identifier_yamlconfig) identifier_yamlconfig )parameters (block (expression_statement (assignment (identifier_co...
Builds a dictionary from relations configuration while maintaining compatibility
(module (function_definition (function_name_next_lookup) function_name_next_lookup (parameters (identifier_self) identifier_self (identifier_symbol) identifier_symbol )parameters (block (expression_statement (assignment (identifier_result) identifier_result ...
Returns the next TerminalSymbols produced by the input symbol within this grammar definition
(module (function_definition (function_name_update_savings_goal_data) function_name_update_savings_goal_data (parameters (identifier_self) identifier_self )parameters (type (None) None )type (block (expression_statement (assignment (identifier_response) iden...
Get the latest savings goal information for the account.
(module (function_definition (function_name_saved_search) function_name_saved_search (parameters (identifier_self) identifier_self (identifier_sid) identifier_sid (dictionary_splat_pattern (identifier_kw) identifier_kw )dictionary_splat_pattern )parameters (block ...
Execute a saved search by search id. :param sid string: The id of the search :returns: :py:class:`planet.api.models.Items` :raises planet.api.exceptions.APIException: On API error. :Options: * page_size (int): Size of response pages * sort (string): Sorting order in th...
(module (function_definition (function_name_disable_scanners_by_group) function_name_disable_scanners_by_group (parameters (identifier_self) identifier_self (identifier_group) identifier_group )parameters (block (if_statement (comparison_operator (identifier_group) ...
Disables the scanners in the group if it matches one in the scanner_group_map.
(module (function_definition (function_name_get_per_object_threshold) function_name_get_per_object_threshold (parameters (identifier_method) identifier_method (identifier_image) identifier_image (identifier_threshold) identifier_threshold (default_parameter (identifier_mask) id...
Return a matrix giving threshold per pixel calculated per-object image - image to be thresholded mask - mask out "don't care" pixels labels - a label mask indicating object boundaries threshold - the global threshold
(module (function_definition (function_name_register_model) function_name_register_model (parameters (identifier_self) identifier_self (identifier_model_id) identifier_model_id (identifier_properties) identifier_properties (identifier_parameters) identifier_parameters (identifier...
Register a new model with the engine. Expects connection information for RabbitMQ to submit model run requests to workers. Raises ValueError if the given model identifier is not unique. Parameters ---------- model_id : string Unique model identifier properti...
(module (function_definition (function_name__unkown_type) function_name__unkown_type (parameters (identifier_self) identifier_self (identifier_uridecodebin) identifier_uridecodebin (identifier_decodebin) identifier_decodebin (identifier_caps) identifier_caps )parameters (block ...
The callback for decodebin's "unknown-type" signal.
(module (function_definition (function_name__make_definition) function_name__make_definition (parameters (identifier_self) identifier_self (identifier_definition) identifier_definition )parameters (block (if_statement (not_operator (identifier_definition) identifier...
Generate a definition. The input might already be a `EndpointDefinition` or it might be a tuple.
(module (function_definition (function_name_get_unused_code) function_name_get_unused_code (parameters (identifier_self) identifier_self (default_parameter (identifier_min_confidence) identifier_min_confidence (integer_0) integer_0 )default_parameter (default_parameter ...
Return ordered list of unused Item objects.
(module (function_definition (function_name_generate_property_deprecation_message) function_name_generate_property_deprecation_message (parameters (identifier_to_be_removed_in_version) identifier_to_be_removed_in_version (identifier_old_name) identifier_old_name (identifier_new_name) identif...
Generate a message to be used when warning about the use of deprecated properties. :param to_be_removed_in_version: Version of this module the deprecated property will be removed in. :type to_be_removed_in_version: str :param old_name: Deprecated property name. :type old_name: str :param new_name: ...
(module (function_definition (function_name_denoise_z15) function_name_denoise_z15 (parameters )parameters (block (expression_statement (assignment (identifier_hparams) identifier_hparams (call (identifier_xmoe2_dense_0) identifier_xmoe2_dense_0 ...
Replace tokens instead of masking.
(module (function_definition (function_name_add_group_role) function_name_add_group_role (parameters (identifier_request) identifier_request (identifier_role) identifier_role (identifier_group) identifier_group (default_parameter (identifier_domain) identifier_domain (N...
Adds a role for a group on a domain or project.
(module (function_definition (function_name_register_arguments) function_name_register_arguments (parameters (identifier_cls) identifier_cls (identifier_parser) identifier_parser )parameters (block (if_statement (call (identifier_hasattr) identifier_hasattr ...
Register command line options. Implement this method for normal options behavior with protection from OptionConflictErrors. If you override this method and want the default --$name option(s) to be registered, be sure to call super().
(module (function_definition (function_name_get_outcome_results) function_name_get_outcome_results (parameters (identifier_self) identifier_self (identifier_course_id) identifier_course_id (default_parameter (identifier_include) identifier_include (None) None )default_p...
Get outcome results. Gets the outcome results for users and outcomes in the specified context.
(module (function_definition (function_name_read_instance) function_name_read_instance (parameters (identifier_self) identifier_self (identifier_cls) identifier_cls (identifier_sdmxobj) identifier_sdmxobj (default_parameter (identifier_offset) identifier_offset (None) N...
If cls in _paths and matches, return an instance of cls with the first XML element, or, if first_only is False, a list of cls instances for all elements found, If no matches were found, return None.
(module (function_definition (function_name_search) function_name_search (parameters (identifier_self) identifier_self (identifier_pattern) identifier_pattern )parameters (block (for_statement (identifier_node) identifier_node (call (attribute (a...
Searches the graph for a sub-graph that matches the given pattern and returns the first match it finds.
(module (function_definition (function_name__imm_dir) function_name__imm_dir (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_dir0) identifier_dir0 (call (identifier_set) identifier_set ...
An immutable object's dir function should list not only its attributes, but also its un-cached lazy values.
(module (function_definition (function_name_pack) function_name_pack (parameters (identifier_self) identifier_self (typed_parameter (identifier_out) identifier_out (type (identifier_IO) identifier_IO )type )typed_parameter )parameters (block (e...
Write the Field to the file-like object `out`. .. note:: Advanced usage only. You will typically never need to call this method as it will be called for you when saving a ClassFile. :param out: Any file-like object providing `write()`
(module (function_definition (function_name_value) function_name_value (parameters (identifier_self) identifier_self (identifier_value) identifier_value )parameters (block (if_statement (comparison_operator (identifier_value) identifier_value (attribute ...
Setter for value. :param value: The value. :type value: object