sequence
stringlengths
557
12.7k
docstring
stringlengths
4
15.2k
(module (function_definition (function_name_read_energy_bounds) function_name_read_energy_bounds (parameters (identifier_hdu) identifier_hdu )parameters (block (expression_statement (assignment (identifier_nebins) identifier_nebins (call (identifier_...
Reads and returns the energy bin edges from a FITs HDU
(module (function_definition (function_name_impact_check_range) function_name_impact_check_range (parameters (identifier_func) identifier_func )parameters (block (decorated_definition (decorator (call (identifier_wraps) identifier_wraps (argument_l...
Decorator to check the range of interpolated kicks
(module (function_definition (function_name_get_image_size) function_name_get_image_size (parameters (identifier_self) identifier_self (identifier_image) identifier_image )parameters (block (if_statement (comparison_operator (subscript (identifier_image)...
Returns the image width and height as a tuple
(module (function_definition (function_name_get_as_parameters_with_default) function_name_get_as_parameters_with_default (parameters (identifier_self) identifier_self (identifier_key) identifier_key (identifier_default_value) identifier_default_value )parameters (block (express...
Converts map element into an Parameters or returns default value if conversion is not possible. :param key: a key of element to get. :param default_value: the default value :return: Parameters value of the element or default value if conversion is not supported.
(module (function_definition (function_name_remove_listener) function_name_remove_listener (parameters (identifier_self) identifier_self (identifier_listener) identifier_listener )parameters (block (expression_statement (assignment (identifier_internal_listener) ide...
Remove the given listener from the wrapped client. :param listener: A listener previously passed to :meth:`add_listener`.
(module (function_definition (function_name_get_narrow_url) function_name_get_narrow_url (parameters (identifier_self) identifier_self (identifier_instance) identifier_instance )parameters (block (expression_statement (assignment (identifier_text) identifier_text ...
Return a link suitable for narrowing on the current item.
(module (function_definition (function_name_also_restrict_to) function_name_also_restrict_to (parameters (identifier_self) identifier_self (identifier_restriction) identifier_restriction )parameters (block (if_statement (comparison_operator (call (identi...
Works like restict_to but offers an additional restriction. Playbooks use this to implement serial behavior.
(module (function_definition (function_name__convert_json) function_name__convert_json (parameters (identifier_obj) identifier_obj )parameters (block (if_statement (call (identifier_isinstance) identifier_isinstance (argument_list (identifier_obj) id...
Converts from the JSON output provided by ovs-vsctl into a usable Python object tree. In particular, sets and maps are converted from lists to actual sets or maps. Args: obj: Object that shall be recursively converted. Returns: Converted version of object.
(module (function_definition (function_name_ex_varassign) function_name_ex_varassign (parameters (identifier_name) identifier_name (identifier_expr) identifier_expr )parameters (block (if_statement (not_operator (call (identifier_isinstance) identifier_i...
Assign an expression into a single variable. The expression may either be an `ast.expr` object or a value to be used as a literal.
(module (function_definition (function_name__interpret_ltude) function_name__interpret_ltude (parameters (identifier_value) identifier_value (identifier_name) identifier_name (identifier_psuffix) identifier_psuffix (identifier_nsuffix) identifier_nsuffix )parameters (block ...
Interpret a string, float, or tuple as a latitude or longitude angle. `value` - The string to interpret. `name` - 'latitude' or 'longitude', for use in exception messages. `positive` - The string that indicates a positive angle ('N' or 'E'). `negative` - The string that indicates a negative angle ('S' ...
(module (function_definition (function_name_aroon_up) function_name_aroon_up (parameters (identifier_data) identifier_data (identifier_period) identifier_period )parameters (block (expression_statement (call (attribute (identifier_catch_errors) identifie...
Aroon Up. Formula: AROONUP = (((PERIOD) - (PERIODS since PERIOD high)) / (PERIOD)) * 100
(module (function_definition (function_name__persist_metadata) function_name__persist_metadata (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_serializable_data) identifier_serializable_data (call ...
Write all script meta-data, including the persistent script Store. The Store instance might contain arbitrary user data, like function objects, OpenCL contexts, or whatever other non-serializable objects, both as keys or values. Try to serialize the data, and if it fails, fall back to checking t...
(module (function_definition (function_name_get_transport_target) function_name_get_transport_target (parameters (identifier_cls) identifier_cls (identifier_instance) identifier_instance (identifier_timeout) identifier_timeout (identifier_retries) identifier_retries )parameters ...
Generate a Transport target object based on the instance's configuration
(module (function_definition (function_name_parse_datetime) function_name_parse_datetime (parameters (typed_parameter (identifier_record) identifier_record (type (identifier_str) identifier_str )type )typed_parameter )parameters (type (generic_type ...
Parse a datetime string into a python datetime object
(module (function_definition (function_name__start_lst_proc) function_name__start_lst_proc (parameters (identifier_self) identifier_self (identifier_listener_type) identifier_listener_type (identifier_listener_opts) identifier_listener_opts )parameters (block (expression_statem...
Start the listener process.
(module (function_definition (function_name_edit_matching_entry) function_name_edit_matching_entry (parameters (identifier_program) identifier_program (identifier_arguments) identifier_arguments )parameters (block (expression_statement (assignment (identifier_entry)...
Edit the matching entry.
(module (function_definition (function_name__generate_manager) function_name__generate_manager (parameters (identifier_manager_config) identifier_manager_config )parameters (block (if_statement (comparison_operator (string_'class') string_'class' (identifier_man...
Generate a manager from a manager_config dictionary Parameters ---------- manager_config : dict Configuration with keys class, args, and kwargs used to generate a new datafs.manager object Returns ------- manager : object datafs.man...
(module (function_definition (function_name_get_paths) function_name_get_paths (parameters (identifier_self) identifier_self (identifier_theme) identifier_theme (identifier_icon_size) identifier_icon_size )parameters (block (expression_statement (assignment (i...
Returns tuple of theme, icon, action and toggle paths
(module (function_definition (function_name__handle_stderr_event) function_name__handle_stderr_event (parameters (identifier_self) identifier_self (identifier_fd) identifier_fd (identifier_events) identifier_events )parameters (block (assert_statement (comparison_operat...
Eventhandler for stderr
(module (function_definition (function_name_set_published_date) function_name_set_published_date (parameters (identifier_self) identifier_self )parameters (block (try_statement (block (expression_statement (assignment (attribute (...
Parses published date and set value
(module (function_definition (function_name_bluemix) function_name_bluemix (parameters (identifier_cls) identifier_cls (identifier_vcap_services) identifier_vcap_services (default_parameter (identifier_instance_name) identifier_instance_name (None) None )default_paramet...
Create a Cloudant session using a VCAP_SERVICES environment variable. :param vcap_services: VCAP_SERVICES environment variable :type vcap_services: dict or str :param str instance_name: Optional Bluemix instance name. Only required if multiple Cloudant instances are available. ...
(module (function_definition (function_name_get_all_query_traces) function_name_get_all_query_traces (parameters (identifier_self) identifier_self (default_parameter (identifier_max_wait_per) identifier_max_wait_per (None) None )default_parameter (default_parameter ...
Fetches and returns the query traces for all query pages, if tracing was enabled. See note in :meth:`~.get_query_trace` regarding possible exceptions.
(module (function_definition (function_name_intercept) function_name_intercept (parameters (typed_default_parameter (identifier_actions) identifier_actions (type (identifier_dict) identifier_dict )type (dictionary )dictionary )typed_default_paramet...
Decorates a function and handles any exceptions that may rise. Args: actions: A dictionary ``<exception type>: <action>``. Available actions\ are :class:`raises` and :class:`returns`. Returns: Any value declared using a :class:`returns` action. Raises: AnyException: if...
(module (function_definition (function_name_clear_copyright) function_name_clear_copyright (parameters (identifier_self) identifier_self )parameters (block (if_statement (parenthesized_expression (boolean_operator (call (attribute ...
Removes the copyright. raise: NoAccess - ``Metadata.isRequired()`` is ``true`` or ``Metadata.isReadOnly()`` is ``true`` *compliance: mandatory -- This method must be implemented.*
(module (function_definition (function_name__evaluate_dimension_fields) function_name__evaluate_dimension_fields (parameters (identifier_self) identifier_self )parameters (type (identifier_bool) identifier_bool )type (block (for_statement (pattern_list (iden...
Evaluates the dimension fields. Returns False if any of the fields could not be evaluated.
(module (function_definition (function_name_findLowest) function_name_findLowest (parameters (identifier_self) identifier_self (identifier_symorders) identifier_symorders )parameters (block (expression_statement (assignment (identifier__range) identifier__range ...
Find the position of the first lowest tie in a symorder or -1 if there are no ties
(module (function_definition (function_name_vae) function_name_vae (parameters (identifier_x) identifier_x (identifier_z_size) identifier_z_size (default_parameter (identifier_name) identifier_name (None) None )default_parameter )parameters (block (with_st...
Simple variational autoencoder without discretization. Args: x: Input to the discretization bottleneck. z_size: Number of bits, where discrete codes range from 1 to 2**z_size. name: Name for the bottleneck scope. Returns: Embedding function, latent, loss, mu and log_simga.
(module (function_definition (function_name_inv) function_name_inv (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (attribute (identifier_self) identifier_self (identifier_v) identifier_v ...
In place invert
(module (function_definition (function_name_get_subgraph_by_edge_filter) function_name_get_subgraph_by_edge_filter (parameters (identifier_graph) identifier_graph (typed_default_parameter (identifier_edge_predicates) identifier_edge_predicates (type (generic_type ...
Induce a sub-graph on all edges that pass the given filters. :param pybel.BELGraph graph: A BEL graph :param edge_predicates: An edge predicate or list of edge predicates :return: A BEL sub-graph induced over the edges passing the given filters :rtype: pybel.BELGraph
(module (function_definition (function_name_readAltWCS) function_name_readAltWCS (parameters (identifier_fobj) identifier_fobj (identifier_ext) identifier_ext (default_parameter (identifier_wcskey) identifier_wcskey (string_' ') string_' ' )default_parameter (defa...
Reads in alternate primary WCS from specified extension. Parameters ---------- fobj : str, `astropy.io.fits.HDUList` fits filename or fits file object containing alternate/primary WCS(s) to be converted wcskey : str [" ",A-Z] alternate/primary WCS key that will be replac...
(module (function_definition (function_name__any_pandas_objects) function_name__any_pandas_objects (parameters (identifier_terms) identifier_terms )parameters (block (return_statement (call (identifier_any) identifier_any (generator_expression (call ...
Check a sequence of terms for instances of PandasObject.
(module (function_definition (function_name__get_batch_representative) function_name__get_batch_representative (parameters (identifier_items) identifier_items (identifier_key) identifier_key )parameters (block (if_statement (call (identifier_isinstance) identifier_i...
Retrieve a representative data item from a batch. Handles standard bcbio cases (a single data item) and CWL cases with batches that have a consistent variant file.
(module (function_definition (function_name__is_valid_function) function_name__is_valid_function (parameters (identifier_module_name) identifier_module_name (identifier_function) identifier_function )parameters (block (try_statement (block (expression_statement ...
Determine if a function is valid for a module
(module (function_definition (function_name__get_driver) function_name__get_driver (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_ComputeEngine) identifier_ComputeEngine (call (identifie...
Get authenticated GCE driver.
(module (function_definition (function_name_family_coff) function_name_family_coff (parameters (identifier_self) identifier_self )parameters (block (if_statement (not_operator (attribute (identifier_self) identifier_self (identifier__ptr) identifie...
Return the family_coff attribute of the BFD file being processed.
(module (function_definition (function_name_check_padding_around_mutation) function_name_check_padding_around_mutation (parameters (identifier_given_padding) identifier_given_padding (identifier_epitope_lengths) identifier_epitope_lengths )parameters (block (expression_statement ...
If user doesn't provide any padding around the mutation we need to at least include enough of the surrounding non-mutated esidues to construct candidate epitopes of the specified lengths.
(module (function_definition (function_name_extract) function_name_extract (parameters (identifier_path_to_hex) identifier_path_to_hex (default_parameter (identifier_output_path) identifier_output_path (None) None )default_parameter )parameters (block (with_stat...
Given a path_to_hex file this function will attempt to extract the embedded script from it and save it either to output_path or stdout
(module (function_definition (function_name_remove_cycle_mrkr) function_name_remove_cycle_mrkr (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_window_start) identifier_window_start (call ...
Remove cycle marker.
(module (function_definition (function_name_set_type) function_name_set_type (parameters (identifier_spec) identifier_spec (identifier_obj_type) identifier_obj_type )parameters (block (if_statement (comparison_operator (identifier_spec) identifier_spec (No...
Updates type integer in the cerate UO specification. Type has to already have generations flags set correctly. Generation field is set accordingly. :param spec: :param obj_type: :return:
(module (function_definition (function_name_load_from_file) function_name_load_from_file (parameters (identifier_filename) identifier_filename )parameters (block (if_statement (call (attribute (attribute (identifier_os) identifier_os ...
Load a list of filenames from an external text file.
(module (function_definition (function_name_convert) function_name_convert (parameters (identifier_self) identifier_self (identifier_value) identifier_value (identifier_view) identifier_view )parameters (block (if_statement (call (identifier_isinstance) identi...
Check that the value is an integer. Floats are rounded.
(module (function_definition (function_name_build_full_toctree) function_name_build_full_toctree (parameters (identifier_builder) identifier_builder (identifier_docname) identifier_docname (identifier_prune) identifier_prune (identifier_collapse) identifier_collapse )parameters ...
Return a single toctree starting from docname containing all sub-document doctrees.
(module (function_definition (function_name_rename) function_name_rename (parameters (identifier_self) identifier_self (identifier_name) identifier_name )parameters (block (if_statement (identifier_name) identifier_name (block (expression_statement ...
Send to the remote shell, its new name to be shell expanded
(module (function_definition (function_name_expand_dataset) function_name_expand_dataset (parameters (identifier_X) identifier_X (identifier_y_proba) identifier_y_proba (default_parameter (identifier_factor) identifier_factor (integer_10) integer_10 )default_parameter ...
Convert a dataset with float multiclass probabilities to a dataset with indicator probabilities by duplicating X rows and sampling true labels.
(module (function_definition (function_name_schema) function_name_schema (parameters (identifier_self) identifier_self )parameters (block (if_statement (not_operator (attribute (identifier_self) identifier_self (identifier__schema) identifier__sche...
Retrieves the schema of the table. Returns: A Schema object containing a list of schema fields and associated metadata. Raises Exception if the request could not be executed or the response was malformed.
(module (function_definition (function_name_patch_sys_version) function_name_patch_sys_version (parameters )parameters (block (if_statement (comparison_operator (string_'|') string_'|' (attribute (identifier_sys) identifier_sys (identifier_vers...
Remove Continuum copyright statement to avoid parsing errors in IDLE
(module (function_definition (function_name_is_installed) function_name_is_installed (parameters (identifier_self) identifier_self (typed_parameter (identifier_name) identifier_name (type (identifier_str) identifier_str )type )typed_parameter )parameters...
Indicates a given Docker image is installed on this server. Parameters: name: the name of the Docker image. Returns: `True` if installed; `False` if not.
(module (function_definition (function_name__get_by_index) function_name__get_by_index (parameters (identifier_self) identifier_self (identifier_index) identifier_index )parameters (block (expression_statement (assignment (identifier_volume_or_disk) identifier_volum...
Returns a volume,disk tuple for the specified index
(module (function_definition (function_name_start) function_name_start (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (attribute (identifier_self) identifier_self (identifier__timer) identifier__t...
Starts the watchdog timer.
(module (function_definition (function_name_redirect_to) function_name_redirect_to (parameters (identifier_request) identifier_request (identifier_url) identifier_url (default_parameter (identifier_permanent) identifier_permanent (True) True )default_parameter (de...
r""" Redirect to a given URL. The given url may contain dict-style string formatting, which will be interpolated against the params in the URL. For example, to redirect from ``/foo/<id>/`` to ``/bar/<id>/``, you could use the following URLconf:: urlpatterns = patterns('', (r'^foo/...
(module (function_definition (function_name_update_content_encoding) function_name_update_content_encoding (parameters (identifier_self) identifier_self (typed_parameter (identifier_data) identifier_data (type (identifier_Any) identifier_Any )type )typed_par...
Set request content encoding.
(module (function_definition (function_name_find_op_code_sequence) function_name_find_op_code_sequence (parameters (typed_parameter (identifier_pattern) identifier_pattern (type (identifier_list) identifier_list )type )typed_parameter (typed_parameter ...
Returns all indices in instruction_list that point to instruction sequences following a pattern. :param pattern: The pattern to look for, e.g. [["PUSH1", "PUSH2"], ["EQ"]] where ["PUSH1", "EQ"] satisfies pattern :param instruction_list: List of instructions to look in :return: Indices to the instructio...
(module (function_definition (function_name_detailed_tokens) function_name_detailed_tokens (parameters (identifier_tokenizer) identifier_tokenizer (identifier_text) identifier_text )parameters (block (expression_statement (assignment (identifier_node) identifier_nod...
Format Mecab output into a nice data structure, based on Janome.
(module (function_definition (function_name_SamplingRoundAddedEventHandler) function_name_SamplingRoundAddedEventHandler (parameters (identifier_instance) identifier_instance (identifier_event) identifier_event )parameters (block (if_statement (comparison_operator (...
Event fired when BikaSetup object gets modified. Since Sampling Round is a dexterity object we have to change the ID by "hand" Then we have to redirect the user to the ar add form
(module (function_definition (function_name_forward) function_name_forward (parameters (identifier_self) identifier_self (identifier_inputs) identifier_inputs (identifier_label) identifier_label (identifier_begin_state) identifier_begin_state (identifier_sampled_values) identifie...
Defines the forward computation. Parameters ----------- inputs : NDArray input tensor with shape `(sequence_length, batch_size)` when `layout` is "TNC". begin_state : list initial recurrent state tensor with length equals to num_layers*2. ...
(module (function_definition (function_name_network_undefine) function_name_network_undefine (parameters (identifier_name) identifier_name (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictionary_splat_pattern )parameters (block (expression_statement ...
Remove a defined virtual network. This does not stop the virtual network. :param name: virtual network name :param connection: libvirt connection URI, overriding defaults :param username: username to connect with, overriding defaults :param password: password to connect with, overriding defaults ....
(module (function_definition (function_name_get_path) function_name_get_path (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_md5_hash) identifier_md5_hash (call (attribute (...
Returns a temporary file path based on a MD5 hash generated with the task's name and its arguments
(module (function_definition (function_name_queue_command) function_name_queue_command (parameters (identifier_self) identifier_self (identifier_command) identifier_command )parameters (block (if_statement (attribute (identifier_self) identifier_self (iden...
Put a command on the queue to be called in the component's thread. :param callable command: the method to be invoked, e.g. :py:meth:`~Component.new_frame_event`.
(module (function_definition (function_name__read_with_mask) function_name__read_with_mask (parameters (identifier_raster) identifier_raster (identifier_masked) identifier_masked )parameters (block (if_statement (comparison_operator (identifier_masked) identifier_ma...
returns if we should read from rasterio using the masked
(module (function_definition (function_name_parse_date) function_name_parse_date (parameters (typed_parameter (identifier_date) identifier_date (type (identifier_str) identifier_str )type )typed_parameter (typed_default_parameter (identifier_hour_thr...
Parses a report timestamp in ddhhZ or ddhhmmZ format This function assumes the given timestamp is within the hour threshold from current date
(module (function_definition (function_name__unicode_sub_super) function_name__unicode_sub_super (parameters (identifier_string) identifier_string (identifier_mapping) identifier_mapping (default_parameter (identifier_max_len) identifier_max_len (None) None )default_par...
Try to render a subscript or superscript string in unicode, fall back on ascii if this is not possible
(module (function_definition (function_name_function_to_serializable_representation) function_name_function_to_serializable_representation (parameters (identifier_fn) identifier_fn )parameters (block (if_statement (comparison_operator (call (identifier_type) i...
Converts a Python function into a serializable representation. Does not currently work for methods or functions with closure data.
(module (function_definition (function_name_weighting) function_name_weighting (parameters (identifier_self) identifier_self (default_parameter (identifier_landscape) identifier_landscape (None) None )default_parameter )parameters (block (if_statement (c...
Define a weighting function, for stability results to hold, the function must be 0 at y=0.
(module (function_definition (function_name_from_name) function_name_from_name (parameters (identifier_cls) identifier_cls (identifier_name) identifier_name )parameters (block (expression_statement (assignment (identifier_result) identifier_result (call ...
Retrieve webacc id associated to a webacc name.
(module (function_definition (function_name_set_config) function_name_set_config (parameters (identifier_self) identifier_self (identifier_config) identifier_config )parameters (block (if_statement (comparison_operator (attribute (identifier_self) identi...
Set the service configuration. @param config: A dictionary of config key/value
(module (function_definition (function_name_tnet_to_nx) function_name_tnet_to_nx (parameters (identifier_df) identifier_df (default_parameter (identifier_t) identifier_t (None) None )default_parameter )parameters (block (if_statement (comparison_operator...
Creates undirected networkx object
(module (function_definition (function_name_get_substances) function_name_get_substances (parameters (identifier_identifier) identifier_identifier (default_parameter (identifier_namespace) identifier_namespace (string_'sid') string_'sid' )default_parameter (default_para...
Retrieve the specified substance records from PubChem. :param identifier: The substance identifier to use as a search query. :param namespace: (optional) The identifier type, one of sid, name or sourceid/<source name>. :param as_dataframe: (optional) Automatically extract the :class:`~pubchempy.Substance` ...
(module (function_definition (function_name__ConvertAttributeContainerToDict) function_name__ConvertAttributeContainerToDict (parameters (identifier_cls) identifier_cls (identifier_attribute_container) identifier_attribute_container )parameters (block (if_statement (not_opera...
Converts an attribute container object into a JSON dictionary. The resulting dictionary of the JSON serialized objects consists of: { '__type__': 'AttributeContainer' '__container_type__': ... ... } Here '__type__' indicates the object base type. In this case 'AttributeCont...
(module (function_definition (function_name_burst_range) function_name_burst_range (parameters (identifier_psd) identifier_psd (default_parameter (identifier_snr) identifier_snr (integer_8) integer_8 )default_parameter (default_parameter (identifier_energy) iden...
Calculate the integrated GRB-like GW burst range from a strain PSD Parameters ---------- psd : `~gwpy.frequencyseries.FrequencySeries` the instrumental power-spectral-density data snr : `float`, optional the signal-to-noise ratio for which to calculate range, default: ``8`` ...
(module (function_definition (function_name_int_dp_g) function_name_int_dp_g (parameters (identifier_arr) identifier_arr (identifier_dp) identifier_dp )parameters (block (return_statement (binary_operator (call (identifier_integrate) identifier_integrate...
Mass weighted integral.
(module (function_definition (function_name_add_nodes) function_name_add_nodes (parameters (identifier_self) identifier_self (identifier_coors) identifier_coors (default_parameter (identifier_node_low_or_high) identifier_node_low_or_high (None) None )default_parameter ...
Add new nodes at the end of the list.
(module (function_definition (function_name_dropout_mask) function_name_dropout_mask (parameters (typed_parameter (identifier_x) identifier_x (type (identifier_Tensor) identifier_Tensor )type )typed_parameter (typed_parameter (identifier_sz) identifi...
Return a dropout mask of the same type as `x`, size `sz`, with probability `p` to cancel an element.
(module (function_definition (function_name_declare_config_variable) function_name_declare_config_variable (parameters (identifier_self) identifier_self (identifier_name) identifier_name (identifier_config_id) identifier_config_id (identifier_type_name) identifier_type_name (defa...
Declare a config variable that this emulated tile accepts. The default value (if passed) may be specified as either a `bytes` object or a python int or list of ints. If an int or list of ints is passed, it is converted to binary. Otherwise, the raw binary data is used. Passin...
(module (function_definition (function_name_attr_to_path) function_name_attr_to_path (parameters (identifier_node) identifier_node )parameters (block (function_definition (function_name_get_intrinsic_path) function_name_get_intrinsic_path (parameters (identifier_m...
Compute path and final object for an attribute node
(module (function_definition (function_name_get_authorizations_by_ids) function_name_get_authorizations_by_ids (parameters (identifier_self) identifier_self (identifier_authorization_ids) identifier_authorization_ids )parameters (block (expression_statement (assignment ...
Gets an ``AuthorizationList`` corresponding to the given ``IdList``. In plenary mode, the returned list contains all of the authorizations specified in the ``Id`` list, in the order of the list, including duplicates, or an error results if an ``Id`` in the supplied list is not found or ...
(module (function_definition (function_name_has_scope) function_name_has_scope (parameters (default_parameter (identifier_context) identifier_context (None) None )default_parameter )parameters (block (if_statement (not_operator (call (ide...
Scopes were introduced in systemd 205, this function returns a boolean which is true when the minion is systemd-booted and running systemd>=205.
(module (function_definition (function_name_read) function_name_read (parameters (identifier_self) identifier_self (identifier_document) identifier_document (identifier_iface) identifier_iface (list_splat_pattern (identifier_args) identifier_args )list_splat_pattern ...
Returns a Deferred that fire the read object.
(module (function_definition (function_name_AgregarReceptor) function_name_AgregarReceptor (parameters (identifier_self) identifier_self (identifier_cuit) identifier_cuit (identifier_iibb) identifier_iibb (identifier_nro_socio) identifier_nro_socio (identifier_nro_fet) identifier...
Agrego un receptor a la liq.
(module (function_definition (function_name_strip_HETATMs) function_name_strip_HETATMs (parameters (identifier_self) identifier_self (default_parameter (identifier_only_strip_these_chains) identifier_only_strip_these_chains (list )list )default_parameter )paramete...
Throw away all HETATM lines. If only_strip_these_chains is specified then only strip HETATMs lines for those chains.
(module (function_definition (function_name_contact_methods) function_name_contact_methods (parameters (identifier_self) identifier_self (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictionary_splat_pattern )parameters (block (expression_statement ...
Get all contact methods for this user.
(module (function_definition (function_name_transform) function_name_transform (parameters (identifier_self) identifier_self (default_parameter (identifier_X) identifier_X (None) None )default_parameter (default_parameter (identifier_y) identifier_y (Non...
Transform an image using an Affine transform with the given zoom parameters. Return the transform if X=None. Arguments --------- X : ANTsImage Image to transform y : ANTsImage (optional) Another image to transform Returns ------- ...
(module (function_definition (function_name_issequence) function_name_issequence (parameters (identifier_arg) identifier_arg )parameters (block (expression_statement (assignment (identifier_string_behaviour) identifier_string_behaviour (parenthesized_expression ...
Return True if `arg` acts as a list and does not look like a string.
(module (function_definition (function_name_put_name) function_name_put_name (parameters (identifier_self) identifier_self (identifier_type_) identifier_type_ (identifier_id_) identifier_id_ (identifier_name) identifier_name )parameters (block (expression_statement ...
Write a cached name to disk. :param type_: str, "user" or "tag" :param id_: int, eg. 123456 :returns: None
(module (function_definition (function_name_get_ip6_address) function_name_get_ip6_address (parameters (identifier_interface_name) identifier_interface_name (default_parameter (identifier_expand) identifier_expand (False) False )default_parameter )parameters (block ...
Extracts the IPv6 address for a particular interface from `ifconfig`. :param interface_name: Name of the network interface (e.g. ``eth0``). :type interface_name: unicode :param expand: If set to ``True``, an abbreviated address is expanded to the full address. :type expand: bool :return: IPv6 addre...
(module (function_definition (function_name_close) function_name_close (parameters (identifier_self) identifier_self )parameters (block (if_statement (boolean_operator (comparison_operator (attribute (identifier_self) identifier_self ...
Sends a shutdown signal to the unity environment, and closes the socket connection.
(module (function_definition (function_name_get_remote_file) function_name_get_remote_file (parameters (identifier_self) identifier_self (identifier_remote_path) identifier_remote_path (identifier_local_path) identifier_local_path )parameters (block (expression_statement ...
Fetch remote File. :param remote_path: remote path :param local_path: local path
(module (function_definition (function_name_GetAll) function_name_GetAll (parameters (default_parameter (identifier_alias) identifier_alias (None) None )default_parameter (default_parameter (identifier_location) identifier_location (None) None )default_p...
Gets a list of anti-affinity policies within a given account. https://t3n.zendesk.com/entries/44657214-Get-Anti-Affinity-Policies >>> clc.v2.AntiAffinity.GetAll() [<clc.APIv2.anti_affinity.AntiAffinity object at 0x10c65e910>, <clc.APIv2.anti_affinity.AntiAffinity object at 0x10c65ec90>]
(module (function_definition (function_name_generateCertificate) function_name_generateCertificate (parameters (identifier_self) identifier_self (identifier_alias) identifier_alias (identifier_commonName) identifier_commonName (identifier_organizationalUnit) identifier_organizationalUn...
Use this operation to create a self-signed certificate or as a starting point for getting a production-ready CA-signed certificate. The portal will generate a certificate for you and store it in its keystore.
(module (function_definition (function_name__fetch_dimensions) function_name__fetch_dimensions (parameters (identifier_self) identifier_self (identifier_dataset) identifier_dataset )parameters (block (expression_statement (yield (call (identifier_Dimensi...
Iterate through semesters, counties and municipalities.
(module (function_definition (function_name__handle_config) function_name__handle_config (parameters (identifier_self) identifier_self (identifier_data) identifier_data )parameters (block (expression_statement (call (attribute (attribute (a...
Handle initial config push and config changes
(module (function_definition (function_name_pkg_supports) function_name_pkg_supports (parameters (identifier_feature) identifier_feature (identifier_pkg_version) identifier_pkg_version (identifier_pkg_feat_dict) identifier_pkg_feat_dict )parameters (block (import_from_statement...
Return bool indicating whether a package supports ``feature``. Parameters ---------- feature : str Name of a potential feature of a package. pkg_version : str Version of the package that should be checked for presence of the feature. pkg_feat_dict : dict Specificatio...
(module (function_definition (function_name_configured_class) function_name_configured_class (parameters (identifier_cls) identifier_cls )parameters (block (expression_statement (assignment (identifier_base) identifier_base (call (attribute ...
Returns the currently configured class.
(module (function_definition (function_name__start_srv_proc) function_name__start_srv_proc (parameters (identifier_self) identifier_self (identifier_started_os_proc) identifier_started_os_proc )parameters (block (expression_statement (call (attribute (id...
Start the server process.
(module (function_definition (function_name_progress_patch) function_name_progress_patch (parameters (identifier_self) identifier_self (default_parameter (identifier__) identifier__ (False) False )default_parameter )parameters (block (import_from_statement ...
forces to use the Shell Progress
(module (function_definition (function_name__threaded_copy_data) function_name__threaded_copy_data (parameters (identifier_instream) identifier_instream (identifier_outstream) identifier_outstream )parameters (block (expression_statement (assignment (identifier_copy...
Copy data from one stream to another in a separate thread. Wraps ``_copy_data()`` in a :class:`threading.Thread`. :type instream: :class:`io.BytesIO` or :class:`io.StringIO` :param instream: A byte stream to read from. :param file outstream: The file descriptor of a tmpfile to write to.
(module (function_definition (function_name__get_params) function_name__get_params (parameters (identifier_self) identifier_self )parameters (block (return_statement (call (attribute (identifier_np) identifier_np (identifier_hstack) identifier_hsta...
return the value of the parameters.
(module (function_definition (function_name_handle_onchain_secretreveal) function_name_handle_onchain_secretreveal (parameters (typed_parameter (identifier_initiator_state) identifier_initiator_state (type (identifier_InitiatorTransferState) identifier_InitiatorTransferState ...
When a secret is revealed on-chain all nodes learn the secret. This check the on-chain secret corresponds to the one used by the initiator, and if valid a new balance proof is sent to the next hop with the current lock removed from the merkle tree and the transferred amount updated.
(module (function_definition (function_name_stop) function_name_stop (parameters (identifier_self) identifier_self )parameters (block (expression_statement (call (attribute (attribute (identifier_self) identifier_self (identifier_lo...
Stop the fuzzing session
(module (function_definition (function_name_get_feed_renderer) function_name_get_feed_renderer (parameters (identifier_engines) identifier_engines (identifier_name) identifier_name )parameters (block (if_statement (comparison_operator (identifier_name) identifier_na...
From engine name, load the engine path and return the renderer class Raise 'FeedparserError' if any loading error
(module (function_definition (function_name_remove_files) function_name_remove_files (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_file_list) identifier_file_list (list (string_"molecul...
Removes intermediate files.