sequence
stringlengths
731
13.6k
docstring
stringlengths
11
171
(module (function_definition (function_name_itermonthdays) function_name_itermonthdays (parameters (identifier_cls) identifier_cls (identifier_year) identifier_year (identifier_month) identifier_month )parameters (block (for_statement (identifier_day) identifier_day ...
Similar to itermonthdates but returns day number instead of NepDate object
(module (function_definition (function_name_reduce) function_name_reduce (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_support) identifier_support (call (identifier_frozenset) identifie...
Reduce to a canonical form.
(module (function_definition (function_name_signals) function_name_signals (parameters (identifier_self) identifier_self (default_parameter (identifier_signals) identifier_signals (tuple (string_'QUIT') string_'QUIT' (string_'USR1') string_'USR1' (stri...
Register our signal handler
(module (function_definition (function_name_ensure_iam) function_name_ensure_iam (parameters (identifier_self) identifier_self (default_parameter (identifier_publisher) identifier_publisher (None) None )default_parameter )parameters (block (expression_statement ...
Ensure the given identities are in the iam role bindings for the topic.
(module (function_definition (function_name_update_active) function_name_update_active (parameters (identifier_self) identifier_self )parameters (block (if_statement (comparison_operator (attribute (identifier_self) identifier_self (identifier_acti...
Update the active marker on the marker Canvas
(module (function_definition (function_name__symbolic_product_helper) function_name__symbolic_product_helper (parameters )parameters (block (import_from_statement (dotted_name (identifier_sympy) identifier_sympy )dotted_name (dotted_name (identifier_sy...
Use SymPy to generate the 3D products for diffusion_stencil_3d.
(module (function_definition (function_name_SetValue) function_name_SetValue (parameters (identifier_self) identifier_self (identifier_row) identifier_row (identifier_col) identifier_col (identifier_value) identifier_value (default_parameter (identifier_refresh) identifie...
Set the value of a cell, merge line breaks
(module (function_definition (function_name_memoize) function_name_memoize (parameters (identifier_f) identifier_f )parameters (block (decorated_definition (decorator (call (identifier_wraps) identifier_wraps (argument_list (identifie...
Cache value returned by the function.
(module (function_definition (function_name_make_end_to_end_distance_plot) function_name_make_end_to_end_distance_plot (parameters (identifier_nb_segments) identifier_nb_segments (identifier_end_to_end_distance) identifier_end_to_end_distance (identifier_neurite_type) identifier_neurite_type...
Plot end-to-end distance vs number of segments
(module (function_definition (function_name_print_col_perc_table) function_name_print_col_perc_table (parameters (identifier_table) identifier_table (identifier_row_labels) identifier_row_labels (identifier_col_labels) identifier_col_labels )parameters (block (expression_statem...
given a table, print the cols as percentages
(module (function_definition (function_name_handle_finish) function_name_handle_finish (parameters (identifier_queue_name) identifier_queue_name )parameters (block (expression_statement (assignment (identifier_task_id) identifier_task_id (call (attri...
Marks a task on a queue as finished.
(module (function_definition (function_name_pub) function_name_pub (parameters (identifier_self) identifier_self (identifier_topic) identifier_topic (identifier_message) identifier_message )parameters (block (with_statement (with_clause (with_item ...
Publish the provided message to the provided topic
(module (function_definition (function_name_serve) function_name_serve (parameters (identifier_opts) identifier_opts )parameters (block (expression_statement (assignment (identifier_resources) identifier_resources (call (identifier__load) identifier_...
Run a light-weight HTTP server hosting previously mirrored resources
(module (function_definition (function_name__check_y) function_name__check_y (parameters (identifier_y) identifier_y )parameters (block (if_statement (not_operator (call (identifier_isinstance) identifier_isinstance (argument_list (id...
Makes sure a `y` argument is a vliad numpy dataset.
(module (function_definition (function_name_cross_entropy_error) function_name_cross_entropy_error (parameters (identifier_self) identifier_self (identifier_input_data) identifier_input_data (identifier_targets) identifier_targets (default_parameter (identifier_average) identif...
Return the cross entropy error
(module (function_definition (function_name_new_bundle) function_name_new_bundle (parameters (identifier_self) identifier_self (typed_parameter (identifier_name) identifier_name (type (identifier_str) identifier_str )type )typed_parameter (typed_defaul...
Create a new file bundle.
(module (function_definition (function_name_OnContextMenu) function_name_OnContextMenu (parameters (identifier_self) identifier_self (identifier_event) identifier_event )parameters (block (expression_statement (call (attribute (attribute (i...
Context menu event handler
(module (function_definition (function_name_format_installed_dap_list) function_name_format_installed_dap_list (parameters (default_parameter (identifier_simple) identifier_simple (False) False )default_parameter )parameters (block (expression_statement (assig...
Formats all installed DAPs in a human readable form to list of lines
(module (function_definition (function_name_ensure_annotations) function_name_ensure_annotations (parameters (identifier_resources) identifier_resources (identifier_data) identifier_data )parameters (block (expression_statement (assignment (identifier_transcript_gff...
Prepare any potentially missing annotations for downstream processing in a local directory.
(module (function_definition (function_name_pw_compare_class_sets) function_name_pw_compare_class_sets (parameters (identifier_self) identifier_self (typed_parameter (identifier_cset1) identifier_cset1 (type (generic_type (identifier_Set) identifier_Set ...
Compare two class profiles
(module (function_definition (function_name__attach_obj) function_name__attach_obj (parameters (identifier_self) identifier_self (identifier_req) identifier_req (identifier_obj) identifier_obj )parameters (block (expression_statement (call (attribute ...
Helper method to attach obj to req as JSON data.
(module (function_definition (function_name_process_view) function_name_process_view (parameters (identifier_self) identifier_self (identifier_request) identifier_request (identifier_view_func) identifier_view_func (identifier_view_args) identifier_view_args (identifier_view_kwar...
Collect data on Class-Based Views
(module (function_definition (function_name_humanTimeConverter) function_name_humanTimeConverter (parameters )parameters (block (if_statement (comparison_operator (call (identifier_len) identifier_len (argument_list (attribute ...
Cope whether we're passed a time in seconds on the command line or via stdin
(module (function_definition (function_name__add_get_tracking_url) function_name__add_get_tracking_url (parameters (identifier_cls) identifier_cls )parameters (block (function_definition (function_name_get_tracking_url) function_name_get_tracking_url (parameters (...
Add a method to get the tracking url of an object.
(module (function_definition (function_name__update_color_rgb) function_name__update_color_rgb (parameters (identifier_self) identifier_self (default_parameter (identifier_event) identifier_event (None) None )default_parameter )parameters (block (if_statement ...
Update display after a change in the RGB spinboxes.
(module (function_definition (function_name_isHereDoc) function_name_isHereDoc (parameters (identifier_self) identifier_self (identifier_block) identifier_block (identifier_column) identifier_column )parameters (block (expression_statement (assignment (identif...
Check if character at column is a here document
(module (function_definition (function_name__query_uncompressed) function_name__query_uncompressed (parameters (identifier_options) identifier_options (identifier_collection_name) identifier_collection_name (identifier_num_to_skip) identifier_num_to_skip (identifier_num_to_return) iden...
Internal query message helper.
(module (function_definition (function_name_authenticate) function_name_authenticate (parameters (identifier_self) identifier_self (identifier_username) identifier_username (identifier_password) identifier_password )parameters (block (if_statement (boolean_operator ...
Authenticate the user with a bind on the LDAP server
(module (function_definition (function_name_enable_mesos_basic_authentication) function_name_enable_mesos_basic_authentication (parameters (identifier_principal) identifier_principal (identifier_password) identifier_password )parameters (block (expression_statement (assignmen...
enables and adds a new authorized principal
(module (function_definition (function_name_find_packages) function_name_find_packages (parameters (identifier_name) identifier_name (identifier_pkg_dir) identifier_pkg_dir )parameters (block (for_statement (identifier_c) identifier_c (tuple (identifier_File...
Locate pre-built packages in the _packages directory
(module (function_definition (function_name_import_usr_dir) function_name_import_usr_dir (parameters (identifier_usr_dir) identifier_usr_dir )parameters (block (if_statement (not_operator (identifier_usr_dir) identifier_usr_dir )not_operator (block ...
Import module at usr_dir, if provided.
(module (function_definition (function_name__to_desired_dates) function_name__to_desired_dates (parameters (identifier_self) identifier_self (identifier_arr) identifier_arr )parameters (block (expression_statement (assignment (identifier_times) identifier_times ...
Restrict the xarray DataArray or Dataset to the desired months.
(module (function_definition (function_name_remove_user) function_name_remove_user (parameters (identifier_self) identifier_self (identifier_username) identifier_username )parameters (block (expression_statement (assignment (identifier_client_facade) identifier_clie...
Remove a user from this controller.
(module (function_definition (function_name__get_asset) function_name__get_asset (parameters (identifier_self) identifier_self (identifier_asset_uid) identifier_asset_uid )parameters (block (expression_statement (assignment (identifier_uri) identifier_uri ...
Returns raw response for an given asset by its unique id.
(module (function_definition (function_name_pop_range) function_name_pop_range (parameters (identifier_self) identifier_self (identifier_start) identifier_start (default_parameter (identifier_stop) identifier_stop (None) None )default_parameter (default_parameter ...
Remove and return a range from the ordered set by score.
(module (function_definition (function_name_post_message) function_name_post_message (parameters (identifier_self) identifier_self (identifier_msg) identifier_msg )parameters (block (expression_statement (call (attribute (call (identifier_s...
add timestamp to message
(module (function_definition (function_name_use_plenary_grade_system_view) function_name_use_plenary_grade_system_view (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (subscript (attribute (ident...
Pass through to provider GradeSystemLookupSession.use_plenary_grade_system_view
(module (function_definition (function_name_serve) function_name_serve (parameters (identifier_self) identifier_self (default_parameter (identifier_host) identifier_host (string_'127.0.0.1') string_'127.0.0.1' )default_parameter (default_parameter (identifier_po...
Serve predictions as an API endpoint.
(module (function_definition (function_name_paragraph) function_name_paragraph (parameters (identifier_node) identifier_node )parameters (block (expression_statement (assignment (identifier_text) identifier_text (string_'') string_'' )assignment )e...
Process a paragraph, which includes all content under it
(module (function_definition (function_name_usergroups_list) function_name_usergroups_list (parameters (identifier_self) identifier_self (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictionary_splat_pattern )parameters (type (identifier_SlackResponse...
List all User Groups for a team
(module (function_definition (function_name_count) function_name_count (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_cursor) identifier_cursor (call (attribute (attribute ...
Return the number of events in the db.
(module (function_definition (function_name_copy_path_to_clipboard) function_name_copy_path_to_clipboard (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_path) identifier_path (call (attri...
Copies the file path to the clipboard
(module (function_definition (function_name_increment) function_name_increment (parameters (identifier_self) identifier_self (typed_parameter (identifier_key) identifier_key (type (identifier_Any) identifier_Any )type )typed_parameter (typed_default_pa...
Increments the value set against a key. If the key is not present, 0 is assumed as the initial state
(module (function_definition (function_name__get_project_types) function_name__get_project_types (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_project_types) identifier_project_types (call ...
Get all available project types.
(module (function_definition (function_name_make_dir) function_name_make_dir (parameters (identifier_cls) identifier_cls (identifier_directory_name) identifier_directory_name )parameters (block (if_statement (not_operator (call (attribute (...
Create a directory in the system
(module (function_definition (function_name_validate) function_name_validate (parameters (identifier_self) identifier_self (identifier_value) identifier_value )parameters (block (if_statement (boolean_operator (not_operator (call (identifie...
Make sure that the inspected value is of type `list` or `tuple`
(module (function_definition (function_name_tcp_receive) function_name_tcp_receive (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_data) identifier_data (call (attribute (at...
Receive data from TCP port.
(module (function_definition (function_name_do_GET) function_name_do_GET (parameters (identifier_self) identifier_self )parameters (block (if_statement (not_operator (call (attribute (identifier_self) identifier_self (identifier__cl...
GET method implementation for BaseHTTPRequestHandler.
(module (function_definition (function_name__get_deadline) function_name__get_deadline (parameters (identifier_results) identifier_results (default_parameter (identifier_timeout) identifier_timeout (None) None )default_parameter )parameters (block (expression_st...
returns the earliest deadline point in time
(module (function_definition (function_name__make_parser) function_name__make_parser (parameters (identifier_streamer) identifier_streamer (identifier_the_struct) identifier_the_struct )parameters (block (expression_statement (string_"Return a function that parses the given s...
Return a function that parses the given structure into a dict
(module (function_definition (function_name_plot_losses) function_name_plot_losses (parameters (identifier_self) identifier_self (typed_default_parameter (identifier_skip_start) identifier_skip_start (type (identifier_int) identifier_int )type (integer_0) ...
Plot training and validation losses.
(module (function_definition (function_name_getSheet) function_name_getSheet (parameters (default_parameter (identifier_book) identifier_book (None) None )default_parameter (default_parameter (identifier_sheet) identifier_sheet (None) None )default_param...
returns the pyorigin object for a sheet.
(module (function_definition (function_name_on_pubmsg) function_name_on_pubmsg (parameters (identifier_self) identifier_self (identifier_connection) identifier_connection (identifier_event) identifier_event )parameters (block (for_statement (identifier_message) identifi...
Log any public messages, and also handle the command event.
(module (function_definition (function_name_catch_error) function_name_catch_error (parameters (identifier_func) identifier_func )parameters (block (import_statement (dotted_name (identifier_amqp) identifier_amqp )dotted_name )import_statement (try_sta...
Catch errors of rabbitmq then reconnect
(module (function_definition (function_name_unlock) function_name_unlock (parameters (identifier_self) identifier_self )parameters (block (if_statement (not_operator (call (identifier_hasattr) identifier_hasattr (argument_list (identi...
Closes the session to the database.
(module (function_definition (function_name_replay_data) function_name_replay_data (parameters (identifier_self) identifier_self (identifier_replay_path) identifier_replay_path )parameters (block (with_statement (with_clause (with_item (as_pattern ...
Return the replay data given a path to the replay.
(module (function_definition (function_name_are_plugins_in_order) function_name_are_plugins_in_order (parameters (identifier_plugins_conf) identifier_plugins_conf (list_splat_pattern (identifier_plugins_names) identifier_plugins_names )list_splat_pattern )parameters (block ...
Check if plugins are configured in given order.
(module (function_definition (function_name__get) function_name__get (parameters (identifier_self) identifier_self (identifier_url) identifier_url (default_parameter (identifier_query) identifier_query (None) None )default_parameter (dictionary_splat_pattern ...
Wrapper for the HTTP GET request.
(module (function_definition (function_name_BIF_templates) function_name_BIF_templates (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_network_template) identifier_network_template (call ...
Create template for writing in BIF format
(module (function_definition (function_name_on_top_level_changed) function_name_on_top_level_changed (parameters (identifier_self) identifier_self (identifier_top_level) identifier_top_level )parameters (block (if_statement (identifier_top_level) identifier_top_level ...
Actions to perform when a plugin is undocked to be moved.
(module (function_definition (function_name_add_capability) function_name_add_capability (parameters (identifier_self) identifier_self (identifier_cls) identifier_cls )parameters (block (if_statement (identifier__debug) identifier__debug (block (expression_s...
Add a capability to this object.
(module (function_definition (function_name_should_stop_early) function_name_should_stop_early (parameters (identifier_self) identifier_self )parameters (type (identifier_bool) identifier_bool )type (block (if_statement (comparison_operator (attribute ...
Returns true if improvement has stopped for long enough.
(module (function_definition (function_name_reload_sources) function_name_reload_sources (parameters (identifier_self) identifier_self (identifier_names) identifier_names )parameters (block (try_statement (block (expression_statement (call ...
Recompute the source map for a list of sources in the model.
(module (function_definition (function_name_units) function_name_units (parameters (identifier_self) identifier_self (identifier_varname) identifier_varname )parameters (block (if_statement (not_operator (comparison_operator (identifier_varname) identifi...
return the default units of a variable
(module (function_definition (function_name__checkAndConvertIndex) function_name__checkAndConvertIndex (parameters (identifier_self) identifier_self (identifier_index) identifier_index )parameters (block (if_statement (comparison_operator (identifier_index) identifi...
Check integer index, convert from less than zero notation
(module (function_definition (function_name_download_content_gui) function_name_download_content_gui (parameters (dictionary_splat_pattern (identifier_args) identifier_args )dictionary_splat_pattern )parameters (block (global_statement (identifier_row) identifier_row ...
function to fetch links and download them
(module (function_definition (function_name_hash_key) function_name_hash_key (parameters (identifier_self) identifier_self (identifier_key) identifier_key )parameters (block (for_statement (pattern_list (identifier_i) identifier_i (identifier_destination_k...
"Hash" all keys in a timerange to the same value.
(module (function_definition (function_name_OnAttributesToolbarToggle) function_name_OnAttributesToolbarToggle (parameters (identifier_self) identifier_self (identifier_event) identifier_event )parameters (block (expression_statement (call (attribute (at...
Format toolbar toggle event handler
(module (function_definition (function_name_encode) function_name_encode (parameters (identifier_self) identifier_self (identifier_value) identifier_value )parameters (block (if_statement (boolean_operator (boolean_operator (comparison_operator ...
Encodes the given value according to this FieldDefinition.
(module (function_definition (function_name_load_search_space) function_name_load_search_space (parameters (identifier_path) identifier_path )parameters (block (expression_statement (assignment (identifier_content) identifier_content (call (attribute...
load search space content
(module (function_definition (function_name_start) function_name_start (parameters (identifier_self) identifier_self (list_splat_pattern (identifier_args) identifier_args )list_splat_pattern (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictiona...
Start execution of the function.
(module (function_definition (function_name_edit) function_name_edit (parameters (identifier_community) identifier_community )parameters (block (expression_statement (assignment (identifier_form) identifier_form (call (identifier_EditCommunityForm) i...
Create or edit a community.
(module (function_definition (function_name_wait_for_relation) function_name_wait_for_relation (parameters (identifier_service_name) identifier_service_name (identifier_relation_name) identifier_relation_name (default_parameter (identifier_timeout) identifier_timeout (integer...
Wait `timeout` seconds for a given relation to come up.
(module (function_definition (function_name__get_data_attr) function_name__get_data_attr (parameters (identifier_data) identifier_data (identifier_attr) identifier_attr )parameters (block (if_statement (call (identifier_isinstance) identifier_isinstance (a...
Get data object field.
(module (function_definition (function_name_add_reader) function_name_add_reader (parameters (identifier_self) identifier_self (identifier_fd) identifier_fd (identifier_callback) identifier_callback )parameters (block (expression_statement (string_" Start watching the f...
Start watching the file descriptor for read availability.
(module (function_definition (function_name__find_usage_instances) function_name__find_usage_instances (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_paginator) identifier_paginator (call ...
find usage for DB Instances and related limits
(module (function_definition (function_name_convert) function_name_convert (parameters (identifier_cls) identifier_cls (identifier_record) identifier_record )parameters (block (if_statement (call (identifier_isinstance) identifier_isinstance (argument_list...
Converts a single dictionary or list of dictionaries into converted list of dictionaries.
(module (function_definition (function_name__pid_to_id) function_name__pid_to_id (parameters (identifier_self) identifier_self (identifier_pid) identifier_pid )parameters (block (return_statement (call (attribute (attribute (identifier_d1_c...
Converts a pid to a URI that can be used as an OAI-ORE identifier.
(module (function_definition (function_name__getEventsByDay) function_name__getEventsByDay (parameters (identifier_self) identifier_self (identifier_request) identifier_request (identifier_firstDay) identifier_firstDay (identifier_lastDay) identifier_lastDay )parameters (block ...
Return my child events for the dates given, grouped by day.
(module (function_definition (function_name_update_command) function_name_update_command (parameters (identifier_args) identifier_args )parameters (block (expression_statement (assignment (identifier_updated) identifier_updated (call (identifier_upda...
Updates all dependencies the specified requirements file.
(module (function_definition (function_name__SafeEncodeBytes) function_name__SafeEncodeBytes (parameters (identifier_field) identifier_field (identifier_value) identifier_value )parameters (block (try_statement (block (if_statement (attribute ...
Encode the bytes in value as urlsafe base64.
(module (function_definition (function_name_remove_external_references_from_srl_layer) function_name_remove_external_references_from_srl_layer (parameters (identifier_self) identifier_self )parameters (block (if_statement (comparison_operator (attribute (ident...
Removes all external references present in the term layer
(module (function_definition (function_name_light) function_name_light (parameters (identifier_cls) identifier_cls )parameters (block (expression_statement (string_"Make the current foreground color light.") string_"Make the current foreground color light." )expression_statem...
Make the current foreground color light.
(module (function_definition (function_name__add_header_domains_xml) function_name__add_header_domains_xml (parameters (identifier_self) identifier_self (identifier_document) identifier_document )parameters (block (for_statement (pattern_list (identifier_domain) ide...
Generates the XML elements for allowed header domains.
(module (function_definition (function_name_update_entries) function_name_update_entries (parameters (typed_parameter (identifier_entries) identifier_entries (type (identifier_Entries) identifier_Entries )type )typed_parameter (typed_parameter (ident...
Update each entry in the list with some data.
(module (function_definition (function_name_build) function_name_build (parameters (identifier_self) identifier_self )parameters (type (identifier_Application) identifier_Application )type (block (expression_statement (assignment (identifier_pipelines) ident...
Put the application together.
(module (function_definition (function_name__get_stream) function_name__get_stream (parameters (identifier_self) identifier_self )parameters (type (identifier_Iterator) identifier_Iterator )type (block (if_statement (comparison_operator (attribute ...
Possibly create and return raw dataset stream iterator.
(module (function_definition (function_name_read_mac) function_name_read_mac (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_words) identifier_words (list (call (attribute ...
Read MAC from EFUSE region
(module (function_definition (function_name_timestep_text) function_name_timestep_text (parameters (identifier_self) identifier_self )parameters (block (if_statement (comparison_operator (attribute (attribute (attribute (identifie...
Return a text string representing the timestep of the collection.
(module (function_definition (function_name__send) function_name__send (parameters (identifier_self) identifier_self )parameters (block (while_statement (comparison_operator (call (identifier_len) identifier_len (argument_list (attrib...
Take metrics from queue and send it to Datadog API
(module (function_definition (function_name_paired_paths) function_name_paired_paths (parameters (identifier_main_path) identifier_main_path (identifier_fmt) identifier_fmt (identifier_formats) identifier_formats )parameters (block (if_statement (not_operator ...
Return the list of paired notebooks, given main path, and the list of formats
(module (function_definition (function_name_doc_open) function_name_doc_open (parameters )parameters (block (expression_statement (assignment (identifier_doc_index) identifier_doc_index (call (attribute (attribute (identifier_...
Build the HTML docs and open them in a web browser.
(module (function_definition (function_name__bpe_to_words) function_name__bpe_to_words (parameters (identifier_sentence) identifier_sentence (default_parameter (identifier_delimiter) identifier_delimiter (string_'@@') string_'@@' )default_parameter )parameters (block ...
Convert a sequence of bpe words into sentence.
(module (function_definition (function_name_q) function_name_q (parameters (identifier_self) identifier_self (identifier_val) identifier_val )parameters (block (expression_statement (assignment (attribute (identifier_self) identifier_self (id...
Setter method for q.
(module (function_definition (function_name_diff) function_name_diff (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (attribute (identifier_self) identifier_self (identifier__copyfiles) identifier_...
Only report difference in content between two directories
(module (function_definition (function_name_init) function_name_init (parameters (identifier_self) identifier_self (identifier_aggregators) identifier_aggregators )parameters (block (assert_statement (comparison_operator (call (identifier_len) identifier...
Deferred init so that we can pass in previously created workers.
(module (function_definition (function_name_largest_indices) function_name_largest_indices (parameters (identifier_arr) identifier_arr (identifier_n) identifier_n )parameters (block (expression_statement (string_"Returns the `n` largest indices from a numpy array `arr`.") str...
Returns the `n` largest indices from a numpy array `arr`.
(module (function_definition (function_name_show_setup) function_name_show_setup (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_shell) identifier_shell (call (attribute (id...
Provide a helper script for the user to setup completion.
(module (function_definition (function_name_apis) function_name_apis (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_value) identifier_value (subscript (attribute (identifie...
List of API to test
(module (function_definition (function_name_lookup_dirent) function_name_lookup_dirent (parameters (identifier_event) identifier_event (identifier_filesystem_content) identifier_filesystem_content (identifier_journal_content) identifier_journal_content )parameters (block (for_s...
Lookup the dirent given a journal event.