sequence stringlengths 557 12.7k | docstring stringlengths 4 15.2k |
|---|---|
(module
(function_definition
(function_name_pull_image) function_name_pull_image
(parameters
(identifier_self) identifier_self
(identifier_image_name) identifier_image_name
(default_parameter
(identifier_stream) identifier_stream
(None) None
)default_parameter
)para... | Ask Docker to pull the container image with given name.
Parameters
----------
image_name str
Name of the image
stream samcli.lib.utils.stream_writer.StreamWriter
Optional stream writer to output to. Defaults to stderr
Raises
------
Docker... |
(module
(function_definition
(function_name_getall) function_name_getall
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_vrfs_re) identifier_vrfs_re
(call
(attribute
(identi... | Returns a dict object of all VRFs in the running-config
Returns:
A dict object of VRF attributes |
(module
(function_definition
(function_name_artboards) function_name_artboards
(parameters
(identifier_src_path) identifier_src_path
)parameters
(block
(expression_statement
(assignment
(identifier_pages) identifier_pages
(call
(identifier_list_artbo... | Return artboards as a flat list |
(module
(function_definition
(function_name_getHourTable) function_name_getHourTable
(parameters
(identifier_date) identifier_date
(identifier_pos) identifier_pos
)parameters
(block
(expression_statement
(assignment
(identifier_table) identifier_table
(cal... | Returns an HourTable object. |
(module
(function_definition
(function_name_get_query_str) function_name_get_query_str
(parameters
(typed_parameter
(identifier_query) identifier_query
(type
(generic_type
(identifier_Type) identifier_Type
(type_parameter
(type
... | Turns a query dictionary into an easy-to-read list of key-value pairs.
If a field is called either ``'password'`` or ``settings.AXES_PASSWORD_FORM_FIELD`` it will be excluded.
The length of the output is limited to max_length to avoid a DoS attack via excessively large payloads. |
(module
(function_definition
(function_name_append_var_uint32) function_name_append_var_uint32
(parameters
(identifier_self) identifier_self
(identifier_value) identifier_value
)parameters
(block
(if_statement
(not_operator
(comparison_operator
(integer_... | Appends an unsigned 32-bit integer to the internal buffer,
encoded as a varint. |
(module
(function_definition
(function_name_getTimeSinceLastVsync) function_name_getTimeSinceLastVsync
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_fn) identifier_fn
(attribute
(attrib... | Returns the number of elapsed seconds since the last recorded vsync event. This
will come from a vsync timer event in the timer if possible or from the application-reported
time if that is not available. If no vsync times are available the function will
return zero for vsync time and frame... |
(module
(function_definition
(function_name_capture_packet) function_name_capture_packet
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_data) identifier_data
(call
(attribute
... | Write packet data to the logger's log file. |
(module
(function_definition
(function_name_getAllNodeUids) function_name_getAllNodeUids
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_ret) identifier_ret
(set
(attribute
... | getAllNodeUids - Returns all the unique internal IDs from getAllChildNodeUids, but also includes this tag's uid
@return set<uuid.UUID> A set of uuid objects |
(module
(function_definition
(function_name_is_main_variation) function_name_is_main_variation
(parameters
(identifier_self) identifier_self
)parameters
(type
(identifier_bool) identifier_bool
)type
(block
(if_statement
(not_operator
(attribute
(... | Checks if this node is the first variation from the point of view of its
parent. The root node is also in the main variation. |
(module
(function_definition
(function_name__read_until) function_name__read_until
(parameters
(default_parameter
(identifier_infile) identifier_infile
(attribute
(identifier_sys) identifier_sys
(identifier_stdin) identifier_stdin
)attribute
)default_par... | Read a terminal response of up to a few characters from stdin. |
(module
(function_definition
(function_name_remove_callback) function_name_remove_callback
(parameters
(identifier_self) identifier_self
(identifier_callback) identifier_callback
(default_parameter
(identifier_msg_type) identifier_msg_type
(None) None
)default_parameter... | Remove per message type of global callback.
Parameters
----------
callback : fn
Callback function
msg_type : int | iterable
Message type to remove callback from. Default `None` means global callback.
Iterable type removes the callback from all the message t... |
(module
(function_definition
(function_name_stonith_create) function_name_stonith_create
(parameters
(identifier_stonith_id) identifier_stonith_id
(identifier_stonith_device_type) identifier_stonith_device_type
(default_parameter
(identifier_stonith_device_options) identifier_stonith... | Create a stonith resource via pcs command
stonith_id
name for the stonith resource
stonith_device_type
name of the stonith agent fence_eps, fence_xvm f.e.
stonith_device_options
additional options for creating the stonith resource
cibfile
use cibfile instead of the live ... |
(module
(function_definition
(function_name_v1_tag_associate) function_name_v1_tag_associate
(parameters
(identifier_request) identifier_request
(identifier_tags) identifier_tags
(identifier_tag) identifier_tag
)parameters
(block
(expression_statement
(assignment
... | Associate an HTML element with a tag.
The association should be a JSON serialized object on the
request body. Here is an example association that should
make the object's structure clear:
.. code-block:: python
{
"url": "http://example.com/abc/xyz?foo=bar",
"text": "Th... |
(module
(function_definition
(function_name_getedges) function_name_getedges
(parameters
(identifier_fname) identifier_fname
(identifier_iddfile) identifier_iddfile
)parameters
(block
(expression_statement
(assignment
(pattern_list
(identifier_data) iden... | return the edges of the idf file fname |
(module
(function_definition
(function_name_gff3_to_recarray) function_name_gff3_to_recarray
(parameters
(identifier_path) identifier_path
(default_parameter
(identifier_attributes) identifier_attributes
(None) None
)default_parameter
(default_parameter
(identif... | Load data from a GFF3 into a NumPy recarray.
Parameters
----------
path : string
Path to input file.
attributes : list of strings, optional
List of columns to extract from the "attributes" field.
region : string, optional
Genome region to extract. If given, file must be posi... |
(module
(function_definition
(function_name_update_workspace_attributes) function_name_update_workspace_attributes
(parameters
(identifier_namespace) identifier_namespace
(identifier_workspace) identifier_workspace
(identifier_attrs) identifier_attrs
)parameters
(block
(express... | Update or remove workspace attributes.
Args:
namespace (str): project to which workspace belongs
workspace (str): Workspace name
attrs (list(dict)): List of update operations for workspace attributes.
Use the helper dictionary construction functions to create these:
... |
(module
(function_definition
(function_name_depth) function_name_depth
(parameters
(identifier_sequence) identifier_sequence
(default_parameter
(identifier_func) identifier_func
(identifier_max) identifier_max
)default_parameter
(default_parameter
(identifier__d... | Find the nesting depth of a nested sequence |
(module
(function_definition
(function_name_from_str) function_name_from_str
(parameters
(identifier_cls) identifier_cls
(identifier_string) identifier_string
)parameters
(block
(return_statement
(call
(identifier_cls) identifier_cls
(argument_list
... | Creates a clause from a given string.
Parameters
----------
string: str
A string of the form `a+!b` which translates to `a AND NOT b`.
Returns
-------
caspo.core.clause.Clause
Created object instance |
(module
(function_definition
(function_name_get_automatic_parser) function_name_get_automatic_parser
(parameters
(identifier_exim_id) identifier_exim_id
(identifier_infile) identifier_infile
)parameters
(block
(expression_statement
(assignment
(identifier_adapter) i... | Returns the parser to be used by default for the instrument id interface
and results file passed in. |
(module
(function_definition
(function_name_iter_issues) function_name_iter_issues
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_milestone) identifier_milestone
(None) None
)default_parameter
(default_parameter
(identifier_state) i... | Iterate over issues on this repo based upon parameters passed.
.. versionchanged:: 0.9.0
The ``state`` parameter now accepts 'all' in addition to 'open'
and 'closed'.
:param int milestone: (optional), 'none', or '*'
:param str state: (optional), accepted values: ('all'... |
(module
(function_definition
(function_name_change_directory) function_name_change_directory
(parameters
(identifier_self) identifier_self
(identifier_directory) identifier_directory
)parameters
(block
(expression_statement
(call
(attribute
(attribute
... | Changes the current directory.
Change is made by running a "cd" command followed by a "clear" command.
:param directory:
:return: |
(module
(function_definition
(function_name__sync_enter) function_name__sync_enter
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(call
(identifier_hasattr) identifier_hasattr
(argument_list
(identifier_self) identifie... | Helps to cut boilerplate on async context
managers that offer synchronous variants. |
(module
(function_definition
(function_name_max_or) function_name_max_or
(parameters
(identifier_a) identifier_a
(identifier_b) identifier_b
(identifier_c) identifier_c
(identifier_d) identifier_d
(identifier_w) identifier_w
)parameters
(block
(expression_statement
... | Upper bound of result of ORing 2-intervals.
:param a: Lower bound of first interval
:param b: Upper bound of first interval
:param c: Lower bound of second interval
:param d: Upper bound of second interval
:param w: bit width
:return: Upper bound of ORing 2-intervals |
(module
(function_definition
(function_name_netmask) function_name_netmask
(parameters
(identifier_mask) identifier_mask
)parameters
(block
(if_statement
(not_operator
(call
(identifier_isinstance) identifier_isinstance
(argument_list
... | Returns True if the value passed is a valid netmask, otherwise return False |
(module
(function_definition
(function_name_complain) function_name_complain
(parameters
(identifier_error) identifier_error
)parameters
(block
(if_statement
(call
(identifier_callable) identifier_callable
(argument_list
(identifier_error) identifier... | Raises in develop; warns in release. |
(module
(function_definition
(function_name_generate_config) function_name_generate_config
(parameters
(identifier_directory) identifier_directory
)parameters
(block
(expression_statement
(assignment
(identifier_default_config) identifier_default_config
(call
... | Generate default config file |
(module
(function_definition
(function_name_is_in) function_name_is_in
(parameters
(identifier_self) identifier_self
(identifier_search_list) identifier_search_list
(identifier_pair) identifier_pair
)parameters
(block
(expression_statement
(assignment
(identif... | If pair is in search_list, return the index. Otherwise return -1 |
(module
(function_definition
(function_name_tabFileNameChanged) function_name_tabFileNameChanged
(parameters
(identifier_self) identifier_self
(identifier_tab) identifier_tab
)parameters
(block
(if_statement
(comparison_operator
(identifier_tab) identifier_tab
... | Perform all UI state changes that need to be done when the
filename of the current tab has changed. |
(module
(function_definition
(function_name_get_subkey) function_name_get_subkey
(parameters
(identifier_self) identifier_self
(identifier_name) identifier_name
)parameters
(block
(expression_statement
(assignment
(identifier_subkey) identifier_subkey
(cal... | Retreive the subkey with the specified name.
If the named subkey is not found, AttributeError is raised;
this is for consistency with the attribute-based access notation. |
(module
(function_definition
(function_name_setColor) function_name_setColor
(parameters
(identifier_self) identifier_self
(identifier_color) identifier_color
)parameters
(block
(if_statement
(comparison_operator
(identifier_color) identifier_color
(string... | Sets Card's color and escape code. |
(module
(function_definition
(function_name_flatten_spec) function_name_flatten_spec
(parameters
(identifier_spec) identifier_spec
(identifier_prefix) identifier_prefix
(default_parameter
(identifier_joiner) identifier_joiner
(string_" :: ") string_" :: "
)default_param... | Flatten a canonical specification with nesting into one without nesting.
When building unique names, concatenate the given prefix to the local test
name without the "Test " tag. |
(module
(function_definition
(function_name_All) function_name_All
(parameters
(list_splat_pattern
(identifier_validators) identifier_validators
)list_splat_pattern
)parameters
(block
(decorated_definition
(decorator
(call
(identifier_wraps) iden... | Combines all the given validator callables into one, running all the
validators in sequence on the given value. |
(module
(function_definition
(function_name_parse_partial) function_name_parse_partial
(parameters
(identifier_self) identifier_self
(identifier_text) identifier_text
)parameters
(block
(if_statement
(not_operator
(call
(identifier_isinstance) identifier... | Parse the longest possible prefix of a given string.
Return a tuple of the result value and the rest of the string.
If failed, raise a ParseError. |
(module
(function_definition
(function_name_FundamentalType) function_name_FundamentalType
(parameters
(identifier_self) identifier_self
(identifier__type) identifier__type
)parameters
(block
(expression_statement
(call
(attribute
(identifier_log) identi... | Returns the proper ctypes class name for a fundamental type
1) activates generation of appropriate headers for
## int128_t
## c_long_double_t
2) return appropriate name for type |
(module
(function_definition
(function_name_execute_with_retries) function_name_execute_with_retries
(parameters
(identifier_retryable_function) identifier_retryable_function
(identifier_retryable_errors) identifier_retryable_errors
(identifier_logger) identifier_logger
(default_parame... | This attempts to execute "retryable_function" with exponential backoff
on delay time.
10 retries adds up to about 34 minutes total delay before the last attempt.
"human_readable_action_name" is an option input to customize retry message. |
(module
(function_definition
(function_name_getPageImageList) function_name_getPageImageList
(parameters
(identifier_self) identifier_self
(identifier_pno) identifier_pno
)parameters
(block
(if_statement
(boolean_operator
(attribute
(identifier_self) ide... | Retrieve a list of images used on a page. |
(module
(function_definition
(function_name_chgroups) function_name_chgroups
(parameters
(identifier_name) identifier_name
(identifier_groups) identifier_groups
(default_parameter
(identifier_append) identifier_append
(False) False
)default_parameter
)parameters
... | Change the groups to which a user belongs
name
Username to modify
groups
List of groups to set for the user. Can be passed as a comma-separated
list or a Python list.
append : False
Set to ``True`` to append these groups to the user's existing list of
groups. Other... |
(module
(function_definition
(function_name_get_cache_key) function_name_get_cache_key
(parameters
(identifier_content) identifier_content
(dictionary_splat_pattern
(identifier_kwargs) identifier_kwargs
)dictionary_splat_pattern
)parameters
(block
(expression_statement
... | generate cache key |
(module
(function_definition
(function_name_sync_remote_to_local) function_name_sync_remote_to_local
(parameters
(default_parameter
(identifier_force) identifier_force
(string_"no") string_"no"
)default_parameter
)parameters
(block
(assert_statement
(compariso... | Replace your remote db with your local
Example:
sync_remote_to_local:force=yes |
(module
(function_definition
(function_name__hmm_command) function_name__hmm_command
(parameters
(identifier_self) identifier_self
(identifier_input_pipe) identifier_input_pipe
(identifier_pairs_to_run) identifier_pairs_to_run
)parameters
(block
(expression_statement
(i... | r"""INTERNAL method for getting cmdline for running a batch of HMMs.
Parameters
----------
input_pipe: as hmmsearch
pairs_to_run: list
list with 2 members: (1) list of hmm and output file, (2) number of
CPUs to use when searching
Returns
-------
... |
(module
(function_definition
(function_name__download_metadata_archive) function_name__download_metadata_archive
(parameters
(identifier_self) identifier_self
)parameters
(block
(with_statement
(with_clause
(with_item
(as_pattern
(call
... | Makes a remote call to the Project Gutenberg servers and downloads
the entire Project Gutenberg meta-data catalog. The catalog describes
the texts on Project Gutenberg in RDF. The function returns a
file-pointer to the catalog. |
(module
(function_definition
(function_name_identify_degenerate_nests) function_name_identify_degenerate_nests
(parameters
(identifier_nest_spec) identifier_nest_spec
)parameters
(block
(expression_statement
(assignment
(identifier_degenerate_positions) identifier_degener... | Identify the nests within nest_spec that are degenerate, i.e. those nests
with only a single alternative within the nest.
Parameters
----------
nest_spec : OrderedDict.
Keys are strings that define the name of the nests. Values are lists
of alternative ids, denoting which alternatives b... |
(module
(function_definition
(function_name__initialize) function_name__initialize
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(attribute
(identifier_self) identifier_self
(identifier__graph) i... | Open from caffe weights |
(module
(function_definition
(function_name_bind_path_fallback) function_name_bind_path_fallback
(parameters
(identifier_self) identifier_self
(identifier_name) identifier_name
(identifier_folder) identifier_folder
)parameters
(block
(if_statement
(boolean_operator
... | Adds a fallback for a given folder relative to `base_path`. |
(module
(function_definition
(function_name_toggle_sequential_download) function_name_toggle_sequential_download
(parameters
(identifier_self) identifier_self
(identifier_infohash_list) identifier_infohash_list
)parameters
(block
(expression_statement
(assignment
(i... | Toggle sequential download in supplied torrents.
:param infohash_list: Single or list() of infohashes. |
(module
(function_definition
(function_name_get_knowledge_category_id) function_name_get_knowledge_category_id
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(not_operator
(call
(identifier_bool) identifier_bool
(arg... | Gets the grade ``Id`` associated with the knowledge dimension.
return: (osid.id.Id) - the grade ``Id``
raise: IllegalState - ``has_knowledge_category()`` is ``false``
*compliance: mandatory -- This method must be implemented.* |
(module
(function_definition
(function_name_cleanup) function_name_cleanup
(parameters
(identifier_self) identifier_self
(identifier_app) identifier_app
)parameters
(block
(expression_statement
(call
(attribute
(attribute
(identifier_self) ... | Close self connections. |
(module
(function_definition
(function_name__reverse_indexer) function_name__reverse_indexer
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_categories) identifier_categories
(attribute
(... | Compute the inverse of a categorical, returning
a dict of categories -> indexers.
*This is an internal function*
Returns
-------
dict of categories -> indexers
Example
-------
In [1]: c = pd.Categorical(list('aabca'))
In [2]: c
Out[2]:
... |
(module
(function_definition
(function_name_acquire) function_name_acquire
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_signal) identifier_signal
(True) True
)default_parameter
)parameters
(block
(if_statement
(not_operato... | Locks the account.
Method has no effect if the constructor argument `needs_lock`
wsa set to False.
:type signal: bool
:param signal: Whether to emit the acquired_event signal. |
(module
(function_definition
(function_name__get_split_tasks) function_name__get_split_tasks
(parameters
(identifier_args) identifier_args
(identifier_split_fn) identifier_split_fn
(identifier_file_key) identifier_file_key
(default_parameter
(identifier_outfile_i) identifier_ou... | Split up input files and arguments, returning arguments for parallel processing.
outfile_i specifies the location of the output file in the arguments to
the processing function. Defaults to the last item in the list. |
(module
(function_definition
(function_name_find_inherited_key_completions) function_name_find_inherited_key_completions
(parameters
(identifier_rootpath) identifier_rootpath
(identifier_root_env) identifier_root_env
)parameters
(block
(expression_statement
(assignment
... | Return completion keys from INHERITED tuples.
Easiest way to get those is to evaluate the tuple, check if it is a CompositeTuple,
then enumerate the keys that are NOT in the rightmost tuple. |
(module
(function_definition
(function_name_getitem_in) function_name_getitem_in
(parameters
(identifier_obj) identifier_obj
(identifier_name) identifier_name
)parameters
(block
(for_statement
(identifier_part) identifier_part
(call
(attribute
(i... | Finds a key in @obj via a period-delimited string @name.
@obj: (#dict)
@name: (#str) |.|-separated keys to search @obj in
..
obj = {'foo': {'bar': {'baz': True}}}
getitem_in(obj, 'foo.bar.baz')
..
|True| |
(module
(function_definition
(function_name_share) function_name_share
(parameters
(identifier_self) identifier_self
(identifier_auth) identifier_auth
(identifier_resource) identifier_resource
(default_parameter
(identifier_options) identifier_options
(dictionary
... | Generates a share code for the given resource.
Args:
auth: <cik>
resource: The identifier of the resource.
options: Dictonary of options. |
(module
(function_definition
(function_name_check_version) function_name_check_version
(parameters
(identifier_ctx) identifier_ctx
(identifier_param) identifier_param
(identifier_value) identifier_value
)parameters
(block
(if_statement
(attribute
(identifier_c... | Check for latest version of renku on PyPI. |
(module
(function_definition
(function_name_list_roles) function_name_list_roles
(parameters
)parameters
(block
(for_statement
(identifier_role) identifier_role
(call
(attribute
(identifier_lib) identifier_lib
(identifier_get_roles) identifier_ge... | Show a list of all available roles |
(module
(function_definition
(function_name_remove) function_name_remove
(parameters
(identifier_self) identifier_self
)parameters
(block
(import_from_statement
(dotted_name
(identifier_fs) identifier_fs
(identifier_errors) identifier_errors
)dotted_name... | Removes file from filesystem. |
(module
(function_definition
(function_name_fundamental_frequency) function_name_fundamental_frequency
(parameters
(identifier_s) identifier_s
(identifier_FS) identifier_FS
)parameters
(block
(expression_statement
(assignment
(identifier_s) identifier_s
(b... | Compute fundamental frequency along the specified axes.
Parameters
----------
s: ndarray
input from which fundamental frequency is computed.
FS: int
sampling frequency
Returns
-------
f0: int
its integer multiple best explain the content of the signal spectrum. |
(module
(function_definition
(function_name_get_ip) function_name_get_ip
(parameters
(identifier_request) identifier_request
(default_parameter
(identifier_real_ip_only) identifier_real_ip_only
(False) False
)default_parameter
(default_parameter
(identifier_righ... | Returns client's best-matched ip-address, or None
@deprecated - Do not edit |
(module
(function_definition
(function_name_search_by_release) function_name_search_by_release
(parameters
(identifier_self) identifier_self
(identifier_release_id) identifier_release_id
(default_parameter
(identifier_limit) identifier_limit
(integer_0) integer_0
)defau... | Search for series that belongs to a release id. Returns information about matching series in a DataFrame.
Parameters
----------
release_id : int
release id, e.g., 151
limit : int, optional
limit the number of results to this value. If limit is 0, it means fetchin... |
(module
(function_definition
(function_name___set_values) function_name___set_values
(parameters
(identifier_self) identifier_self
(identifier_values) identifier_values
)parameters
(block
(expression_statement
(assignment
(identifier_array) identifier_array
... | Sets values in this cell range from an iterable of iterables. |
(module
(function_definition
(function_name___prepare_namespaces) function_name___prepare_namespaces
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(attribute
(identifier_self) identifier_self
(id... | create proper namespaces for our document |
(module
(function_definition
(function_name__write_sample_config) function_name__write_sample_config
(parameters
(identifier_run_folder) identifier_run_folder
(identifier_ldetails) identifier_ldetails
)parameters
(block
(expression_statement
(assignment
(identifier_... | Generate a bcbio-nextgen YAML configuration file for processing a sample. |
(module
(function_definition
(function_name_negotiate_encoding) function_name_negotiate_encoding
(parameters
(identifier_self) identifier_self
)parameters
(block
(try_statement
(block
(expression_statement
(assignment
(identifier_features) identi... | Check if server can handle UTF-8 encoded filenames.
See also RFC 2640. |
(module
(function_definition
(function_name_open_external_file) function_name_open_external_file
(parameters
(identifier_self) identifier_self
(identifier_fname) identifier_fname
)parameters
(block
(expression_statement
(assignment
(identifier_fname) identifier_fnam... | Open external files that can be handled either by the Editor or the
variable explorer inside Spyder. |
(module
(function_definition
(function_name_clear_cycle_mrkrs) function_name_clear_cycle_mrkrs
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_test) identifier_test
(False) False
)default_parameter
)parameters
(block
(if_statement
... | Remove all cycle markers. |
(module
(function_definition
(function_name_parameters_to_datetime) function_name_parameters_to_datetime
(parameters
(identifier_self) identifier_self
(identifier_p) identifier_p
)parameters
(block
(expression_statement
(assignment
(identifier_dt) identifier_dt
... | Given a dictionary of parameters, will extract the ranged task parameter value |
(module
(function_definition
(function_name__cp_embeds_into) function_name__cp_embeds_into
(parameters
(identifier_cp1) identifier_cp1
(identifier_cp2) identifier_cp2
)parameters
(block
(if_statement
(boolean_operator
(comparison_operator
(identifier_cp1... | Check that any state in ComplexPattern2 is matched in ComplexPattern1. |
(module
(function_definition
(function_name_cleanup) function_name_cleanup
(parameters
(identifier_self) identifier_self
)parameters
(block
(for_statement
(identifier_instance) identifier_instance
(attribute
(identifier_self) identifier_self
(identifier_... | Forcefully delete objects from memory
In an ideal world, this shouldn't be necessary. Garbage
collection guarantees that anything without reference
is automatically removed.
However, because this application is designed to be run
multiple times from the same interpreter process... |
(module
(function_definition
(function_name_main) function_name_main
(parameters
(identifier_filename) identifier_filename
)parameters
(block
(expression_statement
(assignment
(identifier_font_family) identifier_font_family
(string_'arial') string_'arial'
... | Creates a PDF by embedding the first page from the given image and
writes some text to it.
@param[in] filename
The source filename of the image to embed. |
(module
(function_definition
(function_name_zlines) function_name_zlines
(parameters
(default_parameter
(identifier_f) identifier_f
(None) None
)default_parameter
(default_parameter
(identifier_sep) identifier_sep
(string_"\0") string_"\0"
)default_param... | File iterator that uses alternative line terminators. |
(module
(function_definition
(function_name_get_order) function_name_get_order
(parameters
(identifier_self) identifier_self
(identifier_order_id) identifier_order_id
)parameters
(block
(if_statement
(comparison_operator
(identifier_order_id) identifier_order_id
... | Lookup an order based on the order id returned from one of the
order functions.
Parameters
----------
order_id : str
The unique identifier for the order.
Returns
-------
order : Order
The order object. |
(module
(function_definition
(function_name_get_primary_domain) function_name_get_primary_domain
(parameters
(identifier_self) identifier_self
)parameters
(block
(try_statement
(block
(expression_statement
(assignment
(identifier_domain) identifi... | Returns the primary domain of the tenant |
(module
(function_definition
(function_name_shift_select) function_name_shift_select
(parameters
(identifier_self) identifier_self
(identifier_first_element) identifier_first_element
(identifier_last_element) identifier_last_element
)parameters
(block
(expression_statement
... | Clicks a web element and shift clicks another web element.
:param first_element: WebElement instance
:param last_element: WebElement instance
:return: None |
(module
(function_definition
(function_name_get_anchor_contents) function_name_get_anchor_contents
(parameters
(identifier_markup) identifier_markup
)parameters
(block
(expression_statement
(assignment
(identifier_soup) identifier_soup
(call
(identif... | Given HTML markup, return a list of href inner html for each anchor tag. |
(module
(function_definition
(function_name__get_dispatches) function_name__get_dispatches
(parameters
(identifier_filter_kwargs) identifier_filter_kwargs
)parameters
(block
(expression_statement
(assignment
(identifier_dispatches) identifier_dispatches
(call
... | Simplified version. Not distributed friendly. |
(module
(function_definition
(function_name_get_value_prob) function_name_get_value_prob
(parameters
(identifier_self) identifier_self
(identifier_attr_name) identifier_attr_name
(identifier_value) identifier_value
)parameters
(block
(if_statement
(comparison_operator
... | Returns the value probability of the given attribute at this node. |
(module
(function_definition
(function_name_add) function_name_add
(parameters
(identifier_self) identifier_self
(identifier_filename) identifier_filename
)parameters
(block
(expression_statement
(assignment
(identifier_basename) identifier_basename
(call
... | Try to add a file. |
(module
(function_definition
(function_name_create) function_name_create
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_re) identifier_re
(string_'brunel-py-ex-*.gdf') string_'brunel-py-ex-*.gdf'
)default_parameter
(default_parameter
... | Create db from list of gdf file glob
Parameters
----------
re : str
File glob to load.
index : bool
Create index on neurons for speed.
Returns
-------
None
See also
--------
... |
(module
(function_definition
(function_name__get_price) function_name__get_price
(parameters
(identifier_self) identifier_self
(identifier_package) identifier_package
)parameters
(block
(for_statement
(identifier_price) identifier_price
(subscript
(identifie... | Returns valid price for ordering a dedicated host. |
(module
(function_definition
(function_name_get_ancestors) function_name_get_ancestors
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_node) identifier_node
(identifier_self) identifier_self
... | Returns a list of ancestors of the node. Ordered from the earliest.
:return: node's ancestors, ordered from most recent
:rtype: list(FenwickNode) |
(module
(function_definition
(function_name_use_comparative_hierarchy_view) function_name_use_comparative_hierarchy_view
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(attribute
(identifier_self) identifier_... | Pass through to provider HierarchyLookupSession.use_comparative_hierarchy_view |
(module
(function_definition
(function_name_fill_main_goids) function_name_fill_main_goids
(parameters
(identifier_go2obj) identifier_go2obj
(identifier_goids) identifier_goids
)parameters
(block
(for_statement
(identifier_goid) identifier_goid
(identifier_goids) iden... | Ensure main GO IDs are included in go2obj. |
(module
(function_definition
(function_name_remove_bucket) function_name_remove_bucket
(parameters
(identifier_self) identifier_self
(identifier_bucket_name) identifier_bucket_name
)parameters
(block
(expression_statement
(call
(identifier_is_valid_bucket_name) iden... | Remove a bucket.
:param bucket_name: Bucket to remove |
(module
(function_definition
(function_name_annotation_path) function_name_annotation_path
(parameters
(identifier_cls) identifier_cls
(identifier_project) identifier_project
(identifier_incident) identifier_incident
(identifier_annotation) identifier_annotation
)parameters
(bl... | Return a fully-qualified annotation string. |
(module
(function_definition
(function_name_getlines) function_name_getlines
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_bufnr) identifier_bufnr
(None) None
)default_parameter
)parameters
(block
(expression_statement
(ass... | Get all lines of a buffer as a list.
Args:
bufnr (Optional[int]): A Vim buffer number, current if ``None``.
Returns:
List[str] |
(module
(function_definition
(function_name_get_time_now) function_name_get_time_now
(parameters
(identifier_self) identifier_self
)parameters
(block
(import_statement
(dotted_name
(identifier_datetime) identifier_datetime
)dotted_name
)import_statement
... | Returns a time stamp |
(module
(function_definition
(function_name_update_firewall_policy) function_name_update_firewall_policy
(parameters
(identifier_self) identifier_self
(identifier_firewall_policy) identifier_firewall_policy
(default_parameter
(identifier_body) identifier_body
(None) None
... | Updates a firewall policy. |
(module
(function_definition
(function_name_release) function_name_release
(parameters
)parameters
(block
(expression_statement
(call
(identifier_sh) identifier_sh
(argument_list
(string_"paver bdist_egg") string_"paver bdist_egg"
)argument_list
... | Check release before upload to PyPI. |
(module
(function_definition
(function_name_get_journal_abstracts) function_name_get_journal_abstracts
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_refresh) identifier_refresh
(True) True
)default_parameter
)parameters
(block
(ret... | Return a list of ScopusAbstract objects using ScopusSearch,
but only if belonging to a Journal. |
(module
(function_definition
(function_name_filter_queryset) function_name_filter_queryset
(parameters
(identifier_self) identifier_self
(identifier_request) identifier_request
(identifier_queryset) identifier_queryset
(identifier_view) identifier_view
)parameters
(block
... | Filter the queryset, applying the ordering.
The `ordering_param` can be overwritten here.
In DRF, the ordering_param is 'ordering', but we support changing it
to allow the viewset to control the parameter. |
(module
(function_definition
(function_name_list) function_name_list
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_params) identifier_params
(None) None
)default_parameter
(default_parameter
(identifier_headers) identifier_headers
... | List creditor bank accounts.
Returns a [cursor-paginated](#api-usage-cursor-pagination) list of your
creditor bank accounts.
Args:
params (dict, optional): Query string parameters.
Returns:
CreditorBankAccount |
(module
(function_definition
(function_name_generic_visit) function_name_generic_visit
(parameters
(identifier_self) identifier_self
(identifier_node) identifier_node
)parameters
(block
(expression_statement
(call
(attribute
(call
(identifi... | Other nodes are not known and range value neither. |
(module
(function_definition
(function_name_get_addresses_from_input_file) function_name_get_addresses_from_input_file
(parameters
(identifier_input_file_name) identifier_input_file_name
)parameters
(block
(expression_statement
(assignment
(identifier_mode) identifier_mod... | Read addresses from input file into list of tuples.
This only supports address and zipcode headers |
(module
(function_definition
(function_name_get_system_properties) function_name_get_system_properties
(parameters
(default_parameter
(identifier_server) identifier_server
(None) None
)default_parameter
)parameters
(block
(expression_statement
(assignment
... | Get system properties |
(module
(function_definition
(function_name_multiget) function_name_multiget
(parameters
(identifier_self) identifier_self
(identifier_pairs) identifier_pairs
(dictionary_splat_pattern
(identifier_params) identifier_params
)dictionary_splat_pattern
)parameters
(block
... | Fetches many keys in parallel via threads.
:param pairs: list of bucket_type/bucket/key tuple triples
:type pairs: list
:param params: additional request flags, e.g. r, pr
:type params: dict
:rtype: list of :class:`RiakObjects <riak.riak_object.RiakObject>`,
:class:`... |
(module
(function_definition
(function_name_bundle) function_name_bundle
(parameters
(identifier_self) identifier_self
(identifier_ref) identifier_ref
(default_parameter
(identifier_capture_exceptions) identifier_capture_exceptions
(False) False
)default_parameter
)... | Return a bundle build on a dataset, with the given vid or id reference |
(module
(function_definition
(function_name_get_wallets) function_name_get_wallets
(parameters
(identifier_self) identifier_self
(list_splat_pattern
(identifier_args) identifier_args
)list_splat_pattern
(dictionary_splat_pattern
(identifier_kwargs) identifier_kwargs
... | Get users wallets by uid
Accepts:
- uid [integer] (users id)
Returns a list:
- [
{
"address": [string],
"uid": [integer],
"amount_active": [integer],
"amount_frozen": [integer]
},
] |
(module
(function_definition
(function_name_get_extra_kwargs) function_name_get_extra_kwargs
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_extra_kwargs) identifier_extra_kwargs
(call
(i... | Return a dictionary mapping field names to a dictionary of
additional keyword arguments. |
(module
(function_definition
(function_name_update) function_name_update
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_scopes) identifier_scopes
(list
)list
)default_parameter
(default_parameter
(identifier_add_scopes) iden... | Update this authorization.
:param list scopes: (optional), replaces the authorization scopes with
these
:param list add_scopes: (optional), scopes to be added
:param list rm_scopes: (optional), scopes to be removed
:param str note: (optional), new note about authorization
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.