sequence
stringlengths
557
12.7k
docstring
stringlengths
4
15.2k
(module (function_definition (function_name_data) function_name_data (parameters (identifier_self) identifier_self (identifier_data) identifier_data )parameters (block (expression_statement (assignment (attribute (identifier_self) identifier_self ...
Store a copy of the data.
(module (function_definition (function_name_get_specification) function_name_get_specification (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_resp) identifier_resp (call (attribute ...
Get the specification for the running application. Returns ------- spec : ApplicationSpec
(module (function_definition (function_name__DeserializeAttributeContainer) function_name__DeserializeAttributeContainer (parameters (identifier_self) identifier_self (identifier_container_type) identifier_container_type (identifier_serialized_data) identifier_serialized_data )parameters...
Deserializes an attribute container. Args: container_type (str): attribute container type. serialized_data (bytes): serialized attribute container data. Returns: AttributeContainer: attribute container or None. Raises: IOError: if the serialized data cannot be decoded. OSErr...
(module (function_definition (function_name_format_currency_field) function_name_format_currency_field (parameters (identifier___) identifier___ (identifier_prec) identifier_prec (identifier_number) identifier_number (identifier_locale) identifier_locale )parameters (block ...
Formats a currency field.
(module (function_definition (function_name_check_for_end_game) function_name_check_for_end_game (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_gameover) identifier_gameover (False) False )a...
Check if one or more player is currently losing. End the game if they are.
(module (function_definition (function_name_to_dict) function_name_to_dict (parameters (identifier_self) identifier_self )parameters (block (function_definition (function_name__json_safe) function_name__json_safe (parameters (identifier_v) identifier_v )pa...
dump a representation of the nparray object to a dictionary. The nparray object should then be able to be fully restored via nparray.from_dict
(module (function_definition (function_name_render) function_name_render (parameters (identifier_self) identifier_self (identifier_url) identifier_url (default_parameter (identifier_template) identifier_template (None) None )default_parameter (default_parameter ...
Render feed template
(module (function_definition (function_name_getVersionList) function_name_getVersionList (parameters (identifier_self) identifier_self (identifier_full_path) identifier_full_path (default_parameter (identifier_startnum) identifier_startnum (integer_0) integer_0 )default...
Get a version list of a file or dierectory. :param full_path: The full path to get the file or directory property. Path should start with '/' :param startnum: Start version index. :param pagingrow: Max # of version list in one page. :returns: ``metadata`` if succcess or ``False`` (fail...
(module (function_definition (function_name_dim_axis_label) function_name_dim_axis_label (parameters (identifier_dimensions) identifier_dimensions (default_parameter (identifier_separator) identifier_separator (string_', ') string_', ' )default_parameter )parameters (...
Returns an axis label for one or more dimensions.
(module (function_definition (function_name_reorder_view) function_name_reorder_view (parameters (identifier_self) identifier_self (identifier_request) identifier_request )parameters (block (expression_statement (assignment (identifier_model) identifier_model ...
The 'reorder' admin view for this model.
(module (function_definition (function_name_find_network_by_name) function_name_find_network_by_name (parameters (identifier_self) identifier_self (identifier_si) identifier_si (identifier_path) identifier_path (identifier_name) identifier_name )parameters (block (return_...
Finds network in the vCenter or returns "None" :param si: pyvmomi 'ServiceInstance' :param path: the path to find the object ('dc' or 'dc/folder' or 'dc/folder/folder/etc...') :param name: the datastore name to return
(module (function_definition (function_name_remove_reserved_keys) function_name_remove_reserved_keys (parameters (identifier_self) identifier_self (identifier_op) identifier_op )parameters (block (expression_statement (assignment (identifier_sanitized) identifier_sa...
Remove reserved keywords from an op dict, which can then safely be passed into the db. Returns a new op dict, and the reserved fields
(module (function_definition (function_name_do_alarm_history_list) function_name_do_alarm_history_list (parameters (identifier_mc) identifier_mc (identifier_args) identifier_args )parameters (block (expression_statement (assignment (identifier_fields) identifier_fie...
List alarms state history.
(module (function_definition (function_name_project_community) function_name_project_community (parameters (identifier_index) identifier_index (identifier_start) identifier_start (identifier_end) identifier_end )parameters (block (expression_statement (assignment ...
Compute the metrics for the project community section of the enriched git index. Returns a dictionary containing "author_metrics", "people_top_metrics" and "orgs_top_metrics" as the keys and the related Metrics as the values. :param index: index object :param start: start date to get the data from...
(module (function_definition (function_name_load) function_name_load (parameters (identifier_self) identifier_self (default_parameter (identifier_require) identifier_require (True) True )default_parameter (list_splat_pattern (identifier_args) identifier_args ...
Require packages for this EntryPoint, then resolve it.
(module (function_definition (function_name_disassemble) function_name_disassemble (parameters (identifier_self) identifier_self (default_parameter (identifier_start) identifier_start (None) None )default_parameter (default_parameter (identifier_end) identifier_...
Disassemble native instructions. Args: start (int): Start address. end (int): End address. arch_mode (int): Architecture mode. Returns: (int, Instruction, int): A tuple of the form (address, assembler instruction, instruction size).
(module (function_definition (function_name_data) function_name_data (parameters (identifier_self) identifier_self (identifier_value) identifier_value )parameters (block (if_statement (not_operator (identifier_value) identifier_value )not_operator (b...
Set the byte data and fill up the bytes to fit the size.
(module (function_definition (function_name__first_owner) function_name__first_owner (parameters (identifier_self) identifier_self (identifier_name) identifier_name )parameters (block (expression_statement (assignment (identifier_owner) identifier_owner (N...
Takes a name, and returns the owner of the deepest subdomain that has an owner :returns: (owner or None, list(unowned_subdomain_labels), first_owned_domain)
(module (function_definition (function_name_nice_true_ces) function_name_nice_true_ces (parameters (identifier_tc) identifier_tc )parameters (block (expression_statement (assignment (identifier_cause_list) identifier_cause_list (list )list )ass...
Format a true |CauseEffectStructure|.
(module (function_definition (function_name_configure_app) function_name_configure_app (parameters (identifier_app) identifier_app (default_parameter (identifier_config) identifier_config (None) None )default_parameter (default_parameter (identifier_config_obj) ...
Configure application instance. Args: app (Flask): initialized Flask app instance config (Optional[path]): path to a Python module config file config_obj (Optional[class]): Python config object
(module (function_definition (function_name__prepare_sort_by_score) function_name__prepare_sort_by_score (parameters (identifier_self) identifier_self (identifier_values) identifier_values (identifier_sort_options) identifier_sort_options )parameters (block (expression_statemen...
Create the key to sort on the sorted set references in self._sort_by_sortedset and adapte sort options
(module (function_definition (function_name_parts) function_name_parts (parameters )parameters (block (expression_statement (assignment (identifier_parts) identifier_parts (dictionary (pair (string_'Canon') string_'Canon' (list_...
Returns the dictionary with the part as key and the contained book as indices.
(module (function_definition (function_name__samples_dicts_to_array) function_name__samples_dicts_to_array (parameters (identifier_samples_dicts) identifier_samples_dicts (identifier_labels) identifier_labels )parameters (block (expression_statement (assignment (ide...
Convert an iterable of samples where each sample is a dict to a numpy 2d array. Also determines the labels is they are None.
(module (function_definition (function_name_focusPrev) function_name_focusPrev (parameters (identifier_self) identifier_self (identifier_event) identifier_event )parameters (block (try_statement (block (expression_statement (call (attribute...
Set focus to previous item in sequence
(module (function_definition (function_name_switch_to_json_payload_encoding) function_name_switch_to_json_payload_encoding (parameters (identifier_call_fn) identifier_call_fn (identifier_response_class) identifier_response_class )parameters (block (function_definition (functi...
Switch payload encoding to JSON for GRPC call
(module (function_definition (function_name_write) function_name_write (parameters (identifier_self) identifier_self (identifier_address) identifier_address (identifier_size) identifier_size (identifier_value) identifier_value )parameters (block (for_statement (id...
Write arbitrary size content to memory.
(module (function_definition (function_name__cookies_for_request) function_name__cookies_for_request (parameters (identifier_self) identifier_self (identifier_request) identifier_request )parameters (block (expression_statement (assignment (identifier_cookies) ident...
Return a list of cookies to be returned to server.
(module (function_definition (function_name_put_feature) function_name_put_feature (parameters (identifier_ctx) identifier_ctx (identifier_dataset) identifier_dataset (identifier_fid) identifier_fid (identifier_feature) identifier_feature (identifier_input) identifier_input )...
Create or update a dataset feature. The semantics of HTTP PUT apply: if the dataset has no feature with the given `fid` a new feature will be created. Returns a GeoJSON representation of the new or updated feature. $ mapbox datasets put-feature dataset-id feature-id 'geojson-feature' All endp...
(module (function_definition (function_name__verifyHostKey) function_name__verifyHostKey (parameters (identifier_self) identifier_self (identifier_hostKey) identifier_hostKey (identifier_fingerprint) identifier_fingerprint )parameters (block (if_statement (comparison_op...
Called when ssh transport requests us to verify a given host key. Return a deferred that callback if we accept the key or errback if we decide to reject it.
(module (function_definition (function_name_errors) function_name_errors (parameters (identifier_request) identifier_request (list_splat_pattern (identifier_args) identifier_args )list_splat_pattern (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )...
A dummy view that will throw errors. It'll throw any HTTP error that is contained in the search query.
(module (function_definition (function_name_add_basemap) function_name_add_basemap (parameters (identifier_ax) identifier_ax (default_parameter (identifier_zoom) identifier_zoom (integer_12) integer_12 )default_parameter )parameters (block (expression_statement ...
Adds map to a plot.
(module (function_definition (function_name__validate_codeblock_size) function_name__validate_codeblock_size (parameters (identifier_self) identifier_self (identifier_cparams) identifier_cparams )parameters (block (if_statement (boolean_operator (comparison_operator...
Code block dimensions must satisfy certain restrictions. They must both be a power of 2 and the total area defined by the width and height cannot be either too great or too small for the codec.
(module (function_definition (function_name_elapsed) function_name_elapsed (parameters (default_parameter (identifier_t0) identifier_t0 (float_0.0) float_0.0 )default_parameter )parameters (block (expression_statement (assignment (identifier_now) ide...
get elapsed time from the give time Returns: now: the absolute time now dt_str: elapsed time in string
(module (function_definition (function_name_create_empty) function_name_create_empty (parameters (identifier_self) identifier_self (default_parameter (identifier_name) identifier_name (None) None )default_parameter (default_parameter (identifier_renderers) ident...
Create a new, empty network. The new network may be created as part of an existing network collection or a new network collection. :param name (string, optional): Enter the name of the new network. :param renderers (string, optional): Select the renderer to use for the new network v...
(module (function_definition (function_name_deserialize) function_name_deserialize (parameters (identifier_klass) identifier_klass (identifier_data) identifier_data )parameters (block (expression_statement (assignment (identifier_handler) identifier_handler ...
Helper function to access a method that creates objects of a given `klass` with the received `data`.
(module (function_definition (function_name_cmd_async) function_name_cmd_async (parameters (identifier_self) identifier_self (identifier_low) identifier_low )parameters (block (expression_statement (assignment (identifier_fun) identifier_fun (call ...
Execute a function asynchronously; eauth is respected This function requires that :conf_master:`external_auth` is configured and the user is authorized .. code-block:: python >>> wheel.cmd_async({ 'fun': 'key.finger', 'match': 'jerry', ...
(module (function_definition (function_name_runjava) function_name_runjava (parameters (identifier_self) identifier_self (identifier_classpath) identifier_classpath (identifier_main) identifier_main (default_parameter (identifier_jvm_options) identifier_jvm_options (Non...
Runs the java main using the given classpath and args. If --execution-strategy=subprocess is specified then the java main is run in a freshly spawned subprocess, otherwise a persistent nailgun server dedicated to this Task subclass is used to speed up amortized run times. :API: public
(module (function_definition (function_name_format_exc) function_name_format_exc (parameters (list_splat_pattern (identifier_exc_info) identifier_exc_info )list_splat_pattern )parameters (block (expression_statement (assignment (pattern_list (ide...
Show exception with traceback.
(module (function_definition (function_name_get_requests_for_local_unit) function_name_get_requests_for_local_unit (parameters (default_parameter (identifier_relation_name) identifier_relation_name (None) None )default_parameter )parameters (block (expression_statemen...
Extract any certificates data targeted at this unit down relation_name. :param relation_name: str Name of relation to check for data. :returns: List of bundles of certificates. :rtype: List of dicts
(module (function_definition (function_name_disconnect) function_name_disconnect (parameters (identifier_self) identifier_self (identifier_client) identifier_client )parameters (block (expression_statement (call (attribute (attribute (ident...
Remove client from pool.
(module (function_definition (function_name_dict_to_path) function_name_dict_to_path (parameters (identifier_as_dict) identifier_as_dict )parameters (block (expression_statement (assignment (identifier_result) identifier_result (call (attribute ...
Turn a pure dict into a dict containing entity objects that can be sent directly to a Path constructor. Parameters ----------- as_dict : dict Has keys: 'vertices', 'entities' Returns ------------ kwargs : dict Has keys: 'vertices', 'entities'
(module (function_definition (function_name__depr) function_name__depr (parameters (identifier_fn) identifier_fn (identifier_usage) identifier_usage (default_parameter (identifier_stacklevel) identifier_stacklevel (integer_3) integer_3 )default_parameter )parameters...
Internal convenience function for deprecation warnings
(module (function_definition (function_name_get_errors_for_state_name) function_name_get_errors_for_state_name (parameters (identifier_self) identifier_self (identifier_name) identifier_name )parameters (block (expression_statement (assignment (identifier_return_val...
Returns the error message of the child state specified by name. Note: This is utility function that is used by the programmer to make a decision based on the final outcome of its child states. A state is not uniquely specified by the name, but as the programmer normally does not want to use sta...
(module (function_definition (function_name_add_class) function_name_add_class (parameters (identifier_self) identifier_self (identifier_className) identifier_className )parameters (block (if_statement (comparison_operator (identifier_className) identifier_className...
Adds a class to the top level element of the widget. Doesn't add the class if it already exists.
(module (function_definition (function_name_on_raw_join) function_name_on_raw_join (parameters (identifier_self) identifier_self (identifier_message) identifier_message )parameters (block (expression_statement (assignment (pattern_list (identifier_nick) ...
JOIN command.
(module (function_definition (function_name_cublasStrmm) function_name_cublasStrmm (parameters (identifier_handle) identifier_handle (identifier_side) identifier_side (identifier_uplo) identifier_uplo (identifier_trans) identifier_trans (identifier_diag) identifier_diag (id...
Matrix-matrix product for real triangular matrix.
(module (function_definition (function_name_file_client) function_name_file_client (parameters (identifier_self) identifier_self )parameters (block (if_statement (not_operator (attribute (identifier_self) identifier_self (identifier__file_client) i...
Return a file client. Instantiates on first call.
(module (function_definition (function_name_set_image) function_name_set_image (parameters (identifier_self) identifier_self (identifier_image) identifier_image (default_parameter (identifier_add_to_canvas) identifier_add_to_canvas (True) True )default_parameter )pa...
Set an image to be displayed. If there is no error, the ``'image-unset'`` and ``'image-set'`` callbacks will be invoked. Parameters ---------- image : `~ginga.AstroImage.AstroImage` or `~ginga.RGBImage.RGBImage` Image object. add_to_canvas : bool ...
(module (function_definition (function_name_serie) function_name_serie (parameters (identifier_self) identifier_self (identifier_serie) identifier_serie )parameters (block (return_statement (call (identifier_dict) identifier_dict (argument_list ...
Make serie node
(module (function_definition (function_name_get_values) function_name_get_values (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_attrs) identifier_attrs (call (attribute (ca...
Return a copy of field values on the current object. This method is almost identical to ``vars(self).copy()``. However, only instance attributes that correspond to a field are included in the returned dict. :return: A dict mapping field names to user-provided values.
(module (function_definition (function_name_getAnalysisServicesVocabulary) function_name_getAnalysisServicesVocabulary (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_bsc) identifier_bsc (call ...
Get all active Analysis Services from Bika Setup and return them as Display List.
(module (function_definition (function_name_correct_rates) function_name_correct_rates (parameters (identifier_rates) identifier_rates (identifier_opt_qes) identifier_opt_qes (identifier_combs) identifier_combs )parameters (block (expression_statement (assignment ...
Applies optimal qes to rates. Should be closer to fitted_rates afterwards. Parameters ---------- rates: numpy array of rates of all PMT combinations opt_qes: numpy array of optimal qe values for all PMTs combs: pmt combinations used to correct Returns ------- corrected_rates: nump...
(module (function_definition (function_name_plot) function_name_plot (parameters (identifier_values) identifier_values (identifier_mode_names) identifier_mode_names (identifier_title) identifier_title (tuple_pattern (identifier_xlabel) identifier_xlabel (identifier_ylab...
Plot a diagram
(module (function_definition (function_name__get_seo_content_types) function_name__get_seo_content_types (parameters (identifier_seo_models) identifier_seo_models )parameters (block (try_statement (block (return_statement (list_comprehension (att...
Returns a list of content types from the models defined in settings.
(module (function_definition (function_name_awaitTermination) function_name_awaitTermination (parameters (identifier_self) identifier_self (default_parameter (identifier_timeout) identifier_timeout (None) None )default_parameter )parameters (block (if_statement ...
Wait for context to stop. :param float timeout: in seconds
(module (function_definition (function_name_starts) function_name_starts (parameters (identifier_self) identifier_self (identifier_layer) identifier_layer )parameters (block (expression_statement (assignment (identifier_starts) identifier_starts (list ...
Retrieve start positions of elements if given layer.
(module (function_definition (function_name_get_header_as_text) function_name_get_header_as_text (parameters (identifier_file_content) identifier_file_content (identifier_reference_id) identifier_reference_id )parameters (block (expression_statement (assignment (ide...
\ Returns the cable's header as text. `file_content` The HTML file content, c.f. `get_file_content`.
(module (function_definition (function_name_decrease_posts_count_after_post_deletion) function_name_decrease_posts_count_after_post_deletion (parameters (identifier_sender) identifier_sender (identifier_instance) identifier_instance (dictionary_splat_pattern (identifier_kwargs) ident...
Decreases the member's post count after a post deletion. This receiver handles the deletion of a forum post: the posts count related to the post's author is decreased.
(module (function_definition (function_name__get_peer_connection) function_name__get_peer_connection (parameters (identifier_self) identifier_self (default_parameter (identifier_blacklist) identifier_blacklist (None) None )default_parameter )parameters (block (e...
Find a peer and connect to it. Returns a ``(peer, connection)`` tuple. Raises ``NoAvailablePeerError`` if no healthy peers are found. :param blacklist: If given, a set of hostports for peers that we must not try.
(module (function_definition (function_name_set) function_name_set (parameters (identifier_self) identifier_self (identifier_path) identifier_path (identifier_item) identifier_item (identifier_replace) identifier_replace )parameters (block (if_statement (compariso...
Sets item for `path` and returns the item. Replaces existing item with `item` when `replace` is true :param path: Path for item :param item: New item :param replace: Updating mode :type path: list :type item: object :type replace: bool
(module (function_definition (function_name_execute) function_name_execute (parameters (identifier_self) identifier_self )parameters (block (if_statement (attribute (identifier_self) identifier_self (identifier__decode_output) identifier__decode_output )...
Execute a system command.
(module (function_definition (function_name_shell) function_name_shell (parameters (identifier_state) identifier_state (identifier_host) identifier_host (identifier_commands) identifier_commands (default_parameter (identifier_chdir) identifier_chdir (None) None )d...
Run raw shell code. + commands: command or list of commands to execute on the remote server + chdir: directory to cd into before executing commands
(module (function_definition (function_name_gtpswd) function_name_gtpswd (parameters (identifier_prompt) identifier_prompt (identifier_confirmPassword) identifier_confirmPassword )parameters (block (try_statement (block (return_statement (call ...
Temporary wrapper for Twisted's getPassword until a version that supports customizing the 'confirm' prompt is released.
(module (function_definition (function_name_trace_module) function_name_trace_module (parameters (identifier_module) identifier_module (default_parameter (identifier_tracer) identifier_tracer (identifier_tracer) identifier_tracer )default_parameter (default_parameter ...
Traces given module members using given tracer. :param module: Module to trace. :type module: ModuleType :param tracer: Tracer. :type tracer: object :param pattern: Matching pattern. :type pattern: unicode :param flags: Matching regex flags. :type flags: int :return: Definition succ...
(module (function_definition (function_name_get_value) function_name_get_value (parameters (identifier_cls) identifier_cls (identifier_object_version) identifier_object_version (identifier_key) identifier_key )parameters (block (expression_statement (assignment ...
Get the tag value.
(module (function_definition (function_name_matrix_to_images) function_name_matrix_to_images (parameters (identifier_data_matrix) identifier_data_matrix (identifier_mask) identifier_mask )parameters (block (if_statement (comparison_operator (attribute (i...
Unmasks rows of a matrix and writes as images ANTsR function: `matrixToImages` Arguments --------- data_matrix : numpy.ndarray each row corresponds to an image array should have number of columns equal to non-zero voxels in the mask mask : ANTsImage image containing a bina...
(module (function_definition (function_name_extract_symbol_app) function_name_extract_symbol_app (parameters (identifier_parser) identifier_parser (identifier__) identifier__ (identifier_args) identifier_args )parameters (block (expression_statement (call (att...
Extract a symbol from an ELF file.
(module (function_definition (function_name_error_state) function_name_error_state (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (attribute (attribute (attribute (identifier_sel...
Set the error condition
(module (function_definition (function_name_copy) function_name_copy (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_parser_copy) identifier_parser_copy (call (attribute (id...
Creates a copy of this RequestParser with the same set of arguments
(module (function_definition (function_name_fastaReadHeaders) function_name_fastaReadHeaders (parameters (identifier_fasta) identifier_fasta )parameters (block (expression_statement (assignment (identifier_headers) identifier_headers (list )list ...
Returns a list of fasta header lines, excluding
(module (function_definition (function_name_community_neighbors) function_name_community_neighbors (parameters (identifier_c_j) identifier_c_j (identifier_reverse_index_rows) identifier_reverse_index_rows (identifier_unavailable_communities) identifier_unavailable_communities (identifi...
Finds communities with shared nodes to a seed community. Called by mroc. Inputs: - c_j: The seed community for which we want to find which communities overlap. - reverse_index_rows: A node to community indicator matrix. - unavailable_communities: A set of communities that have already ei...
(module (function_definition (function_name_tmatrix_cov) function_name_tmatrix_cov (parameters (identifier_C) identifier_C (default_parameter (identifier_row) identifier_row (None) None )default_parameter )parameters (block (expression_statement (identif...
r"""Covariance tensor for the non-reversible transition matrix ensemble Normally the covariance tensor cov(p_ij, p_kl) would carry four indices (i,j,k,l). In the non-reversible case rows are independent so that cov(p_ij, p_kl)=0 for i not equal to k. Therefore the function will only return cov(p_ij, p_...
(module (function_definition (function_name_find_ruuvitags) function_name_find_ruuvitags (parameters (default_parameter (identifier_bt_device) identifier_bt_device (string_'') string_'' )default_parameter )parameters (block (expression_statement (call ...
Find all RuuviTags. Function will print the mac and the state of the sensors when found. Function will execute as long as it is stopped. Stop ecexution with Crtl+C. Returns: dict: MAC and state of found sensors
(module (function_definition (function_name_nodes) function_name_nodes (parameters (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictionary_splat_pattern )parameters (block (expression_statement (assignment (identifier_cfg) identifier_cfg ...
Return the names of the nodes composing the kubernetes cluster CLI Examples:: salt '*' kubernetes.nodes salt '*' kubernetes.nodes kubeconfig=/etc/salt/k8s/kubeconfig context=minikube
(module (function_definition (function_name__range_from_slice) function_name__range_from_slice (parameters (identifier_myslice) identifier_myslice (default_parameter (identifier_start) identifier_start (None) None )default_parameter (default_parameter (identifie...
Convert a slice to an array of integers.
(module (function_definition (function_name_cliques) function_name_cliques (parameters (identifier_self) identifier_self (identifier_xg) identifier_xg )parameters (block (expression_statement (assignment (identifier_g) identifier_g (call (attri...
Return all equivalence set cliques, assuming each edge in the xref graph is treated as equivalent, and all edges in ontology are subClassOf Arguments --------- xg : Graph an xref graph Returns ------- list of sets
(module (function_definition (function_name__add_resources) function_name__add_resources (parameters (identifier_data) identifier_data (identifier_runtime) identifier_runtime )parameters (block (if_statement (comparison_operator (string_"config") string_"config" ...
Merge input resources with current CWL runtime parameters.
(module (function_definition (function_name_demote) function_name_demote (parameters (identifier_self) identifier_self (identifier_amount_) identifier_amount_ (list_splat_pattern (identifier_queries) identifier_queries )list_splat_pattern (dictionary_splat_pattern ...
Returns a new S instance with boosting query and demotion. You can demote documents that match query criteria:: q = (S().query(title='trucks') .demote(0.5, description__match='gross')) q = (S().query(title='trucks') .demote(0.5, Q(description__m...
(module (function_definition (function_name_get_shell) function_name_get_shell (parameters (identifier_self) identifier_self )parameters (block (if_statement (parenthesized_expression (boolean_operator (not_operator (call (identif...
Return shell which is currently bound to Help, or another running shell if it has been terminated
(module (function_definition (function_name_encode_message) function_name_encode_message (parameters (identifier_self) identifier_self )parameters (block (if_statement (not_operator (attribute (identifier_self) identifier_self (identifier__message)...
Encode message to AMQP wire-encoded bytearray. :rtype: bytearray
(module (function_definition (function_name_to_json) function_name_to_json (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_json_data) identifier_json_data (call (identifier_dict) identifi...
Converts given document to JSON dict.
(module (function_definition (function_name__copy) function_name__copy (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_ins) identifier_ins (call (attribute (identifier_copy)...
needs to update page numbers
(module (function_definition (function_name_raw_name) function_name_raw_name (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_parts) identifier_parts (attribute (identifier_self) identifie...
The last part of raw_parts.
(module (function_definition (function_name_georadiusbymember) function_name_georadiusbymember (parameters (identifier_self) identifier_self (identifier_name) identifier_name (identifier_member) identifier_member (identifier_radius) identifier_radius (default_parameter (i...
This command is exactly like ``georadius`` with the sole difference that instead of taking, as the center of the area to query, a longitude and latitude value, it takes the name of a member already existing inside the geospatial index represented by the sorted set.
(module (function_definition (function_name__req_lixian_task_lists) function_name__req_lixian_task_lists (parameters (identifier_self) identifier_self (default_parameter (identifier_page) identifier_page (integer_1) integer_1 )default_parameter )parameters (block ...
This request will cause the system to create a default downloads directory if it does not exist
(module (function_definition (function_name_fetch) function_name_fetch (parameters (identifier_self) identifier_self (identifier_endpoint) identifier_endpoint (default_parameter (identifier_data) identifier_data (None) None )default_parameter )parameters (block ...
for getting data after logged in
(module (function_definition (function_name_execute) function_name_execute (parameters (identifier_self) identifier_self (identifier_cmd) identifier_cmd (identifier_cwd) identifier_cwd )parameters (block (expression_statement (assignment (attribute ...
Execute commands and output this :param cmd: -- list of cmd command and arguments :type cmd: list :param cwd: -- workdir for executions :type cwd: str,unicode :return: -- string with full output :rtype: str
(module (function_definition (function_name_delete_attribute_group) function_name_delete_attribute_group (parameters (identifier_group_id) identifier_group_id (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictionary_splat_pattern )parameters (block (e...
Delete an attribute group.
(module (function_definition (function_name__parse_dtype) function_name__parse_dtype (parameters (identifier_self) identifier_self (identifier_space) identifier_space )parameters (block (if_statement (call (identifier_isinstance) identifier_isinstance (arg...
Get a tensor dtype from a OpenAI Gym space. Args: space: Gym space. Raises: NotImplementedError: For spaces other than Box and Discrete. Returns: TensorFlow data type.
(module (function_definition (function_name_create) function_name_create (parameters (identifier_self) identifier_self (identifier_name) identifier_name (identifier_kind) identifier_kind (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictionary_splat_pat...
Creates an input of a specific kind in this collection, with any arguments you specify. :param `name`: The input name. :type name: ``string`` :param `kind`: The kind of input: - "ad": Active Directory - "monitor": Files and directories - "registry"...
(module (function_definition (function_name__maybe_repeat) function_name__maybe_repeat (parameters (identifier_self) identifier_self (identifier_x) identifier_x )parameters (block (if_statement (call (identifier_isinstance) identifier_isinstance (argument_...
Utility function for processing arguments that are singletons or lists. Args: x: either a list of self.n elements, or not a list. Returns: a list of self.n elements.
(module (function_definition (function_name_get_v_total_stress_at_depth) function_name_get_v_total_stress_at_depth (parameters (identifier_self) identifier_self (identifier_z) identifier_z )parameters (block (if_statement (not_operator (call (identifier_...
Determine the vertical total stress at depth z, where z can be a number or an array of numbers.
(module (function_definition (function_name_parse_changes) function_name_parse_changes (parameters )parameters (block (with_statement (with_clause (with_item (as_pattern (call (identifier_open) identifier_open (argument_...
grab version from CHANGES and validate entry
(module (function_definition (function_name_add_node) function_name_add_node (parameters (identifier_self) identifier_self (default_parameter (identifier_agent_type) identifier_agent_type (None) None )default_parameter (default_parameter (identifier_state) ident...
Add a new node to the current network Parameters ---------- agent_type : NetworkAgent subclass Agent in the new node will be instantiated using this agent class state : object State of the Agent, this may be an integer or string or any other name : str, o...
(module (function_definition (function_name_hash_str) function_name_hash_str (parameters (identifier_data) identifier_data (default_parameter (identifier_hasher) identifier_hasher (None) None )default_parameter )parameters (block (expression_statement (a...
Checksum hash a string.
(module (function_definition (function_name_add_parent) function_name_add_parent (parameters (identifier_self) identifier_self (identifier_node) identifier_node )parameters (block (if_statement (not_operator (call (identifier_isinstance) identifier_isins...
Add a parent to this node. This node will not be executed until the parent node has run sucessfully. @param node: CondorDAGNode to add as a parent.
(module (function_definition (function_name_get_next_application_id) function_name_get_next_application_id (parameters (identifier_nodes) identifier_nodes )parameters (block (expression_statement (assignment (identifier_used) identifier_used (call (i...
Calculates free application_id from given nodes :param nodes: :raises IOUError when exceeds number :return: integer first free id
(module (function_definition (function_name_user) function_name_user (parameters (identifier_self) identifier_self (default_parameter (identifier_username) identifier_username (None) None )default_parameter (default_parameter (identifier_pk) identifier_pk ...
User of KE-chain. Provides single user of :class:`User` of KE-chain. You can filter on username or id or an advanced filter. :param username: (optional) username to filter :type username: basestring or None :param pk: (optional) id of the user to filter :type pk: basestring or ...
(module (function_definition (function_name_project_layout) function_name_project_layout (parameters (identifier_proposal) identifier_proposal (default_parameter (identifier_user) identifier_user (None) None )default_parameter (default_parameter (identifier_repo...
generate the project template proposal is the name of the project, user is an object containing some information about the user. - full name, - github username - email
(module (function_definition (function_name_get_agent) function_name_get_agent (parameters (identifier_self) identifier_self (identifier_parent) identifier_parent (default_parameter (identifier_retry) identifier_retry (attribute (attribute (attribute ...
Retrieves the specified agent. Example: >>> import dialogflow_v2 >>> >>> client = dialogflow_v2.AgentsClient() >>> >>> parent = client.project_path('[PROJECT]') >>> >>> response = client.get_agent(parent) Args: ...