sequence
stringlengths
557
12.7k
docstring
stringlengths
4
15.2k
(module (function_definition (function_name__stop) function_name__stop (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_engine) identifier_engine (call (attribute (identifier...
Stop the GNS3 VM
(module (function_definition (function_name_create_new_csv) function_name_create_new_csv (parameters (identifier_samples) identifier_samples (identifier_args) identifier_args )parameters (block (expression_statement (assignment (identifier_out_fn) identifier_out_fn ...
create csv file that can be use with bcbio -w template
(module (function_definition (function_name_update_cost_model) function_name_update_cost_model (parameters (identifier_self) identifier_self (identifier_x) identifier_x (identifier_cost_x) identifier_cost_x )parameters (block (if_statement (comparison_operator ...
Updates the GP used to handle the cost. param x: input of the GP for the cost model. param x_cost: values of the time cost at the input locations.
(module (function_definition (function_name_get_class) function_name_get_class (parameters (identifier_view_model_name) identifier_view_model_name )parameters (block (import_from_statement (relative_import (import_prefix )import_prefix )relative_import ...
Look up a Bokeh model class, given its view model name. Args: view_model_name (str) : A view model name for a Bokeh model to look up Returns: Model: the model class corresponding to ``view_model_name`` Raises: KeyError, if the model cannot be found Example: ...
(module (function_definition (function_name_write_config) function_name_write_config (parameters (identifier_cfg) identifier_cfg )parameters (block (expression_statement (assignment (identifier_cfg_path) identifier_cfg_path (string_'/usr/local/etc/freelan') stri...
try writing config file to a default directory
(module (function_definition (function_name_pick_action_todo) function_name_pick_action_todo (parameters )parameters (block (for_statement (pattern_list (identifier_ndx) identifier_ndx (identifier_todo) identifier_todo )pattern_list (call (id...
only for testing and AI - user will usually choose an action Sort of works
(module (function_definition (function_name_transformByDistance) function_name_transformByDistance (parameters (identifier_wV) identifier_wV (identifier_subModel) identifier_subModel (default_parameter (identifier_alphabetSize) identifier_alphabetSize (integer_4) integer_4 ...
transform wV by given substitution matrix
(module (function_definition (function_name_intersect) function_name_intersect (parameters (identifier_self) identifier_self (identifier_other) identifier_other )parameters (block (expression_statement (assignment (identifier_intersection) identifier_intersection ...
Calculate the intersection of this rectangle and another rectangle. Args: other (Rect): The other rectangle. Returns: Rect: The intersection of this rectangle and the given other rectangle, or None if there is no such intersection.
(module (function_definition (function_name_get_branch) function_name_get_branch (parameters (identifier_self) identifier_self (identifier_i) identifier_i )parameters (block (expression_statement (assignment (identifier_branch) identifier_branch (call ...
Gets a branch associated with leaf i. This will trace the tree from the leaves down to the root, constructing a list of tuples that represent the pairs of nodes all the way from leaf i to the root. :param i: the leaf identifying the branch to retrieve
(module (function_definition (function_name__output_dir) function_name__output_dir (parameters (identifier_self) identifier_self (identifier_ext) identifier_ext (default_parameter (identifier_is_instance) identifier_is_instance (False) False )default_parameter (de...
Generate an output directory. Args: ext: extension string. is_instance: The output is instance font or not. interpolatable: The output is interpolatable or not. autohinted: The output is autohinted or not. is_variable: The outp...
(module (function_definition (function_name_inverse_transform) function_name_inverse_transform (parameters (identifier_self) identifier_self (identifier_maps) identifier_maps )parameters (block (expression_statement (assignment (identifier_out) identifier_out ...
This function transforms from component masses to chirp mass and mass ratio. Parameters ---------- maps : a mapping object Examples -------- Convert a dict of numpy.array: >>> import numpy >>> from pycbc import transforms >>> t = transfo...
(module (function_definition (function_name_mount_iso_image) function_name_mount_iso_image (parameters (identifier_self) identifier_self (identifier_image) identifier_image (identifier_image_name) identifier_image_name (identifier_ins_file_name) identifier_ins_file_name )parameters...
Upload an ISO image and associate it to this Partition using the HMC operation 'Mount ISO Image'. When the partition already has an ISO image associated, the newly uploaded image replaces the current one. Authorization requirements: * Object-access permission to this Partition...
(module (function_definition (function_name_getsystemhooks) function_name_getsystemhooks (parameters (identifier_self) identifier_self (default_parameter (identifier_page) identifier_page (integer_1) integer_1 )default_parameter (default_parameter (identifier_pe...
Get all system hooks :param page: Page number :param per_page: Records per page :return: list of hooks
(module (function_definition (function_name_fragment) function_name_fragment (parameters (identifier_self) identifier_self (identifier_message) identifier_message )parameters (block (if_statement (comparison_operator (attribute (identifier_message) ident...
Fragment message based on max payload size note: if the message doesn't need to fragment, it will return a list which only contains original message itself. :param message: raw message :return: list of messages whose sizes <= max payload size
(module (function_definition (function_name_net_recv) function_name_net_recv (parameters (identifier_ws) identifier_ws (identifier_conn) identifier_conn )parameters (block (expression_statement (assignment (identifier_in_data) identifier_in_data (call ...
Read pending data from network into websocket.
(module (function_definition (function_name_decode) function_name_decode (parameters (identifier_self) identifier_self (identifier_integers) identifier_integers )parameters (block (expression_statement (assignment (identifier_integers) identifier_integers ...
List of ints to str.
(module (function_definition (function_name_reset) function_name_reset (parameters (identifier_self) identifier_self )parameters (block (expression_statement (call (attribute (identifier_logger) identifier_logger (identifier_debug) identifier_debug...
Reset StackInABox to a like-new state.
(module (function_definition (function_name__get_opt) function_name__get_opt (parameters (identifier_config) identifier_config (identifier_key) identifier_key (identifier_option) identifier_option (identifier_opt_type) identifier_opt_type )parameters (block (for_statement...
Get an option from a configparser with the given type.
(module (function_definition (function_name_swap_across) function_name_swap_across (parameters (identifier_idx) identifier_idx (identifier_idy) identifier_idy (identifier_mat_a) identifier_mat_a (identifier_mat_r) identifier_mat_r (identifier_perm) identifier_perm )parameters...
Interchange row and column idy and idx.
(module (function_definition (function_name_xgettext) function_name_xgettext (parameters (identifier_self) identifier_self (identifier_template) identifier_template )parameters (block (expression_statement (assignment (identifier_cmd) identifier_cmd (strin...
Extracts to be translated strings from template and turns it into po format.
(module (function_definition (function_name_create) function_name_create (parameters (identifier_self) identifier_self (identifier_query) identifier_query (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictionary_splat_pattern )parameters (block ...
Creates a search using a search query and any additional parameters you provide. :param query: The search query. :type query: ``string`` :param kwargs: Additiona parameters (optional). For a list of available parameters, see `Search job parameters <http://dev.spl...
(module (function_definition (function_name_FxTools) function_name_FxTools (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_pi) identifier_pi (attribute (identifier_self) identifier_self ...
Microsoft .NET Framework Tools
(module (function_definition (function_name_angular_distance_fast) function_name_angular_distance_fast (parameters (identifier_ra1) identifier_ra1 (identifier_dec1) identifier_dec1 (identifier_ra2) identifier_ra2 (identifier_dec2) identifier_dec2 )parameters (block (expre...
Compute angular distance using the Haversine formula. Use this one when you know you will never ask for points at their antipodes. If this is not the case, use the angular_distance function which is slower, but works also for antipodes. :param lon1: :param lat1: :param lon2: :param lat2: :r...
(module (function_definition (function_name_computeNormals) function_name_computeNormals (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_poly) identifier_poly (call (attribute ...
Compute cell and vertex normals for the actor's mesh. .. warning:: Mesh gets modified, can have a different nr. of vertices.
(module (function_definition (function_name_get_panels) function_name_get_panels (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_all_panels) identifier_all_panels (list )list )assig...
Returns the Panel instances registered with this dashboard in order. Panel grouping information is not included.
(module (function_definition (function_name_add_album_art) function_name_add_album_art (parameters (identifier_file_name) identifier_file_name (identifier_album_art) identifier_album_art )parameters (block (expression_statement (assignment (identifier_img) identifie...
Add album_art in .mp3's tags
(module (function_definition (function_name_send) function_name_send (parameters (identifier_self) identifier_self (identifier_message) identifier_message )parameters (block (for_statement (identifier_event) identifier_event (attribute (identifier_message) i...
Adds a message to the list, returning a fake 'ok' response :returns: A response message with ``ok = True``
(module (function_definition (function_name_paused_partitions) function_name_paused_partitions (parameters (identifier_self) identifier_self )parameters (block (return_statement (call (identifier_set) identifier_set (generator_expression (identifier_...
Return current set of paused TopicPartitions.
(module (function_definition (function_name_gnpool) function_name_gnpool (parameters (identifier_name) identifier_name (identifier_start) identifier_start (identifier_room) identifier_room (default_parameter (identifier_lenout) identifier_lenout (identifier__default_len...
Return names of kernel variables matching a specified template. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gnpool_c.html :param name: Template that names should match. :type name: str :param start: Index of first matching name to retrieve. :type start: int :param room: The largest...
(module (function_definition (function_name_command) function_name_command (parameters (identifier_self) identifier_self )parameters (block (expression_statement (call (identifier_print) identifier_print (argument_list (string_'pynYNAB OFX import') s...
Manually import an OFX into a nYNAB budget
(module (function_definition (function_name_handle) function_name_handle (parameters (identifier_self) identifier_self (identifier_object) identifier_object (list_splat_pattern (identifier_args) identifier_args )list_splat_pattern (dictionary_splat_pattern (identi...
Calls each plugin in this PluginSet with the specified object, arguments, and keywords in the standard group plugin order. The return value from each successive invoked plugin is passed as the first parameter to the next plugin. The final return value is the object returned from the last plugin. If...
(module (function_definition (function_name_load_fn_matches_ext) function_name_load_fn_matches_ext (parameters (identifier_file_path) identifier_file_path (identifier_file_type) identifier_file_type )parameters (block (expression_statement (assignment (identifier_co...
Check that the file extension matches the target extension given. :param str file_path: Path to be checked :param str file_type: Target extension :return bool correct_ext: Extension match or does not match
(module (function_definition (function_name__isdictclass) function_name__isdictclass (parameters (identifier_obj) identifier_obj )parameters (block (expression_statement (assignment (identifier_c) identifier_c (call (identifier_getattr) identifier_ge...
Return True for known dict objects.
(module (function_definition (function_name_make_float) function_name_make_float (parameters (identifier_s) identifier_s (default_parameter (identifier_default) identifier_default (string_'') string_'' )default_parameter (default_parameter (identifier_ignore_com...
r"""Coerce a string into a float >>> make_float('12,345') 12345.0 >>> make_float('12.345') 12.345 >>> make_float('1+2') 3.0 >>> make_float('+42.0') 42.0 >>> make_float('\r\n-42?\r\n') -42.0 >>> make_float('$42.42') 42.42 >>> make_float('B-52') -52.0 >>> make_...
(module (function_definition (function_name_clone_schema) function_name_clone_schema (parameters (identifier_self) identifier_self (identifier_base_schema_name) identifier_base_schema_name (identifier_new_schema_name) identifier_new_schema_name )parameters (block (expression_st...
Creates a new schema `new_schema_name` as a clone of an existing schema `old_schema_name`.
(module (function_definition (function_name_prepare_notebook_context) function_name_prepare_notebook_context (parameters (identifier_request) identifier_request (identifier_notebook_context) identifier_notebook_context )parameters (block (if_statement (not_operator ...
Fill in notebook context with default values.
(module (function_definition (function_name_transform) function_name_transform (parameters (identifier_self) identifier_self (identifier_fseries) identifier_fseries (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictionary_splat_pattern )parameters (bl...
Compute the time-frequency plane at fixed Q with the most significant tile Parameters ---------- fseries : `~gwpy.timeseries.FrequencySeries` the complex FFT of a time-series data set **kwargs other keyword arguments to pass to `QPlane.transform` ...
(module (function_definition (function_name_delete_by_ids) function_name_delete_by_ids (parameters (identifier_self) identifier_self (identifier_ids) identifier_ids )parameters (block (expression_statement (assignment (identifier_ids) identifier_ids (call ...
Deletes the messages whose IDs are passed in from this queue.
(module (function_definition (function_name_has_duplicate_keys) function_name_has_duplicate_keys (parameters (identifier_config_data) identifier_config_data (identifier_base_conf) identifier_base_conf (identifier_raise_error) identifier_raise_error )parameters (block (expressio...
Compare two dictionaries for duplicate keys. if raise_error is True then raise on exception, otherwise log return True.
(module (function_definition (function_name_maybe_obj) function_name_maybe_obj (parameters (identifier_str_or_obj) identifier_str_or_obj )parameters (block (if_statement (not_operator (call (identifier_isinstance) identifier_isinstance (argument_li...
If argument is not a string, return it. Otherwise import the dotted name and return that.
(module (function_definition (function_name_signature) function_name_signature (parameters (identifier_array) identifier_array )parameters (block (expression_statement (assignment (identifier_length) identifier_length (call (identifier_len) identifie...
Returns the first 262 bytes of the given bytearray as part of the file header signature. Args: array: bytearray to extract the header signature. Returns: First 262 bytes of the file content as bytearray type.
(module (function_definition (function_name_IPID_count) function_name_IPID_count (parameters (identifier_lst) identifier_lst (default_parameter (identifier_funcID) identifier_funcID (lambda (lambda_parameters (identifier_x) identifier_x )lambda_param...
Identify IP id values classes in a list of packets lst: a list of packets funcID: a function that returns IP id values funcpres: a function used to summarize packets
(module (function_definition (function_name__transform_to_dict) function_name__transform_to_dict (parameters (identifier_result) identifier_result )parameters (block (expression_statement (assignment (identifier_result_dict) identifier_result_dict (dictionary ...
Transform the array from Ideone into a Python dictionary.
(module (function_definition (function_name__create_dictionary_of_marshall) function_name__create_dictionary_of_marshall (parameters (identifier_self) identifier_self (identifier_marshallQuery) identifier_marshallQuery (identifier_marshallTable) identifier_marshallTable )parameters (...
create a list of dictionaries containing all the rows in the marshall stream **Key Arguments:** - ``marshallQuery`` -- the query used to lift the required data from the marshall database. - ``marshallTable`` -- the name of the marshall table we are lifting the data from. **Retu...
(module (function_definition (function_name_CompileFilter) function_name_CompileFilter (parameters (identifier_self) identifier_self (identifier_filter_expression) identifier_filter_expression )parameters (block (expression_statement (assignment (identifier_filter_p...
Compiles the filter expression. The filter expression contains an object filter expression. Args: filter_expression (str): filter expression. Raises: ParseError: if the filter expression cannot be parsed.
(module (function_definition (function_name_add_rollback_panels) function_name_add_rollback_panels (parameters (identifier_self) identifier_self )parameters (block (import_from_statement (dotted_name (identifier_wagtailplus) identifier_wagtailplus (identifier_ut...
Adds rollback panel to applicable model class's edit handlers.
(module (function_definition (function_name_vb_stop_vm) function_name_vb_stop_vm (parameters (default_parameter (identifier_name) identifier_name (None) None )default_parameter (default_parameter (identifier_timeout) identifier_timeout (integer_10000) integer_...
Tells Virtualbox to stop a VM. This is a blocking function! @param name: @type name: str @param timeout: Maximum time in milliseconds to wait or -1 to wait indefinitely @type timeout: int @return untreated dict of stopped VM
(module (function_definition (function_name_RemoveClass) function_name_RemoveClass (parameters (identifier_self) identifier_self (identifier_class_name) identifier_class_name )parameters (block (if_statement (comparison_operator (identifier_class_name) identifier_cl...
Removes an entry from the list of known classes. Args: class_name: A string with the class name that is to be removed. Raises: NonexistentMapping if there is no class with the specified class_name.
(module (function_definition (function_name_path) function_name_path (parameters (list_splat_pattern (identifier_components) identifier_components )list_splat_pattern )parameters (block (expression_statement (assignment (identifier__path) identifier__path ...
Get a file path. Concatenate all components into a path.
(module (function_definition (function_name__get_vswitch_name) function_name__get_vswitch_name (parameters (identifier_self) identifier_self (identifier_network_type) identifier_network_type (identifier_physical_network) identifier_physical_network )parameters (block (if_statem...
Get the vswitch name for the received network information.
(module (function_definition (function_name_DeviceReadThread) function_name_DeviceReadThread (parameters (identifier_hid_device) identifier_hid_device )parameters (block (expression_statement (assignment (attribute (identifier_hid_device) identifier_hid_device...
Binds a device to the thread's run loop, then starts the run loop. Args: hid_device: The MacOsHidDevice object The HID manager requires a run loop to handle Report reads. This thread function serves that purpose.
(module (function_definition (function_name__score_clusters) function_name__score_clusters (parameters (identifier_self) identifier_self (identifier_X) identifier_X (default_parameter (identifier_y) identifier_y (None) None )default_parameter )parameters (block ...
Determines the "scores" of the cluster, the metric that determines the size of the cluster visualized on the visualization.
(module (function_definition (function_name_extract_declarations) function_name_extract_declarations (parameters (identifier_map_el) identifier_map_el (identifier_dirs) identifier_dirs (default_parameter (identifier_scale) identifier_scale (integer_1) integer_1 )default...
Given a Map element and directories object, remove and return a complete list of style declarations from any Stylesheet elements found within.
(module (function_definition (function_name_up) function_name_up (parameters (default_parameter (identifier_force) identifier_force (True) True )default_parameter (default_parameter (identifier_env) identifier_env (None) None )default_parameter (di...
Starts a new experiment
(module (function_definition (function_name_create_bare) function_name_create_bare (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (attribute (identifier_self) identifier_self (identifier_instances...
Create instances for the Bare provider
(module (function_definition (function_name_getNamedActionValue) function_name_getNamedActionValue (parameters (identifier_self) identifier_self (identifier_name) identifier_name )parameters (block (expression_statement (assignment (identifier_actions) identifier_ac...
Get the value of the named Tropo action.
(module (function_definition (function_name_clean) function_name_clean (parameters (identifier_self) identifier_self )parameters (block (if_statement (comparison_operator (attribute (identifier_self) identifier_self (identifier_pst_arg) identifier_...
drop regularization and prior information observation from the jco
(module (function_definition (function_name_check_str) function_name_check_str (parameters (identifier_obj) identifier_obj )parameters (block (if_statement (call (identifier_isinstance) identifier_isinstance (argument_list (identifier_obj) identifier...
Returns a string for various input types
(module (function_definition (function_name_from_internal) function_name_from_internal (parameters (identifier_self) identifier_self (identifier_attribute_profile) identifier_attribute_profile (identifier_internal_dict) identifier_internal_dict )parameters (block (expression_st...
Converts the internal data to "type" :type attribute_profile: str :type internal_dict: dict[str, str] :rtype: dict[str, str] :param attribute_profile: To which external type to convert (ex: oidc, saml, ...) :param internal_dict: attributes to map :return: attribute valu...
(module (function_definition (function_name_to_python) function_name_to_python (parameters (identifier_self) identifier_self (identifier_value) identifier_value )parameters (block (expression_statement (assignment (identifier_value) identifier_value (call ...
Returns a datetime.tzinfo instance for the value.
(module (function_definition (function_name___cond_from_desc) function_name___cond_from_desc (parameters (identifier_desc) identifier_desc )parameters (block (for_statement (pattern_list (identifier_code) identifier_code (list_pattern (identifier_con...
Get the condition name from the condition description.
(module (function_definition (function_name_safe_kill) function_name_safe_kill (parameters (identifier_pid) identifier_pid (identifier_signum) identifier_signum )parameters (block (assert_statement (parenthesized_expression (call (identifier_isinstance) ...
Kill a process with the specified signal, catching nonfatal errors.
(module (function_definition (function_name__on_event) function_name__on_event (parameters (identifier_self) identifier_self (identifier_event) identifier_event )parameters (block (if_statement (call (attribute (identifier_self) identifier_self ...
Returns the referential action for a given database operation on the referenced table the foreign key constraint is associated with. :param event: Name of the database operation/event to return the referential action for. :type event: str :rtype: str or None
(module (function_definition (function_name_retrieve_diaspora_host_meta) function_name_retrieve_diaspora_host_meta (parameters (identifier_host) identifier_host )parameters (block (expression_statement (assignment (pattern_list (identifier_document) identifier...
Retrieve a remote Diaspora host-meta document. :arg host: Host to retrieve from :returns: ``XRD`` instance
(module (function_definition (function_name_devices) function_name_devices (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_response) identifier_response (call (attribute (id...
Get a listing of devices registered to the Google Music account.
(module (function_definition (function_name_download_previews) function_name_download_previews (parameters (identifier_self) identifier_self (default_parameter (identifier_savedir) identifier_savedir (None) None )default_parameter )parameters (block (for_stateme...
Download preview files for the previously found and stored Opus obsids. Parameters ========== savedir: str or pathlib.Path, optional If the database root folder as defined by the config.ini should not be used, provide a different savedir here. It will be handed to PathMa...
(module (function_definition (function_name_loss_l2) function_name_loss_l2 (parameters (identifier_self) identifier_self (default_parameter (identifier_l2) identifier_l2 (integer_0) integer_0 )default_parameter )parameters (block (if_statement (call ...
L2 loss centered around mu_init, scaled optionally per-source. In other words, diagonal Tikhonov regularization, ||D(\mu-\mu_{init})||_2^2 where D is diagonal. Args: - l2: A float or np.array representing the per-source regularization strengths to use
(module (function_definition (function_name_detect_suicidal_func) function_name_detect_suicidal_func (parameters (identifier_func) identifier_func )parameters (block (if_statement (attribute (identifier_func) identifier_func (identifier_is_constructor) identifie...
Detect if the function is suicidal Detect the public functions calling suicide/selfdestruct without protection Returns: (bool): True if the function is suicidal
(module (function_definition (function_name__Start_refresh_timer) function_name__Start_refresh_timer (parameters (identifier_self) identifier_self )parameters (block (if_statement (comparison_operator (attribute (identifier_self) identifier_self (i...
Internal method to support auto-refresh functionality.
(module (function_definition (function_name_as_fn) function_name_as_fn (parameters (identifier_self) identifier_self (list_splat_pattern (identifier_binding_order) identifier_binding_order )list_splat_pattern )parameters (block (if_statement (comparison_operator...
Creates a function by binding the arguments in the given order. Args: *binding_order: The unbound variables. This must include all values. Returns: A function that takes the arguments of binding_order. Raises: ValueError: If the bindings are missing values or include unknown values.
(module (function_definition (function_name__postprocess_output) function_name__postprocess_output (parameters (identifier_self) identifier_self (identifier_output) identifier_output )parameters (block (if_statement (comparison_operator (attribute (ident...
Performs the last modifications before the output is returned.
(module (function_definition (function_name_lazy_load) function_name_lazy_load (parameters (identifier_name) identifier_name )parameters (block (function_definition (function_name_wrapper) function_name_wrapper (parameters (identifier_load_fn) identifier_load_fn ...
Decorator to define a function that lazily loads the module 'name'. This can be used to defer importing troublesome dependencies - e.g. ones that are large and infrequently used, or that cause a dependency cycle - until they are actually used. Args: name: the fully-qualified name of the module; typically ...
(module (function_definition (function_name_make_permalink) function_name_make_permalink (parameters (identifier_img_id) identifier_img_id )parameters (block (expression_statement (assignment (pattern_list (identifier_profile) identifier_profile (i...
Removes tmp prefix from filename and rename main and variant files. Returns img_id without tmp prefix.
(module (function_definition (function_name_update_sandbox_site) function_name_update_sandbox_site (parameters (identifier_comment_text) identifier_comment_text )parameters (block (expression_statement (assignment (identifier_file_to_deliver) identifier_file_to_deliver ...
put's a text file on the server
(module (function_definition (function_name_parse_data_port_mappings) function_name_parse_data_port_mappings (parameters (identifier_mappings) identifier_mappings (default_parameter (identifier_default_bridge) identifier_default_bridge (string_'br-data') string_'br-data' )def...
Parse data port mappings. Mappings must be a space-delimited list of bridge:port. Returns dict of the form {port:bridge} where ports may be mac addresses or interface names.
(module (function_definition (function_name_fill) function_name_fill (parameters (typed_parameter (identifier_h1) identifier_h1 (type (identifier_Histogram1D) identifier_Histogram1D )type )typed_parameter (typed_parameter (identifier_ax) identifier_a...
Fill plot of 1D histogram.
(module (function_definition (function_name_readpipe) function_name_readpipe (parameters (identifier_self) identifier_self (default_parameter (identifier_chunk) identifier_chunk (None) None )default_parameter )parameters (block (expression_statement (ass...
Return iterator that iterates over STDIN line by line If ``chunk`` is set to a positive non-zero integer value, then the reads are performed in chunks of that many lines, and returned as a list. Otherwise the lines are returned one by one.
(module (function_definition (function_name_resume) function_name_resume (parameters (identifier_self) identifier_self (default_parameter (identifier_trigger_duration) identifier_trigger_duration (integer_0) integer_0 )default_parameter )parameters (block (if_st...
Resumes pulse capture after an optional trigger pulse.
(module (function_definition (function_name_stylize) function_name_stylize (parameters (identifier_txt) identifier_txt (default_parameter (identifier_bold) identifier_bold (False) False )default_parameter (default_parameter (identifier_underline) identifier_unde...
Changes style of the text.
(module (function_definition (function_name_GetSchema) function_name_GetSchema (parameters (identifier_component) identifier_component )parameters (block (expression_statement (assignment (identifier_parent) identifier_parent (identifier_component) identifier_co...
convience function for finding the parent XMLSchema instance.
(module (function_definition (function_name_db_dict) function_name_db_dict (parameters (identifier_c) identifier_c )parameters (block (expression_statement (assignment (identifier_db_d) identifier_db_d (dictionary )dictionary )assignment ...
Get a dictionary of the library spectra from a database Example: >>> from msp2db.db import get_connection >>> conn = get_connection('sqlite', 'library.db') >>> test_db_d = db_dict(conn.cursor()) If using a large database the resulting dictionary will be very large! Args: c...
(module (function_definition (function_name_verified_funds) function_name_verified_funds (parameters (identifier_pronac) identifier_pronac (identifier_dt) identifier_dt )parameters (block (expression_statement (assignment (identifier_dataframe) identifier_dataframe ...
Responsable for detecting anomalies in projects total verified funds.
(module (function_definition (function_name_ping) function_name_ping (parameters (identifier_destination) identifier_destination (default_parameter (identifier_source) identifier_source (None) None )default_parameter (default_parameter (identifier_ttl) identifie...
Executes a ping on the network device and returns a dictionary as a result. destination Hostname or IP address of remote host source Source address of echo request ttl IP time-to-live value (IPv6 hop-limit value) (1..255 hops) timeout Maximum wait time after sending f...
(module (function_definition (function_name__run_markdownlint) function_name__run_markdownlint (parameters (identifier_matched_filenames) identifier_matched_filenames (identifier_show_lint_files) identifier_show_lint_files )parameters (block (import_from_statement (dotted_nam...
Run markdownlint on matched_filenames.
(module (function_definition (function_name_run_cufflinks) function_name_run_cufflinks (parameters (identifier_data) identifier_data )parameters (block (if_statement (comparison_operator (string_"cufflinks") string_"cufflinks" (call (attribute ...
Quantitate transcript expression with Cufflinks
(module (function_definition (function_name_minimum_needs_section_header_element) function_name_minimum_needs_section_header_element (parameters (identifier_feature) identifier_feature (identifier_parent) identifier_parent )parameters (block (expression_statement (assignment ...
Retrieve minimum needs section header string from definitions.
(module (function_definition (function_name_show_syspath) function_name_show_syspath (parameters (identifier_self) identifier_self (identifier_syspath) identifier_syspath )parameters (block (if_statement (comparison_operator (identifier_syspath) identifier_syspath ...
Show sys.path contents.
(module (function_definition (function_name_update_standings) function_name_update_standings (parameters (default_parameter (identifier_semester) identifier_semester (None) None )default_parameter (default_parameter (identifier_pool_hours) identifier_pool_hours ...
This function acts to update a list of PoolHours objects to adjust their current standing based on the time in the semester. Parameters ---------- semester : workshift.models.Semester, optional pool_hours : list of workshift.models.PoolHours, optional If None, runs on all pool hours for sem...
(module (function_definition (function_name_get_events) function_name_get_events (parameters (identifier_self) identifier_self (identifier_service_location_id) identifier_service_location_id (identifier_appliance_id) identifier_appliance_id (identifier_start) identifier_start (id...
Request events for a given appliance Parameters ---------- service_location_id : int appliance_id : int start : int | dt.datetime | pd.Timestamp end : int | dt.datetime | pd.Timestamp start and end support epoch (in milliseconds), datetime and Pan...
(module (function_definition (function_name_exists) function_name_exists (parameters (identifier_self) identifier_self (identifier_target) identifier_target (identifier_path) identifier_path (default_parameter (identifier_path_sep) identifier_path_sep (string_"/") strin...
Check if path refers to an existing path on the device :param target: The device(s) to be targeted with this request :type target: :class:`devicecloud.sci.TargetABC` or list of :class:`devicecloud.sci.TargetABC` instances :param path: The path on the target to check for existence. :para...
(module (function_definition (function_name_clone) function_name_clone (parameters (identifier_self) identifier_self (identifier_substitutions) identifier_substitutions (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictionary_splat_pattern )parameters ...
Clone a DAG.
(module (function_definition (function_name__did_receive_response) function_name__did_receive_response (parameters (identifier_self) identifier_self (identifier_response) identifier_response )parameters (block (try_statement (block (expression_statement ...
Called when a response is received
(module (function_definition (function_name_remove_locations) function_name_remove_locations (parameters (identifier_node) identifier_node )parameters (block (function_definition (function_name_fix) function_name_fix (parameters (identifier_node) identifier_node ...
Removes locations from the given AST tree completely
(module (function_definition (function_name_delete) function_name_delete (parameters (identifier_self) identifier_self (identifier_key) identifier_key )parameters (block (expression_statement (call (attribute (call (identifier_super) identi...
Removes the object named by `key`. DirectoryTreeDatastore removes the directory entry.
(module (function_definition (function_name_get_listener_instance) function_name_get_listener_instance (parameters (identifier_self) identifier_self (identifier_cls) identifier_cls )parameters (block (with_statement (with_clause (with_item (attribute ...
If a listener of the specified type is registered, returns the instance. :type cls: :class:`SessionListener`
(module (function_definition (function_name_writeInfo) function_name_writeInfo (parameters (identifier_self) identifier_self (identifier_stream) identifier_stream )parameters (block (for_statement (tuple_pattern (identifier_fromUUID) identifier_fromUUID (i...
Write information about diffs into a file stream for use later.
(module (function_definition (function_name_related) function_name_related (parameters (identifier_self) identifier_self (keyword_separator )keyword_separator (default_parameter (identifier_exclude_self) identifier_exclude_self (False) False )default_parameter ...
Get a QuerySet for all trigger log objects for the same connected model. Args: exclude_self (bool): Whether to exclude this log object from the result list
(module (function_definition (function_name__maintain_LC) function_name__maintain_LC (parameters (identifier_self) identifier_self (identifier_obj) identifier_obj (identifier_slice_id) identifier_slice_id (default_parameter (identifier_last_slice) identifier_last_slice ...
Makes sure shard life cycle interface are respected. Args: obj: the obj that may have implemented _ShardLifeCycle. slice_id: current slice_id last_slice: whether this is the last slice. begin_slice: whether this is the beginning or the end of a slice. shard_ctx: shard ctx for dependen...
(module (function_definition (function_name_series_expand) function_name_series_expand (parameters (identifier_self) identifier_self (typed_parameter (identifier_param) identifier_param (type (identifier_Symbol) identifier_Symbol )type )typed_parameter ...
r"""Expand the expression as a truncated power series in a scalar parameter. When expanding an expr for a parameter $x$ about the point $x_0$ up to order $N$, the resulting coefficients $(c_1, \dots, c_N)$ fulfill .. math:: \text{expr} = \sum_{n=0}^{N} c_n (x - x_0)^n + O(...
(module (function_definition (function_name__clean_filepath) function_name__clean_filepath (parameters (identifier_self) identifier_self (identifier_filepath) identifier_filepath )parameters (block (if_statement (parenthesized_expression (boolean_operator ...
processes the filepath by checking if it is a directory or not and adding `.py` if not present.