sequence
stringlengths
557
12.7k
docstring
stringlengths
4
15.2k
(module (function_definition (function_name_exists) function_name_exists (parameters (identifier_self) identifier_self )parameters (block (return_statement (comparison_operator (call (attribute (attribute (identifier_self) identif...
A convenience method that returns True if a record satisfying the query exists
(module (function_definition (function_name_search_all_payments) function_name_search_all_payments (parameters (default_parameter (identifier_payment_status) identifier_payment_status (None) None )default_parameter (default_parameter (identifier_page_size) identifier_...
Returns a command to search all payments ordered by creation desc @param payment_status: The payment status. If None is going to return results independent from status @param page_size: number of payments per page @param start_cursor: cursor to continue the search @param offset: offset number of payment...
(module (function_definition (function_name_keep_) function_name_keep_ (parameters (identifier_self) identifier_self (list_splat_pattern (identifier_cols) identifier_cols )list_splat_pattern )parameters (type (string_"Ds") string_"Ds" )type (block (try_sta...
Returns a dataswim instance with a dataframe limited to some columns :param cols: names of the columns :type cols: str :return: a dataswim instance :rtype: Ds :example: ``ds2 = ds.keep_("Col 1", "Col 2")``
(module (function_definition (function_name_serialize_with_sampled_logs) function_name_serialize_with_sampled_logs (parameters (identifier_self) identifier_self (default_parameter (identifier_logs_limit) identifier_logs_limit (unary_operator (integer_1) integer_1 ...
serialize a result with up to `logs_limit` logs. If `logs_limit` is -1, this function will return a result with all its logs.
(module (function_definition (function_name_recursive_refs) function_name_recursive_refs (parameters (identifier_envs) identifier_envs (identifier_name) identifier_name )parameters (block (expression_statement (assignment (identifier_refs_by_name) identifier_refs_by...
Return set of recursive refs for given env name >>> local_refs = sorted(recursive_refs([ ... {'name': 'base', 'refs': []}, ... {'name': 'test', 'refs': ['base']}, ... {'name': 'local', 'refs': ['test']}, ... ], 'local')) >>> local_refs == ['base', 'test'] True
(module (function_definition (function_name_pipe_substr) function_name_pipe_substr (parameters (default_parameter (identifier_context) identifier_context (None) None )default_parameter (default_parameter (identifier__INPUT) identifier__INPUT (None) None ...
A string module that returns a substring. Loopable. Parameters ---------- context : pipe2py.Context object _INPUT : iterable of items or strings conf : { 'from': {'type': 'number', value': <starting position>}, 'length': {'type': 'number', 'value': <count of characters to return>} ...
(module (function_definition (function_name_new_record) function_name_new_record (parameters (identifier_self) identifier_self (identifier_key) identifier_key (identifier_value) identifier_value )parameters (block (expression_statement (assignment (identifier_...
Populate the ``new_record`` key. Also populates the ``ids`` key through side effects.
(module (function_definition (function_name_form_invalid) function_name_form_invalid (parameters (identifier_self) identifier_self (identifier_form) identifier_form )parameters (block (if_statement (call (attribute (attribute (identifier_se...
We have errors in the form. If ajax, return them as json. Otherwise, proceed as normal.
(module (function_definition (function_name__isLastCodeColumn) function_name__isLastCodeColumn (parameters (identifier_self) identifier_self (identifier_block) identifier_block (identifier_column) identifier_column )parameters (block (return_statement (boolean_operator ...
Return true if the given column is at least equal to the column that contains the last non-whitespace character at the given line, or if the rest of the line is a comment.
(module (function_definition (function_name__get_metrics_to_collect) function_name__get_metrics_to_collect (parameters (identifier_self) identifier_self (identifier_instance_key) identifier_instance_key (identifier_additional_metrics) identifier_additional_metrics )parameters (block ...
Return and cache the list of metrics to collect.
(module (function_definition (function_name_filter_files) function_name_filter_files (parameters (identifier_self) identifier_self (identifier_path) identifier_path )parameters (block (expression_statement (assignment (identifier_excludes) identifier_excludes ...
Exclude files based on blueprint and project configuration as well as hidden files.
(module (function_definition (function_name_get_as_float_with_default) function_name_get_as_float_with_default (parameters (identifier_self) identifier_self (identifier_key) identifier_key (identifier_default_value) identifier_default_value )parameters (block (expression_statem...
Converts map element into a float or returns default value if conversion is not possible. :param key: an index of element to get. :param default_value: the default value :return: float value ot the element or default value if conversion is not supported.
(module (function_definition (function_name_get_old_filename) function_name_get_old_filename (parameters (identifier_diff_part) identifier_diff_part )parameters (block (expression_statement (assignment (identifier_regexps) identifier_regexps (tuple (...
Returns the filename for the original file that was changed in a diff part.
(module (function_definition (function_name__is_sparse) function_name__is_sparse (parameters (identifier_x) identifier_x )parameters (block (return_statement (parenthesized_expression (boolean_operator (call (identifier_isinstance) identifier_isi...
Returns whether x is a SparseTensor or a parsed sparse tensor info.
(module (function_definition (function_name_files) function_name_files (parameters )parameters (block (if_statement (not_operator (identifier__scanned) identifier__scanned )not_operator (block (if_statement (not_operator (call...
Scan all modules in the currently running app to create a dict of all files and their modified time. @note The scan only occurs the first time this function is called. Subsequent calls simply return the global dict. @return: A dict containing filenames as keys with their modified time as v...
(module (function_definition (function_name_subset) function_name_subset (parameters (identifier_data) identifier_data (identifier_sel0) identifier_sel0 (identifier_sel1) identifier_sel1 )parameters (block (expression_statement (assignment (identifier_data) id...
Apply selections on first and second axes.
(module (function_definition (function_name__getOccurs) function_name__getOccurs (parameters (identifier_self) identifier_self (identifier_e) identifier_e )parameters (block (expression_statement (assignment (identifier_minOccurs) identifier_minOccurs (ass...
return a 3 item tuple
(module (function_definition (function_name__remove) function_name__remove (parameters (identifier_self) identifier_self (identifier_removeList) identifier_removeList (identifier_selfValue) identifier_selfValue )parameters (block (for_statement (identifier_removeValue) ...
Remove elements from a list by matching the elements in the other list. This method only looks inside current instance's value, not recursive. There is no need for a recursive one anyway. Match by == operation. Args: removeList (list): The list of matching elements. ...
(module (function_definition (function_name_append) function_name_append (parameters (identifier_self) identifier_self (identifier_item) identifier_item )parameters (block (if_statement (comparison_operator (call (identifier_len) identifier_len ...
Adds a new item to the end of the collection.
(module (function_definition (function_name_select_group) function_name_select_group (parameters (identifier_self) identifier_self (identifier_group_id) identifier_group_id )parameters (block (expression_statement (assignment (identifier_new_query) identifier_new_qu...
Copy the query and add filtering by group. Example:: query = query.select_group('1234567') :type group_id: str :param group_id: The ID of a group to filter by. :rtype: :class:`Query` :returns: The new query object.
(module (function_definition (function_name_read_tuple) function_name_read_tuple (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_cmd) identifier_cmd (call (attribute (identi...
Read a tuple from the pipe to Storm.
(module (function_definition (function_name_get_team_players) function_name_get_team_players (parameters (identifier_self) identifier_self (identifier_team) identifier_team )parameters (block (expression_statement (assignment (identifier_team_id) identifier_team_id ...
Queries the API and fetches the players for a particular team
(module (function_definition (function_name_init_datastore) function_name_init_datastore (parameters (identifier_config) identifier_config )parameters (block (if_statement (comparison_operator (string_'datastore') string_'datastore' (identifier_config) identifie...
Take the config definition and initialize the datastore. The config must contain either a 'datastore' parameter, which will be simply returned, or must contain a 'factory' which is a callable or entry point definition. The callable should take the remainder of the params in config as kwargs and ret...
(module (function_definition (function_name__cast_value) function_name__cast_value (parameters (identifier_value) identifier_value (identifier__type) identifier__type )parameters (block (if_statement (comparison_operator (call (attribute (i...
cast value to _type
(module (function_definition (function_name_fieldstorage) function_name_fieldstorage (parameters (identifier_self) identifier_self )parameters (block (if_statement (comparison_operator (attribute (identifier_self) identifier_self (identifier__field...
`cgi.FieldStorage` from `wsgi.input`.
(module (function_definition (function_name_create_activity) function_name_create_activity (parameters (identifier_self) identifier_self (identifier_name) identifier_name (identifier_activity_type) identifier_activity_type (identifier_start_date_local) identifier_start_date_local ...
Create a new manual activity. If you would like to create an activity from an uploaded GPS file, see the :meth:`stravalib.client.Client.upload_activity` method instead. :param name: The name of the activity. :type name: str :param activity_type: The activity type (case-insensi...
(module (function_definition (function_name_ensure_unicode_string) function_name_ensure_unicode_string (parameters (identifier_obj) identifier_obj )parameters (block (try_statement (block (return_statement (call (identifier_unicode_type) identifi...
Return a unicode string representation of the given obj. :param obj: The obj we want to represent in unicode :type obj: varies :rtype: `unicode`
(module (function_definition (function_name_dynamize_value) function_name_dynamize_value (parameters (identifier_self) identifier_self (identifier_val) identifier_val )parameters (block (function_definition (function_name__str) function_name__str (parameters ...
Take a scalar Python value and return a dict consisting of the Amazon DynamoDB type specification and the value that needs to be sent to Amazon DynamoDB. If the type of the value is not supported, raise a TypeError
(module (function_definition (function_name_blacklist_token) function_name_blacklist_token (parameters )parameters (block (expression_statement (assignment (identifier_req) identifier_req (call (attribute (attribute (identifie...
Blacklists an existing JWT by registering its jti claim in the blacklist. .. example:: $ curl http://localhost:5000/blacklist_token -X POST \ -d '{"token":"<your_token>"}'
(module (function_definition (function_name__get_edge_tuple) function_name__get_edge_tuple (parameters (identifier_source) identifier_source (identifier_target) identifier_target (typed_parameter (identifier_edge_data) identifier_edge_data (type (identifier_EdgeData...
Convert an edge to a consistent tuple. :param BaseEntity source: The source BEL node :param BaseEntity target: The target BEL node :param edge_data: The edge's data dictionary :return: A tuple that can be hashed representing this edge. Makes no promises to its structure.
(module (function_definition (function_name__split_rules) function_name__split_rules (parameters (identifier_rules) identifier_rules )parameters (block (expression_statement (assignment (identifier_split) identifier_split (list )list )assignmen...
Split rules with lists into individual rules. We accept some attributes as lists or strings. The data we get back from the execution module lists rules as individual rules. We need to split the provided rules into individual rules to compare them.
(module (function_definition (function_name_create_database) function_name_create_database (parameters (identifier_self) identifier_self )parameters (block (expression_statement (call (attribute (identifier_self) identifier_self (identifier_print_m...
Create postgres database.
(module (function_definition (function_name_write) function_name_write (parameters (identifier_self) identifier_self (typed_parameter (identifier_writer) identifier_writer (type (identifier_Any) identifier_Any )type )typed_parameter (typed_default_para...
Write body.
(module (function_definition (function_name_find_deepest_user_frame) function_name_find_deepest_user_frame (parameters (identifier_tb) identifier_tb )parameters (block (expression_statement (call (attribute (identifier_tb) identifier_tb (identifier...
Find the deepest stack frame that is not part of SCons. Input is a "pre-processed" stack trace in the form returned by traceback.extract_tb() or traceback.extract_stack()
(module (function_definition (function_name_unescape) function_name_unescape (parameters (identifier_b) identifier_b (identifier_encoding) identifier_encoding )parameters (block (return_statement (call (attribute (identifier_string_literal_re) identifier...
Unescape all string and unicode literals in bytes.
(module (function_definition (function_name_save) function_name_save (parameters (identifier_self) identifier_self (identifier_name) identifier_name (identifier_content) identifier_content (list_splat_pattern (identifier_args) identifier_args )list_splat_pattern (di...
Save the file, also saving a reference to the thumbnail cache Source model.
(module (function_definition (function_name_recordtype_row_strategy) function_name_recordtype_row_strategy (parameters (identifier_column_names) identifier_column_names )parameters (block (try_statement (block (import_from_statement (dotted_name ...
Recordtype row strategy, rows returned as recordtypes Column names that are not valid Python identifiers will be replaced with col<number>_
(module (function_definition (function_name_getspectrum) function_name_getspectrum (parameters (identifier_self) identifier_self (identifier_index) identifier_index )parameters (block (expression_statement (assignment (pattern_list (identifier_mz_bytes) ...
Reads the spectrum at specified index from the .ibd file. :param index: Index of the desired spectrum in the .imzML file Output: mz_array: numpy.ndarray Sequence of m/z values representing the horizontal axis of the desired mass spectrum intensity_a...
(module (function_definition (function_name_filter) function_name_filter (parameters (identifier_criterias) identifier_criterias (identifier_devices) identifier_devices )parameters (block (if_statement (not_operator (identifier_criterias) identifier_criterias ...
Filter a device by criterias on the root level of the dictionary.
(module (function_definition (function_name__get_span_name) function_name__get_span_name (parameters (identifier_servicer_context) identifier_servicer_context )parameters (block (expression_statement (assignment (identifier_method_name) identifier_method_name (s...
Generates a span name based off of the gRPC server rpc_request_info
(module (function_definition (function_name_get_main_for) function_name_get_main_for (parameters (identifier_self) identifier_self (identifier_model) identifier_model )parameters (block (try_statement (block (return_statement (call (attribu...
Returns main image for given model
(module (function_definition (function_name__OpenFile) function_name__OpenFile (parameters (identifier_self) identifier_self (identifier_path) identifier_path )parameters (block (if_statement (not_operator (attribute (identifier_self) identifier_self ...
Opens a Windows Registry file. Args: path (str): path of the Windows Registry file. Returns: WinRegistryFile: Windows Registry file or None if not available.
(module (function_definition (function_name_comment_urlview) function_name_comment_urlview (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_data) identifier_data (call (attribute ...
Open the selected comment with the URL viewer
(module (function_definition (function_name_previous_weekday) function_name_previous_weekday (parameters (default_parameter (identifier_day) identifier_day (None) None )default_parameter (default_parameter (identifier_as_datetime) identifier_as_datetime (False...
get the most recent business day
(module (function_definition (function_name_should_indent) function_name_should_indent (parameters (identifier_code) identifier_code )parameters (block (expression_statement (assignment (identifier_last) identifier_last (call (identifier_rem_comment)...
Determines whether the next line should be indented.
(module (function_definition (function_name_add_url) function_name_add_url (parameters (identifier_self) identifier_self (identifier_url) identifier_url (default_parameter (identifier_line) identifier_line (integer_0) integer_0 )default_parameter (default_paramete...
If a local webroot directory is configured, replace absolute URLs with it. After that queue the URL data for checking.
(module (function_definition (function_name_get_nehrp_classes) function_name_get_nehrp_classes (parameters (identifier_self) identifier_self (identifier_sites) identifier_sites )parameters (block (expression_statement (assignment (identifier_classes) identifier_clas...
Site classification threshholds from Section 4 "Site correction coefficients" p. 205. Note that site classes E and F are not supported.
(module (function_definition (function_name__get_hypocentral_depth_term) function_name__get_hypocentral_depth_term (parameters (identifier_self) identifier_self (identifier_C) identifier_C (identifier_rup) identifier_rup )parameters (block (if_statement (comparison_oper...
Returns the hypocentral depth scaling term defined in equations 21 - 23
(module (function_definition (function_name_process_chunks) function_name_process_chunks (parameters (identifier_self) identifier_self (identifier_chunks) identifier_chunks )parameters (block (expression_statement (assignment (pattern_list (identifier_ch...
Store the incoming chunk at the corresponding position in the result array.
(module (function_definition (function_name_question_default_loader) function_name_question_default_loader (parameters (identifier_self) identifier_self (identifier_pk) identifier_pk )parameters (block (try_statement (block (expression_statement (assignm...
Load a Question from the database.
(module (function_definition (function_name_read_ipv6_route) function_name_read_ipv6_route (parameters (identifier_self) identifier_self (identifier_length) identifier_length (identifier_extension) identifier_extension )parameters (block (if_statement (comparison_operat...
Read Routing Header for IPv6. Structure of IPv6-Route header [RFC 8200][RFC 5095]: +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Next Header | Hdr Ext Len | Routing Type | Segments Left | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-...
(module (function_definition (function_name_ReadStatusBit) function_name_ReadStatusBit (parameters (identifier_self) identifier_self (identifier_bit) identifier_bit )parameters (block (expression_statement (string_' Report given status bit ') string_' Report given status bit ...
Report given status bit
(module (function_definition (function_name_build_command_tree) function_name_build_command_tree (parameters (identifier_pattern) identifier_pattern (identifier_cmd_params) identifier_cmd_params )parameters (block (import_from_statement (dotted_name (identifier_doco...
Recursively fill in a command tree in cmd_params according to a docopt-parsed "pattern" object.
(module (function_definition (function_name_prepare_query_params) function_name_prepare_query_params (parameters (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictionary_splat_pattern )parameters (block (return_statement (list_comprehension ...
Prepares given parameters to be used in querystring.
(module (function_definition (function_name_world_info) function_name_world_info (parameters (identifier_world_name) identifier_world_name (default_parameter (identifier_world_config) identifier_world_config (None) None )default_parameter (default_parameter (ide...
Gets and prints the information of a world. Args: world_name (str): the name of the world to retrieve information for world_config (dict optional): A dictionary containing the world's configuration. Will find the config if None. Defaults to None. initial_indent (str optional): This indent w...
(module (function_definition (function_name_sliceit) function_name_sliceit (parameters (identifier_iterable) identifier_iterable (default_parameter (identifier_lower) identifier_lower (integer_0) integer_0 )default_parameter (default_parameter (identifier_upper)...
Apply a slice on input iterable. :param iterable: object which provides the method __getitem__ or __iter__. :param int lower: lower bound from where start to get items. :param int upper: upper bound from where finish to get items. :return: sliced object of the same type of iterable if not dict, or spec...
(module (function_definition (function_name__printable_id_code) function_name__printable_id_code (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_code) identifier_code (call (identifier_st...
Returns the code in a printable form, filling with zeros if needed. :return: the ID code in a printable form
(module (function_definition (function_name_save) function_name_save (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_req) identifier_req (call (attribute (identifier_datasto...
Update or insert a Todo item.
(module (function_definition (function_name_end) function_name_end (parameters (identifier_self) identifier_self )parameters (block (expression_statement (call (identifier__checkErr) identifier__checkErr (argument_list (string_'vend') string_'vend' ...
Close the V interface. Args:: No argument Returns:: None C library equivalent : Vend
(module (function_definition (function_name__executor) function_name__executor (parameters (identifier_self) identifier_self (identifier_jobGraph) identifier_jobGraph (identifier_stats) identifier_stats (identifier_fileStore) identifier_fileStore )parameters (block (if_st...
This is the core wrapping method for running the job within a worker. It sets up the stats and logging before yielding. After completion of the body, the function will finish up the stats and logging, and starts the async update process for the job.
(module (function_definition (function_name_getRecentlyUpdatedSets) function_name_getRecentlyUpdatedSets (parameters (identifier_self) identifier_self (identifier_minutesAgo) identifier_minutesAgo )parameters (block (expression_statement (assignment (identifier_para...
Gets the information of recently updated sets. :param int minutesAgo: The amount of time ago that the set was updated. :returns: A list of Build instances that were updated within the given time. :rtype: list .. warning:: An empty list will be returned if there are no sets in the given ...
(module (function_definition (function_name_cmd_update) function_name_cmd_update (parameters (identifier_args) identifier_args )parameters (block (expression_statement (assignment (identifier_markov) identifier_markov (call (identifier_load) identifi...
Update a generator. Parameters ---------- args : `argparse.Namespace` Command arguments.
(module (function_definition (function_name_is_normalized_address) function_name_is_normalized_address (parameters (typed_parameter (identifier_value) identifier_value (type (identifier_Any) identifier_Any )type )typed_parameter )parameters (type (id...
Returns whether the provided value is an address in its normalized form.
(module (function_definition (function_name_dump_config) function_name_dump_config (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_yaml_content) identifier_yaml_content (call (attribute ...
Pretty print the configuration dict to stdout.
(module (function_definition (function_name__input_to_raw_value) function_name__input_to_raw_value (parameters (identifier_self) identifier_self (typed_parameter (identifier_value) identifier_value (type (identifier_int) identifier_int )type )typed_parameter...
Convert the value read from evdev to a 0.0 to 1.0 range. :internal: :param value: a value ranging from the defined minimum to the defined maximum value. :return: 0.0 at minimum, 1.0 at maximum, linearly interpolating between those two points.
(module (function_definition (function_name_authors_et_al) function_name_authors_et_al (parameters (identifier_self) identifier_self (default_parameter (identifier_max_authors) identifier_max_authors (integer_5) integer_5 )default_parameter )parameters (block (e...
Return string with a truncated author list followed by 'et al.'
(module (function_definition (function_name_x10) function_name_x10 (parameters (identifier_cls) identifier_cls (identifier_housecode) identifier_housecode (identifier_unitcode) identifier_unitcode )parameters (block (if_statement (comparison_operator (call ...
Create an X10 device address.
(module (function_definition (function_name_setup) function_name_setup (parameters )parameters (block (expression_statement (assignment (identifier_config_name) identifier_config_name (string_".wallaceconfig") string_".wallaceconfig" )assignment )express...
Walk the user though the Wallace setup.
(module (function_definition (function_name__astype) function_name__astype (parameters (identifier_self) identifier_self (identifier_dtype) identifier_dtype (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictionary_splat_pattern )parameters (block ...
these automatically copy, so copy=True has no effect raise on an except if raise == True
(module (function_definition (function_name_stop) function_name_stop (parameters (identifier_self) identifier_self )parameters (block (with_statement (with_clause (with_item (attribute (identifier_self) identifier_self (identifier__...
Clears all members
(module (function_definition (function_name_get_log_format_types) function_name_get_log_format_types (parameters )parameters (block (expression_statement (assignment (identifier_ret) identifier_ret (call (identifier_dict) identifier_dict (argum...
Get all available log format names and ids. :return: A dictionary of the log format names and ids. :rtype: dict CLI Example: .. code-block:: bash salt '*' win_smtp_server.get_log_format_types
(module (function_definition (function_name_newFromSites) function_name_newFromSites (parameters (identifier_self) identifier_self (identifier_sites) identifier_sites (default_parameter (identifier_exclude) identifier_exclude (False) False )default_parameter )parame...
Create a new read from self, with only certain sites. @param sites: A set of C{int} 0-based sites (i.e., indices) in sequences that should be kept. If C{None} (the default), all sites are kept. @param exclude: If C{True} the C{sites} will be excluded, not included.
(module (function_definition (function_name__run_tox_env) function_name__run_tox_env (parameters (identifier_self) identifier_self (identifier_env_name) identifier_env_name (default_parameter (identifier_extra_env_vars) identifier_extra_env_vars (dictionary )dictionar...
Run the specified tox environment. :param env_name: name of the tox environment to run :type env_name: str :param extra_env_vars: additional variables to set in the environment :type extra_env_vars: dict :raises: RuntimeError :returns: combined STDOUT / STDERR :r...
(module (function_definition (function_name_remove_network) function_name_remove_network (parameters (identifier_self) identifier_self (identifier_net_id) identifier_net_id )parameters (block (expression_statement (assignment (identifier_url) identifier_url ...
Remove a network. Similar to the ``docker network rm`` command. Args: net_id (str): The network's id
(module (function_definition (function_name_authorize) function_name_authorize (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_version) identifier_version (call (attribute (...
Use the magic of a unicorn and summon the set-top box to listen to us. / ,.. / ,' '; ,,.__ _,' /'; . :',' ~~~~ '. '~ :' ( ) )::, '. '. .=----=..-~ .;' ' ;' :: ':. '" ...
(module (function_definition (function_name_reftrack_status_data) function_name_reftrack_status_data (parameters (identifier_rt) identifier_rt (identifier_role) identifier_role )parameters (block (expression_statement (assignment (identifier_status) identifier_statu...
Return the data for the status :param rt: the :class:`jukeboxcore.reftrack.Reftrack` holds the data :type rt: :class:`jukeboxcore.reftrack.Reftrack` :param role: item data role :type role: QtCore.Qt.ItemDataRole :returns: data for the status :rtype: depending on role :raises: None
(module (function_definition (function_name_get_access_token) function_name_get_access_token (parameters (identifier_self) identifier_self (default_parameter (identifier_method) identifier_method (string_'POST') string_'POST' )default_parameter (default_parameter ...
Returns an access token. :param method: A string representation of the HTTP method to be used, defaults to `POST`. :type method: str :param decoder: A function used to parse the Response content. Should return a dictionary. :type decoder: func :param key:...
(module (function_definition (function_name_get_modules) function_name_get_modules (parameters (identifier_paths) identifier_paths (default_parameter (identifier_toplevel) identifier_toplevel (True) True )default_parameter )parameters (block (expression_statemen...
Take files from the command line even if they don't end with .py.
(module (function_definition (function_name_get_responsibles_data) function_name_get_responsibles_data (parameters (identifier_self) identifier_self (identifier_reports) identifier_reports )parameters (block (if_statement (not_operator (identifier_reports) identifie...
Responsibles data to be used in the template
(module (function_definition (function_name_get_student_email) function_name_get_student_email (parameters (identifier_cmd_args) identifier_cmd_args (default_parameter (identifier_endpoint) identifier_endpoint (string_'') string_'' )default_parameter )parameters (bloc...
Attempts to get the student's email. Returns the email, or None.
(module (function_definition (function_name_get_point_name) function_name_get_point_name (parameters (identifier_self) identifier_self (identifier_context) identifier_context )parameters (block (expression_statement (assignment (identifier_metadata_table) identifier...
Get point name. Parameters ---------- context : ??? ??? Returns ------- ??? ???
(module (function_definition (function_name__validate_cert_chain) function_name__validate_cert_chain (parameters (identifier_self) identifier_self (identifier_cert_chain) identifier_cert_chain )parameters (block (expression_statement (assignment (identifier_now) ide...
Validate the certificate chain. This method checks if the passed in certificate chain is valid, i.e it is not expired and the Alexa domain is present in the SAN extensions of the certificate chain. A :py:class:`VerificationException` is raised if the certificate chain is not val...
(module (function_definition (function_name_key_hash) function_name_key_hash (parameters (identifier_key) identifier_key )parameters (block (expression_statement (assignment (identifier_hashed) identifier_hashed (call (attribute (identi...
32-byte hash used for lookup of primary keys of jobs
(module (function_definition (function_name_extract_file_args) function_name_extract_file_args (parameters (identifier_subparsers) identifier_subparsers )parameters (block (expression_statement (assignment (identifier_extract_parser) identifier_extract_parser (c...
Add the command line options for the extract_file operation
(module (function_definition (function_name_produce) function_name_produce (parameters (identifier_self) identifier_self (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictionary_splat_pattern )parameters (block (expression_statement (assignmen...
Asynchronously sends message to Kafka by encoding with specified or default avro schema. :param str topic: topic name :param object value: An object to serialize :param str value_schema: Avro schema for value :param object key: An object to serialize :param s...
(module (function_definition (function_name_log_histogram) function_name_log_histogram (parameters (identifier_self) identifier_self (identifier_step) identifier_step (identifier_tag) identifier_tag (identifier_val) identifier_val )parameters (block (expression_statement ...
Write a histogram event. :param int step: Time step (x-axis in TensorBoard graphs) :param str tag: Label for this value :param numpy.ndarray val: Arbitrary-dimensional array containing values to be aggregated in the resulting histogram.
(module (function_definition (function_name_clean_pdb) function_name_clean_pdb (parameters (identifier_pdb_file) identifier_pdb_file (default_parameter (identifier_out_suffix) identifier_out_suffix (string_'_clean') string_'_clean' )default_parameter (default_parameter ...
Clean a PDB file. Args: pdb_file (str): Path to input PDB file 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 file exists already remove_atom_alt (bool): Remove a...
(module (function_definition (function_name_get_all_platforms) function_name_get_all_platforms (parameters (identifier_self) identifier_self )parameters (type (generic_type (identifier_AsyncIterator) identifier_AsyncIterator (type_parameter (type (iden...
Returns all platform instances
(module (function_definition (function_name_build_entity_from_uri) function_name_build_entity_from_uri (parameters (identifier_self) identifier_self (identifier_uri) identifier_uri (default_parameter (identifier_ontospyClass) identifier_ontospyClass (None) None )default...
Extract RDF statements having a URI as subject, then instantiate the RDF_Entity Python object so that it can be queried further. Passing <ontospyClass> allows to instantiate a user-defined RDF_Entity subclass. NOTE: the entity is not attached to any index. In future version we may create an index for ...
(module (function_definition (function_name_request_path) function_name_request_path (parameters (identifier_request) identifier_request )parameters (block (expression_statement (assignment (identifier_url) identifier_url (call (attribute ...
Path component of request-URI, as defined by RFC 2965.
(module (function_definition (function_name_wait) function_name_wait (parameters (identifier_self) identifier_self (identifier_container) identifier_container (default_parameter (identifier_timeout) identifier_timeout (None) None )default_parameter (default_parame...
Block until a container stops, then return its exit code. Similar to the ``docker wait`` command. Args: container (str or dict): The container to wait on. If a dict, the ``Id`` key is used. timeout (int): Request timeout condition (str): Wait until a ...
(module (function_definition (function_name_cast_callback) function_name_cast_callback (parameters (identifier_value) identifier_value )parameters (block (if_statement (comparison_operator (string_'T') string_'T' (identifier_value) identifier_value )comp...
Override `cast_callback` method.
(module (function_definition (function_name__attempt_to_choose_formatting_pattern) function_name__attempt_to_choose_formatting_pattern (parameters (identifier_self) identifier_self )parameters (block (if_statement (comparison_operator (call (identifier_len) id...
Attempts to set the formatting template and returns a string which contains the formatted version of the digits entered so far.
(module (function_definition (function_name_db_remove) function_name_db_remove (parameters (identifier_name) identifier_name (dictionary_splat_pattern (identifier_connection_args) identifier_connection_args )dictionary_splat_pattern )parameters (block (if_statement ...
Removes a databases from the MySQL server. CLI Example: .. code-block:: bash salt '*' mysql.db_remove 'dbname'
(module (function_definition (function_name_trainSequences) function_name_trainSequences (parameters (identifier_sequences) identifier_sequences (identifier_exp) identifier_exp (default_parameter (identifier_idOffset) identifier_idOffset (integer_0) integer_0 )default_p...
Train the network on all the sequences
(module (function_definition (function_name_onesided_cl_to_dlnl) function_name_onesided_cl_to_dlnl (parameters (identifier_cl) identifier_cl )parameters (block (expression_statement (assignment (identifier_alpha) identifier_alpha (binary_operator (fl...
Compute the delta-loglikehood values that corresponds to an upper limit of the given confidence level. Parameters ---------- cl : float Confidence level. Returns ------- dlnl : float Delta-loglikelihood value with respect to the maximum of the likelihood function.
(module (function_definition (function_name__remove_unexpected_query_parameters) function_name__remove_unexpected_query_parameters (parameters (identifier_schema) identifier_schema (identifier_req) identifier_req )parameters (block (expression_statement (assignment ...
Remove unexpected properties from the req.GET.
(module (function_definition (function_name_return_value) function_name_return_value (parameters (identifier_self) identifier_self (list_splat_pattern (identifier_args) identifier_args )list_splat_pattern (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs ...
Extracts the real value to be returned from the wrapping callable. :return: The value the double should return when called.
(module (function_definition (function_name_all) function_name_all (parameters (identifier_self) identifier_self (default_parameter (identifier_scope) identifier_scope (None) None )default_parameter (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs...
List all the runners. Args: scope (str): The scope of runners to show, one of: specific, shared, active, paused, online all (bool): If True, return all the items, without pagination per_page (int): Number of items to retrieve per request page (int...
(module (function_definition (function_name_update) function_name_update (parameters (identifier_self) identifier_self )parameters (block (if_statement (comparison_operator (attribute (identifier_self) identifier_self (identifier_input_method) iden...
Update CPU stats using the input method.