sequence
stringlengths
557
12.7k
docstring
stringlengths
4
15.2k
(module (function_definition (function_name__worker) function_name__worker (parameters (typed_parameter (identifier_reader) identifier_reader (type (identifier_DatasetReader) identifier_DatasetReader )type )typed_parameter (typed_parameter (identifie...
A worker that pulls filenames off the input queue, uses the dataset reader to read them, and places the generated instances on the output queue. When there are no filenames left on the input queue, it puts its ``index`` on the output queue and doesn't do anything else.
(module (function_definition (function_name_listFieldsFromWorkitem) function_name_listFieldsFromWorkitem (parameters (identifier_self) identifier_self (identifier_copied_from) identifier_copied_from (default_parameter (identifier_keep) identifier_keep (False) False )def...
List all the attributes to be rendered directly from some to-be-copied workitems More details, please refer to :class:`rtcclient.template.Templater.listFieldsFromWorkitem`
(module (function_definition (function_name_remove) function_name_remove (parameters (identifier_self) identifier_self (identifier_pointer) identifier_pointer )parameters (block (expression_statement (assignment (identifier_doc) identifier_doc (call ...
Remove element from sequence, member from mapping. :param pointer: the path to search in :return: resolved document :rtype: Target
(module (function_definition (function_name_shell_join) function_name_shell_join (parameters (identifier_delim) identifier_delim (identifier_it) identifier_it )parameters (block (expression_statement (string_'Joins an iterable of ShellQuoted with a delimiter between each two'...
Joins an iterable of ShellQuoted with a delimiter between each two
(module (function_definition (function_name_import_module) function_name_import_module (parameters (identifier_self) identifier_self (identifier_modules) identifier_modules (default_parameter (identifier_shared) identifier_shared (False) False )default_parameter (...
Imports a python module. :param list|str|unicode modules: :param bool shared: Import a python module in all of the processes. This is done after fork but before request processing. :param bool into_spooler: Import a python module in the spooler. http://uwsgi-docs.readt...
(module (function_definition (function_name_validateDatetime) function_name_validateDatetime (parameters (identifier_value) identifier_value (default_parameter (identifier_blank) identifier_blank (False) False )default_parameter (default_parameter (identifier_st...
Raises ValidationException if value is not a datetime formatted in one of the formats formats. Returns a datetime.datetime object of value. * value (str): The value being validated as a datetime. * blank (bool): If True, a blank string will be accepted. Defaults to False. * strip (bool, str, None): If ...
(module (function_definition (function_name__query) function_name__query (parameters (identifier_self) identifier_self (identifier_host_object) identifier_host_object (default_parameter (identifier_classification) identifier_classification (False) False )default_paramet...
Query the client for data of given host. :param host_object: an object representing a host value :param classification: if True: hpHosts is queried also for classification for given host, if listed :returns: content of response to GET request to hpHosts for data on the given hos...
(module (function_definition (function_name_download_handler) function_name_download_handler (parameters (identifier_feed) identifier_feed (identifier_placeholders) identifier_placeholders )parameters (block (import_statement (dotted_name (identifier_shlex) identifi...
Parse and execute the download handler
(module (function_definition (function_name__table_relabel) function_name__table_relabel (parameters (identifier_table) identifier_table (identifier_substitutions) identifier_substitutions (default_parameter (identifier_replacements) identifier_replacements (None) None ...
Change table column names, otherwise leaving table unaltered Parameters ---------- substitutions Returns ------- relabeled : TableExpr
(module (function_definition (function_name__bake_script) function_name__bake_script (parameters (identifier_script) identifier_script )parameters (block (if_statement (comparison_operator (string_"src") string_"src" (attribute (identifier_script) id...
Takes a script element and bakes it in only if it contains a remote resource
(module (function_definition (function_name_plot_sample) function_name_plot_sample (parameters (identifier_self) identifier_self (default_parameter (identifier_nsims) identifier_nsims (integer_10) integer_10 )default_parameter (default_parameter (identifier_plot...
Plots draws from the posterior predictive density against the data Parameters ---------- nsims : int (default : 1000) How many draws from the posterior predictive distribution plot_data boolean Whether to plot the data or not
(module (function_definition (function_name_setWorkerInfo) function_name_setWorkerInfo (parameters (identifier_self) identifier_self (identifier_hostname) identifier_hostname (identifier_workerAmount) identifier_workerAmount (identifier_origin) identifier_origin )parameters (bl...
Sets the worker information for the current host.
(module (function_definition (function_name_delete) function_name_delete (parameters (identifier_self) identifier_self (identifier_ip_dest) identifier_ip_dest (identifier_next_hop) identifier_next_hop (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictio...
Delete a static route Args: ip_dest (string): The ip address of the destination in the form of A.B.C.D/E next_hop (string): The next hop interface or ip address **kwargs['next_hop_ip'] (string): The next hop address on destination interface ...
(module (function_definition (function_name_purge) function_name_purge (parameters (identifier_self) identifier_self )parameters (block (function_definition (function_name_partial_file) function_name_partial_file (parameters (identifier_item) identifier_item ...
Delete PARTIAL data files and remove torrent from client.
(module (function_definition (function_name_get_sort_field) function_name_get_sort_field (parameters (identifier_request) identifier_request )parameters (block (expression_statement (assignment (identifier_sort_direction) identifier_sort_direction (call ...
Retrieve field used for sorting a queryset :param request: HTTP request :return: the sorted field name, prefixed with "-" if ordering is descending
(module (function_definition (function_name_ReplaceStopTimeObject) function_name_ReplaceStopTimeObject (parameters (identifier_self) identifier_self (identifier_stoptime) identifier_stoptime (default_parameter (identifier_schedule) identifier_schedule (None) None )defau...
Replace a StopTime object from this trip with the given one. Keys the StopTime object to be replaced by trip_id, stop_sequence and stop_id as 'stoptime', with the object 'stoptime'.
(module (function_definition (function_name__close_stdio) function_name__close_stdio (parameters )parameters (block (for_statement (identifier_fd) identifier_fd (tuple (attribute (identifier_sys) identifier_sys (identifier_stdin) identifier_stdin...
Close stdio streams to avoid output in the tty that launched pantsd.
(module (function_definition (function_name_update_notifications) function_name_update_notifications (parameters (identifier_self) identifier_self (typed_default_parameter (identifier_on_match_open) identifier_on_match_open (type (identifier_bool) identifier_bool ...
update participants notifications for this tournament |methcoro| Args: on_match_open: Email registered Challonge participants when matches open up for them on_tournament_end: Email registered Challonge participants the results when this tournament ends Raises: ...
(module (function_definition (function_name__drop_membership_multicast_socket) function_name__drop_membership_multicast_socket (parameters (identifier_self) identifier_self )parameters (block (expression_statement (call (attribute (attribute (ide...
Drop membership to multicast :rtype: None
(module (function_definition (function_name_write_template_file) function_name_write_template_file (parameters (identifier_source) identifier_source (identifier_target) identifier_target (identifier_content) identifier_content )parameters (block (expression_statement (c...
Write a new file from a given pystache template file and content
(module (function_definition (function_name_generate_enum) function_name_generate_enum (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_enum) identifier_enum (subscript (attribute ...
Means that only value specified in the enum is valid. .. code-block:: python { 'enum': ['a', 'b'], }
(module (function_definition (function_name_put) function_name_put (parameters (identifier_self) identifier_self (identifier_path) identifier_path (identifier_data) identifier_data )parameters (block (assert_statement (comparison_operator (identifier_path) ide...
Executes a PUT. 'path' may not be None. Should include the full path to the resoure. 'data' may be None or a dictionary. Returns a named tuple that includes: status: the HTTP status code json: the returned JSON-HAL If the key was not set, throws an APIConfigur...
(module (function_definition (function_name_get_secret) function_name_get_secret (parameters (identifier_self) identifier_self (identifier_handle) identifier_handle (identifier_contributor) identifier_contributor )parameters (block (expression_statement (assignment ...
Retrieve an existing secret's value. :param handle: Secret handle :param contributor: User instance to perform contributor validation, which means that only secrets for the given contributor will be looked up.
(module (function_definition (function_name_list_default_storage_policy_of_datastore) function_name_list_default_storage_policy_of_datastore (parameters (identifier_datastore) identifier_datastore (default_parameter (identifier_service_instance) identifier_service_instance (None) N...
Returns a list of datastores assign the the storage policies. datastore Name of the datastore to assign. The datastore needs to be visible to the VMware entity the proxy points to. service_instance Service instance (vim.ServiceInstance) of the vCenter. Default is None. ...
(module (function_definition (function_name_eum_snippet) function_name_eum_snippet (parameters (default_parameter (identifier_trace_id) identifier_trace_id (None) None )default_parameter (default_parameter (identifier_eum_api_key) identifier_eum_api_key (None)...
Return an EUM snippet for use in views, templates and layouts that reports client side metrics to Instana that will automagically be linked to the current trace. @param trace_id [optional] the trace ID to insert into the EUM string @param eum_api_key [optional] the EUM API key from your Instana dashboa...
(module (function_definition (function_name_show) function_name_show (parameters (identifier_self) identifier_self )parameters (block (if_statement (boolean_operator (not_operator (attribute (identifier_self) identifier_self (identi...
Display indented statistics.
(module (function_definition (function_name_dbr) function_name_dbr (parameters (identifier_self) identifier_self (default_parameter (identifier_value) identifier_value (None) None )default_parameter )parameters (block (if_statement (comparison_operator ...
Corresponds to IDD Field `dbr` Daily temperature range for hottest month. [defined as mean of the difference between daily maximum and daily minimum dry-bulb temperatures for hottest month] Args: value (float): value for IDD Field `dbr` Unit: C ...
(module (function_definition (function_name_get_cookie_header) function_name_get_cookie_header (parameters (identifier_queue_item) identifier_queue_item )parameters (block (expression_statement (assignment (identifier_header) identifier_header (list )l...
Convert a requests cookie jar to a HTTP request cookie header value. Args: queue_item (:class:`nyawc.QueueItem`): The parent queue item of the new request. Returns: str: The HTTP cookie header value.
(module (function_definition (function_name_get_participants_for_gradebook) function_name_get_participants_for_gradebook (parameters (identifier_gradebook_id) identifier_gradebook_id (default_parameter (identifier_person) identifier_person (None) None )default_parameter )...
Returns a list of gradebook participants for the passed gradebook_id and person.
(module (function_definition (function_name_print_runs) function_name_print_runs (parameters (identifier_query) identifier_query )parameters (block (if_statement (comparison_operator (identifier_query) identifier_query (None) None )comparison_operator ...
Print all rows in this result query.
(module (function_definition (function_name_cancel) function_name_cancel (parameters (identifier_self) identifier_self (default_parameter (identifier_consumer_tag) identifier_consumer_tag (string_'') string_'' )default_parameter )parameters (block (if_statement ...
Cancel a queue consumer. :param str consumer_tag: Consumer tag :raises AMQPInvalidArgument: Invalid Parameters :raises AMQPChannelError: Raises if the channel encountered an error. :raises AMQPConnectionError: Raises if the connection encountered an...
(module (function_definition (function_name_conflict) function_name_conflict (parameters (identifier_request) identifier_request (default_parameter (identifier_target) identifier_target (None) None )default_parameter (default_parameter (identifier_template_name)...
409 error handler. :param request: Request :param template_name: `409.html` :param target: The model to save
(module (function_definition (function_name_save) function_name_save (parameters (identifier_self) identifier_self (default_parameter (identifier_force_insert) identifier_force_insert (False) False )default_parameter )parameters (block (expression_statement ...
Save the model and any related many-to-many fields. :param force_insert: Should the save force an insert? :return: Number of rows impacted, or False.
(module (function_definition (function_name_get_plist_data_from_string) function_name_get_plist_data_from_string (parameters (identifier_data) identifier_data )parameters (block (if_statement (identifier_has_biplist) identifier_has_biplist (block (return_statement...
Parse plist data for a string. Tries biplist, falling back to plistlib.
(module (function_definition (function_name_update_email_template) function_name_update_email_template (parameters (identifier_self) identifier_self (identifier_template_id) identifier_template_id (identifier_template_dict) identifier_template_dict )parameters (block (return_st...
Updates a emailtemplate :param template_id: the template id :param template_dict: dict :return: dict
(module (function_definition (function_name_python_version) function_name_python_version (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_v) identifier_v (call (attribute (id...
Get the configured Python version. If this is not set in the config, then it defaults to the version of the current runtime. Returns: A string of the form "MAJOR.MINOR", e.g. "3.6".
(module (function_definition (function_name_available) function_name_available (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_disco_info) identifier_disco_info (yield (call ...
Check whether we have a PEP identity associated with our account.
(module (function_definition (function_name__get_covered_keys_and_masks) function_name__get_covered_keys_and_masks (parameters (identifier_merge) identifier_merge (identifier_aliases) identifier_aliases )parameters (block (for_statement (identifier_entry) identifier_entry ...
Get keys and masks which would be covered by the entry resulting from the merge. Parameters ---------- aliases : {(key, mask): {(key, mask), ...}, ...} Map of key-mask pairs to the sets of key-mask pairs that they actually represent. Yields ------ (key, mask) Pairs ...
(module (function_definition (function_name_options) function_name_options (parameters (identifier_self) identifier_self (identifier_request) identifier_request (identifier_map) identifier_map (list_splat_pattern (identifier_args) identifier_args )list_splat_pattern ...
List communication options.
(module (function_definition (function_name_reg) function_name_reg (parameters (identifier_name) identifier_name )parameters (block (expression_statement (assignment (identifier_ret) identifier_ret (dictionary (pair (string_'name') stri...
Activate this register to turn on a minion status tracking register, this register keeps the current status beacon data and the time that each beacon was last checked in.
(module (function_definition (function_name_filter_significance) function_name_filter_significance (parameters (identifier_diff) identifier_diff (identifier_significance) identifier_significance )parameters (block (expression_statement (assignment (identifier_change...
Prune any changes in the patch which are due to numeric changes less than this level of significance.
(module (function_definition (function_name_annotation_spec_set_path) function_name_annotation_spec_set_path (parameters (identifier_cls) identifier_cls (identifier_project) identifier_project (identifier_annotation_spec_set) identifier_annotation_spec_set )parameters (block (r...
Return a fully-qualified annotation_spec_set string.
(module (function_definition (function_name__slice) function_name__slice (parameters (identifier_index) identifier_index (identifier_n_samples) identifier_n_samples (default_parameter (identifier_margin) identifier_margin (None) None )default_parameter )parameters ...
Return a waveform slice.
(module (function_definition (function_name_product) function_name_product (parameters (identifier_pc) identifier_pc (identifier_service) identifier_service (identifier_attrib) identifier_attrib (identifier_sku) identifier_sku )parameters (block (expression_statement ...
Get a list of a service's products. The list will be in the given region, matching the specific terms and any given attribute filters or a SKU.
(module (function_definition (function_name_controlled) function_name_controlled (parameters (identifier_num_ptr_bits) identifier_num_ptr_bits (identifier_U) identifier_U )parameters (block (expression_statement (assignment (identifier_d) identifier_d (bin...
Given a one-qubit gate matrix U, construct a controlled-U on all pointer qubits.
(module (function_definition (function_name__flat_values) function_name__flat_values (parameters (identifier_self) identifier_self )parameters (block (return_statement (call (identifier_tuple) identifier_tuple (generator_expression (conditional_expre...
Return tuple of mean values as found in cube response. Mean data may include missing items represented by a dict like {'?': -1} in the cube response. These are replaced by np.nan in the returned value.
(module (function_definition (function_name_add_external_reference) function_name_add_external_reference (parameters (identifier_self) identifier_self (identifier_term_id) identifier_term_id (identifier_external_ref) identifier_external_ref )parameters (block (if_statement ...
Adds an external reference for the given term @type term_id: string @param term_id: the term identifier @type external_ref: L{CexternalReference} @param external_ref: the external reference object
(module (function_definition (function_name_prepare) function_name_prepare (parameters (identifier_cls) identifier_cls )parameters (type (None) None )type (block (if_statement (comparison_operator (attribute (identifier_cls) identifier_cls ...
Fill in possibly missing package metadata.
(module (function_definition (function_name__normalize_string) function_name__normalize_string (parameters (identifier_raw_str) identifier_raw_str )parameters (block (return_statement (call (attribute (string_" ") string_" " (identifier_join) ident...
Normalizes the string using tokenizer.encode. Args: raw_str: the input string Returns: A string which is ready to be tokenized using split()
(module (function_definition (function_name_from_db_value) function_name_from_db_value (parameters (identifier_self) identifier_self (identifier_value) identifier_value (identifier_expression) identifier_expression (identifier_connection) identifier_connection (identifier_context...
Convert database value to Python value. Called when data is loaded from the database.
(module (function_definition (function_name__unpack) function_name__unpack (parameters (identifier_struct) identifier_struct (identifier_bc) identifier_bc (default_parameter (identifier_offset) identifier_offset (integer_0) integer_0 )default_parameter )parameters ...
returns the unpacked data tuple, and the next offset past the unpacked data
(module (function_definition (function_name_place_visual) function_name_place_visual (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_index) identifier_index (integer_0) integer_0 )assignment ...
Places visual objects randomly until no collisions or max iterations hit.
(module (function_definition (function_name_setPololuProtocol) function_name_setPololuProtocol (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (attribute (identifier_self) identifier_self (identifi...
Set the pololu protocol.
(module (function_definition (function_name__get_description) function_name__get_description (parameters (identifier_self) identifier_self )parameters (block (return_statement (call (attribute (string_", ") string_", " (identifier_join) identifier_...
Return human readable description error description. This description should explain everything that went wrong during deserialization.
(module (function_definition (function_name_find_and_modify) function_name_find_and_modify (parameters (identifier_self) identifier_self (default_parameter (identifier_query) identifier_query (None) None )default_parameter (default_parameter (identifier_update) ...
Finds documents in this collection that match a given query and updates them
(module (function_definition (function_name__parse_output) function_name__parse_output (parameters (identifier_self) identifier_self (identifier_xml_response) identifier_xml_response )parameters (block (expression_statement (assignment (identifier_count) identifier_...
Parse the response XML from iLO. This function parses the output received from ILO. As the output contains multiple XMLs, it extracts one xml at a time and loops over till all the xmls in the response are exhausted. It returns the data to APIs either in dictionary forma...
(module (function_definition (function_name_dumps) function_name_dumps (parameters (identifier_self) identifier_self (identifier_data) identifier_data )parameters (block (expression_statement (assignment (identifier_data) identifier_data (call ...
Serialize a python data type for transmission or storage. :param data: The python object to serialize. :return: The serialized representation of the object. :rtype: bytes
(module (function_definition (function_name_dumps) function_name_dumps (parameters (identifier_self) identifier_self (default_parameter (identifier_separator) identifier_separator (string_'=') string_'=' )default_parameter )parameters (block (expression_statemen...
Convert the mapping to a text string in simple line-oriented ``.properties`` format. If the instance was originally created from a file or string with `PropertiesFile.load()` or `PropertiesFile.loads()`, then the output will include the comments and whitespace from the original input, a...
(module (function_definition (function_name_put) function_name_put (parameters (identifier_self) identifier_self (identifier_url) identifier_url )parameters (block (expression_statement (assignment (identifier_response) identifier_response (call ...
Sends this `Resource` instance to the service with a ``PUT`` request to the given URL.
(module (function_definition (function_name_until_any_child_in_state) function_name_until_any_child_in_state (parameters (identifier_self) identifier_self (identifier_state) identifier_state (default_parameter (identifier_timeout) identifier_timeout (None) None )default...
Return a tornado Future; resolves when any client is in specified state
(module (function_definition (function_name_results) function_name_results (parameters (identifier_self) identifier_self )parameters (type (generic_type (identifier_List) identifier_List (type_parameter (type (identifier_TrialResult) identifier_TrialRe...
Returns the job results, blocking until the job is complete.
(module (function_definition (function_name_create_api_method) function_name_create_api_method (parameters (identifier_restApiId) identifier_restApiId (identifier_resourcePath) identifier_resourcePath (identifier_httpMethod) identifier_httpMethod (identifier_authorizationType) identifi...
Creates API method for a resource in the given API CLI Example: .. code-block:: bash salt myminion boto_apigateway.create_api_method restApiId resourcePath, httpMethod, authorizationType, \\ apiKeyRequired=False, requestParameters='{"name", "value"}', requestModels='{"content-type", "valu...
(module (function_definition (function_name_connect) function_name_connect (parameters (identifier_nodes) identifier_nodes )parameters (block (for_statement (pattern_list (identifier_a) identifier_a (identifier_b) identifier_b )pattern_list (call...
Connect a list of nodes. Connected nodes have an ``output`` member which is the following node in the line. The last node's ``output`` is a :class:`Queue` for easy plumbing.
(module (function_definition (function_name_load_fixtures) function_name_load_fixtures (parameters )parameters (block (if_statement (comparison_operator (call (identifier_local) identifier_local (argument_list (string_"pwd") string_"pwd" ...
Populate a database with data from fixtures.
(module (function_definition (function_name_add_metric) function_name_add_metric (parameters (identifier_self) identifier_self (identifier_metric_name) identifier_metric_name (identifier_measurable) identifier_measurable (default_parameter (identifier_config) identifier_config ...
Add a metric to monitor an object that implements measurable. This metric won't be associated with any sensor. This is a way to expose existing values as metrics. Arguments: metricName (MetricName): The name of the metric measurable (AbstractMeasurable): The measurable t...
(module (function_definition (function_name__make_expr_ops) function_name__make_expr_ops (parameters (identifier_self) identifier_self (identifier_op_list) identifier_op_list (default_parameter (identifier_op_dict) identifier_op_dict (None) None )default_parameter ...
Fill up `self._op_expr` dict. :param op_list: A list of operation names. :param op_dict: A dictionary of operation methods. :param op_class: Where the operation method comes from. :return:
(module (function_definition (function_name_timing) function_name_timing (parameters (identifier_func) identifier_func )parameters (block (decorated_definition (decorator (call (attribute (identifier_functools) identifier_functools ...
Measure the execution time of a function call and print the result.
(module (function_definition (function_name__adopt_notifications) function_name__adopt_notifications (parameters (identifier_self) identifier_self (identifier_state) identifier_state )parameters (block (function_definition (function_name_iterator) function_name_iterator ...
Part of the "monitor" restart strategy. The pending notifications from descriptor of dead agent are imported to our pending list.
(module (function_definition (function_name_execute) function_name_execute (parameters (identifier_self) identifier_self (identifier_env) identifier_env (identifier_args) identifier_args )parameters (block (expression_statement (assignment (identifier_tasks) i...
Lists all valid tasks. `env` Runtime ``Environment`` instance. `args` Arguments object from arg parser.
(module (function_definition (function_name_track_event) function_name_track_event (parameters (identifier_self) identifier_self (identifier_name) identifier_name (default_parameter (identifier_properties) identifier_properties (None) None )default_parameter (defa...
Send information about a single event that has occurred in the context of the application. Args: name (str). the data to associate to this event.\n properties (dict). the set of custom properties the client wants attached to this data item. (defaults to: None)\n measurements...
(module (function_definition (function_name_iter_predict) function_name_iter_predict (parameters (identifier_self) identifier_self (identifier_X) identifier_X (default_parameter (identifier_include_init) identifier_include_init (False) False )default_parameter )para...
Returns the predictions for ``X`` at every stage of the boosting procedure. Args: X (array-like or sparse matrix of shape (n_samples, n_features): The input samples. Sparse matrices are accepted only if they are supported by the weak model. include_init (bool, default=Fa...
(module (function_definition (function_name_connect) function_name_connect (parameters (identifier_self) identifier_self (identifier_target) identifier_target (identifier_acceptor) identifier_acceptor (default_parameter (identifier_wrapper) identifier_wrapper (None) Non...
Initiate a connection from the tendril manager's endpoint. Once the connection is completed, a TCPTendril object will be created and passed to the given acceptor. :param target: The target of the connection attempt. :param acceptor: A callable which will initialize the state of ...
(module (function_definition (function_name_zipentry_chunk) function_name_zipentry_chunk (parameters (identifier_zipfile) identifier_zipfile (identifier_name) identifier_name (default_parameter (identifier_size) identifier_size (identifier__BUFFERING) identifier__BUFFERING ...
returns a generator function which when called will emit x-sized chunks of the named entry in the zipfile object
(module (function_definition (function_name_linspace2) function_name_linspace2 (parameters (identifier_a) identifier_a (identifier_b) identifier_b (identifier_n) identifier_n (default_parameter (identifier_dtype) identifier_dtype (None) None )default_parameter ...
similar to numpy.linspace but excluding the boundaries this is the normal numpy.linspace: >>> print linspace(0,1,5) [ 0. 0.25 0.5 0.75 1. ] and this gives excludes the boundaries: >>> print linspace2(0,1,5) [ 0.1 0.3 0.5 0.7 0.9]
(module (function_definition (function_name_as_subbundle) function_name_as_subbundle (parameters (identifier_cls) identifier_cls (default_parameter (identifier_name) identifier_name (None) None )default_parameter (default_parameter (identifier_title) identifier_...
Wraps the given bundle so that it can be lazily instantiated. :param name: The slug for this bundle. :param title: The verbose name for this bundle.
(module (function_definition (function_name__index_impl) function_name__index_impl (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_runs) identifier_runs (call (attribute (at...
Return information about the tags in each run. Result is a dictionary of the form { "runName1": { "tagName1": { "displayName": "The first tag", "description": "<p>Long ago there was just one tag...</p>", "samples": 3 }, ...
(module (function_definition (function_name_generate_cutJ_genomic_CDR3_segs) function_name_generate_cutJ_genomic_CDR3_segs (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_max_palindrome) identifier_max_palindr...
Add palindromic inserted nucleotides to germline J sequences. The maximum number of palindromic insertions are appended to the germline J segments so that delJ can index directly for number of nucleotides to delete from a segment. Sets the attribute cutJ_genomic_CDR3_se...
(module (function_definition (function_name___standardize_result) function_name___standardize_result (parameters (identifier_status) identifier_status (identifier_message) identifier_message (default_parameter (identifier_data) identifier_data (None) None )default_param...
Standardizes all responses :param status: :param message: :param data: :param debug_msg: :return:
(module (function_definition (function_name_srem) function_name_srem (parameters (identifier_self) identifier_self (identifier_key) identifier_key (list_splat_pattern (identifier_values) identifier_values )list_splat_pattern )parameters (block (expression_statemen...
Emulate srem.
(module (function_definition (function_name_a_not_committed) function_name_a_not_committed (parameters (identifier_ctx) identifier_ctx )parameters (block (expression_statement (call (attribute (attribute (identifier_ctx) identifier_ctx ...
Provide the message that current software is not committed and reload is not possible.
(module (function_definition (function_name_certify_required) function_name_certify_required (parameters (identifier_value) identifier_value (default_parameter (identifier_required) identifier_required (False) False )default_parameter )parameters (block (if_stat...
Certify that a value is present if required. :param object value: The value that is to be certified. :param bool required: Is the value required? :raises CertifierValueError: Required value is `None`.
(module (function_definition (function_name_t_coords) function_name_t_coords (parameters (identifier_self) identifier_self (identifier_t_coords) identifier_t_coords )parameters (block (if_statement (not_operator (call (identifier_isinstance) identifier_i...
Set the array to use as the texture coordinates
(module (function_definition (function_name_makedirs) function_name_makedirs (parameters (identifier_self) identifier_self (identifier_path) identifier_path (default_parameter (identifier_mode) identifier_mode (integer_0o700) integer_0o700 )default_parameter )parame...
Create path, including leading components. Used by sos.sosreport to set up sos_* directories.
(module (function_definition (function_name__can) function_name__can (parameters (identifier_self) identifier_self (identifier_func_name) identifier_func_name (default_parameter (identifier_qualifier_id) identifier_qualifier_id (None) None )default_parameter )parame...
Tests if the named function is authorized with agent and qualifier. Also, caches authz's in a dict. It is expected that this will not grow to big, as there are typically only a small number of qualifier + function combinations to store for the agent. However, if this becomes an issue, we can ...
(module (function_definition (function_name_select_area) function_name_select_area (parameters (identifier_self) identifier_self (identifier_area_uuid) identifier_area_uuid )parameters (block (expression_statement (assignment (attribute (attribute ...
Update the "current area" to be the area with this UUID. :param str area_uuid: The RFC4122-compliant UUID of the Upload Area.
(module (function_definition (function_name_filter_spent_outputs) function_name_filter_spent_outputs (parameters (identifier_self) identifier_self (identifier_outputs) identifier_outputs )parameters (block (expression_statement (assignment (identifier_links) identif...
Remove outputs that have been spent Args: outputs: list of TransactionLink
(module (function_definition (function_name_Description) function_name_Description (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_descr) identifier_descr (call (attribute (...
Returns searchable data as Description
(module (function_definition (function_name_div_safe) function_name_div_safe (parameters (identifier_numerator) identifier_numerator (identifier_denominator) identifier_denominator )parameters (block (if_statement (call (attribute (identifier_np) identif...
Ufunc-extension that returns 0 instead of nan when dividing numpy arrays Parameters ---------- numerator: array-like denominator: scalar or array-like that can be validly divided by the numerator returns a numpy array example: div_safe( [-1, 0, 1], 0 ) == [0, 0, 0]
(module (function_definition (function_name__try_instantiate) function_name__try_instantiate (parameters (identifier_self) identifier_self (identifier_ipopo) identifier_ipopo (identifier_factory) identifier_factory (identifier_component) identifier_component )parameters (block ...
Tries to instantiate a component from the queue. Hides all exceptions. :param ipopo: The iPOPO service :param factory: Component factory :param component: Component name
(module (function_definition (function_name_generate_schedule) function_name_generate_schedule (parameters (default_parameter (identifier_today) identifier_today (None) None )default_parameter )parameters (block (expression_statement (assignment (ide...
Helper function which creates an ordered list of schedule days
(module (function_definition (function_name_value_from_datadict) function_name_value_from_datadict (parameters (identifier_self) identifier_self (identifier_data) identifier_data (identifier_files) identifier_files (identifier_name) identifier_name )parameters (block (exp...
Returns uploaded file from serialized value.
(module (function_definition (function_name__insert_data) function_name__insert_data (parameters (identifier_self) identifier_self (identifier_connection) identifier_connection (identifier_name) identifier_name (identifier_value) identifier_value (identifier_timestamp) identifier...
Helper to insert data into cql.
(module (function_definition (function_name_add_atmost) function_name_add_atmost (parameters (identifier_self) identifier_self (identifier_lits) identifier_lits (identifier_k) identifier_k (default_parameter (identifier_no_return) identifier_no_return (True) True ...
Add a new atmost constraint to solver's internal formula.
(module (function_definition (function_name_diff) function_name_diff (parameters (identifier_self) identifier_self (typed_parameter (identifier_sym) identifier_sym (type (identifier_Symbol) identifier_Symbol )type )typed_parameter (typed_default_parame...
Differentiate by scalar parameter `sym`. Args: sym: What to differentiate by. n: How often to differentiate expand_simplify: Whether to simplify the result. Returns: The n-th derivative.
(module (function_definition (function_name__StopStatusUpdateThread) function_name__StopStatusUpdateThread (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (attribute (identifier_self) identifier_self ...
Stops the status update thread.
(module (function_definition (function_name_showPopup) function_name_showPopup (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_as_dialog) identifier_as_dialog (call (attribute ...
Shows the popup for this button.
(module (function_definition (function_name_restart) function_name_restart (parameters (identifier_self) identifier_self )parameters (block (expression_statement (call (attribute (identifier_self) identifier_self (identifier_initGrid) identifier_in...
Restart the game from a new generation 0
(module (function_definition (function_name__process_latching) function_name__process_latching (parameters (identifier_self) identifier_self (identifier_key) identifier_key (identifier_latching_entry) identifier_latching_entry )parameters (block (if_statement (subscript...
This is a private utility method. This method process latching events and either returns them via callback or stores them in the latch map :param key: Encoded pin :param latching_entry: a latch table entry :returns: Callback or store data in latch map
(module (function_definition (function_name_firmware_drivers) function_name_firmware_drivers (parameters (identifier_self) identifier_self )parameters (block (if_statement (not_operator (attribute (identifier_self) identifier_self (identifier___fir...
Gets the FirmwareDrivers API client. Returns: FirmwareDrivers:
(module (function_definition (function_name_decode) function_name_decode (parameters (identifier_self) identifier_self (default_parameter (identifier_charset) identifier_charset (string_'utf-8') string_'utf-8' )default_parameter (default_parameter (identifier_er...
Decodes the URL to a tuple made out of strings. The charset is only being used for the path, query and fragment.