sequence
stringlengths
388
5.57k
docstring
stringlengths
11
171
0 module [1];1 function_definition [2,3,5];2 function_name [] pretty_unicode;3 parameters [4];4 identifier [] string;5 block [6,17];6 if_statement [7,14];7 call [8,9];8 identifier [] isinstance;9 argument_list [10,11];10 identifier [] string;11 attribute [12,13];12 identifier [] six;13 identifier [] text_type;14 block ...
Make sure string is unicode, try to decode with utf8, or unicode escaped string if failed.
0 module [1];1 function_definition [2,3,7];2 function_name [] default_endpoint;3 parameters [4,5,6];4 identifier [] ctx;5 identifier [] param;6 identifier [] value;7 block [8,14,22,32,44];8 if_statement [9,12];9 attribute [10,11];10 identifier [] ctx;11 identifier [] resilient_parsing;12 block [13];13 return_statement ...
Return default endpoint if specified.
0 module [1];1 function_definition [2,3,9];2 function_name [] imethodcallPayload;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] methodname;6 identifier [] localnsp;7 dictionary_splat_pattern [8];8 identifier [] kwargs;9 block [10,37,86];10 expression_statement [11];11 assignment [12,13];12 identifier [] pa...
Generate the XML payload for an intrinsic methodcall.
0 module [1];1 function_definition [2,3,7];2 function_name [] _find_value;3 parameters [4,5];4 identifier [] key;5 list_splat_pattern [6];6 identifier [] args;7 block [8];8 for_statement [9,10,11];9 identifier [] arg;10 identifier [] args;11 block [12,20];12 expression_statement [13];13 assignment [14,15];14 identifier...
Find a value for 'key' in any of the objects given as 'args
0 module [1];1 function_definition [2,3,5];2 function_name [] _on_state_changed;3 parameters [4];4 identifier [] self;5 block [6,16];6 expression_statement [7];7 assignment [8,11];8 pattern_list [9,10];9 identifier [] raw_state;10 identifier [] generation;11 attribute [12,15];12 attribute [13,14];13 identifier [] self;...
Invoked when the viewer state changes.
0 module [1];1 function_definition [2,3,6];2 function_name [] write_sampler_metadata;3 parameters [4,5];4 identifier [] self;5 identifier [] sampler;6 block [7,18];7 expression_statement [8];8 call [9,16];9 attribute [10,15];10 call [11,12];11 identifier [] super;12 argument_list [13,14];13 identifier [] EmceePTFile;14...
Adds writing betas to MultiTemperedMCMCIO.
0 module [1];1 function_definition [2,3,5];2 function_name [] hostname;3 parameters [4];4 identifier [] self;5 block [6,14];6 import_from_statement [7,12];7 dotted_name [8,9,10,11];8 identifier [] six;9 identifier [] moves;10 identifier [] urllib;11 identifier [] parse;12 dotted_name [13];13 identifier [] urlparse;14 r...
Get the hostname that this connection is associated with
0 module [1];1 function_definition [2,3,5];2 function_name [] _make_c_string;3 parameters [4];4 identifier [] string;5 block [6];6 if_statement [7,12,38];7 call [8,9];8 identifier [] isinstance;9 argument_list [10,11];10 identifier [] string;11 identifier [] bytes;12 block [13];13 try_statement [14,26];14 block [15,22]...
Make a 'C' string.
0 module [1];1 function_definition [2,3,7];2 function_name [] _add_to_checksum;3 parameters [4,5,6];4 identifier [] self;5 identifier [] checksum;6 identifier [] value;7 block [8,18,24,36,56];8 expression_statement [9];9 assignment [10,11];10 identifier [] checksum;11 call [12,15];12 attribute [13,14];13 identifier [] ...
Add a byte to the checksum.
0 module [1];1 function_definition [2,3,4];2 function_name [] register_builtin_message_types;3 parameters [];4 block [5,12,21];5 import_from_statement [6,10];6 relative_import [7,8];7 import_prefix [];8 dotted_name [9];9 identifier [] plain;10 dotted_name [11];11 identifier [] PlainTextMessage;12 import_from_statement ...
Registers the built-in message types.
0 module [1];1 function_definition [2,3,8];2 function_name [] load;3 parameters [4,5];4 identifier [] self;5 default_parameter [6,7];6 identifier [] rel_path;7 None [];8 block [9];9 for_statement [10,13,20];10 pattern_list [11,12];11 identifier [] k;12 identifier [] v;13 call [14,19];14 attribute [15,18];15 attribute [...
Add sim_src to layer.
0 module [1];1 function_definition [2,3,7];2 function_name [] rename_page;3 parameters [4,5,6];4 identifier [] self;5 identifier [] old_slug;6 identifier [] new_title;7 block [8,21];8 expression_statement [9];9 assignment [10,11];10 identifier [] p;11 call [12,15];12 attribute [13,14];13 identifier [] s2page;14 identif...
Load the page corresponding to the slug, and rename it.
0 module [1];1 function_definition [2,3,10];2 function_name [] _ssh_master_cmd;3 parameters [4,5,6,7];4 identifier [] addr;5 identifier [] user;6 identifier [] command;7 default_parameter [8,9];8 identifier [] local_key;9 None [];10 block [11,38,57];11 expression_statement [12];12 assignment [13,14];13 identifier [] ss...
Exit or check ssh mux
0 module [1];1 function_definition [2,3,24];2 function_name [] find_by_reference_ids;3 parameters [4,5,8,11,14,19];4 identifier [] reference_ids;5 default_parameter [6,7];6 identifier [] _connection;7 None [];8 default_parameter [9,10];9 identifier [] page_size;10 integer [] 100;11 default_parameter [12,13];12 identifi...
List all videos identified by a list of reference ids
0 module [1];1 function_definition [2,3,8];2 function_name [] FDMT_params;3 parameters [4,5,6,7];4 identifier [] f_min;5 identifier [] f_max;6 identifier [] maxDT;7 identifier [] inttime;8 block [9,31];9 expression_statement [10];10 assignment [11,12];11 identifier [] maxDM;12 binary_operator [13,16] /;13 binary_operat...
Summarize DM grid and other parameters.
0 module [1];1 function_definition [2,3,6];2 function_name [] cli;3 parameters [4,5];4 identifier [] env;5 identifier [] identifier;6 block [7,18,31,40,51,72];7 expression_statement [8];8 assignment [9,10];9 identifier [] vsi;10 call [11,14];11 attribute [12,13];12 identifier [] SoftLayer;13 identifier [] VSManager;14 ...
List virtual server credentials.
0 module [1];1 function_definition [2,3,5];2 function_name [] middleware;3 parameters [4];4 identifier [] func;5 block [6,92];6 decorated_definition [7,12];7 decorator [8];8 call [9,10];9 identifier [] wraps;10 argument_list [11];11 identifier [] func;12 function_definition [13,14,19];13 function_name [] parse;14 param...
Executes routes.py route middleware
0 module [1];1 function_definition [2,3,6];2 function_name [] format_platforms;3 parameters [4,5];4 identifier [] cls;5 identifier [] platforms;6 block [7,11,34];7 expression_statement [8];8 assignment [9,10];9 identifier [] lines;10 list [] [];11 if_statement [12,13];12 identifier [] platforms;13 block [14,21];14 expr...
Formats supported platforms in human readable form
0 module [1];1 function_definition [2,3,6];2 function_name [] _load_file;3 parameters [4,5];4 identifier [] self;5 identifier [] f;6 block [7,47];7 try_statement [8,39];8 block [9];9 with_statement [10,20];10 with_clause [11];11 with_item [12];12 as_pattern [13,18];13 call [14,15];14 identifier [] open;15 argument_list...
Get values from config file
0 module [1];1 function_definition [2,3,5];2 function_name [] _init_ca;3 parameters [4];4 identifier [] self;5 block [6,51,96,116,144,158];6 if_statement [7,18];7 not_operator [8];8 call [9,10];9 identifier [] exists;10 argument_list [11];11 call [12,13];12 identifier [] path_join;13 argument_list [14,17];14 attribute ...
Generate the root ca's cert and key.
0 module [1];1 function_definition [2,3,5];2 function_name [] refresh;3 parameters [4];4 identifier [] self;5 block [6,18];6 for_statement [7,8,11];7 identifier [] cbar;8 attribute [9,10];9 identifier [] self;10 identifier [] colorbars;11 block [12];12 expression_statement [13];13 call [14,17];14 attribute [15,16];15 i...
Refresh the current figure
0 module [1];1 function_definition [2,3,4];2 function_name [] validate_schedule;3 parameters [];4 block [5,11,15,35,41,61];5 expression_statement [6];6 assignment [7,8];7 identifier [] all_items;8 call [9,10];9 identifier [] prefetch_schedule_items;10 argument_list [];11 expression_statement [12];12 assignment [13,14];...
Helper routine to report issues with the schedule
0 module [1];1 function_definition [2,3,5];2 function_name [] constant_jump_targets_and_jumpkinds;3 parameters [4];4 identifier [] self;5 block [6,12,38,44,57];6 expression_statement [7];7 assignment [8,9];8 identifier [] exits;9 call [10,11];10 identifier [] dict;11 argument_list [];12 if_statement [13,16];13 attribut...
A dict of the static jump targets of the basic block to their jumpkind.
0 module [1];1 function_definition [2,3,4];2 function_name [] cli_main;3 parameters [];4 block [5,11,19,29];5 expression_statement [6];6 call [7,10];7 attribute [8,9];8 identifier [] SearchContext;9 identifier [] commit;10 argument_list [];11 expression_statement [12];12 assignment [13,14];13 identifier [] args;14 call...
cli entrypoitns, sets up everything needed
0 module [1];1 function_definition [2,3,5];2 function_name [] install_package_command;3 parameters [4];4 identifier [] package_name;5 block [6,33];6 if_statement [7,12,22];7 comparison_operator [8,11] ==;8 attribute [9,10];9 identifier [] sys;10 identifier [] platform;11 string [] win32;12 block [13];13 expression_stat...
install python package from pip
0 module [1];1 function_definition [2,3,22,24];2 function_name [] _add_comments;3 parameters [4,5,17];4 identifier [] self;5 typed_parameter [6,7];6 identifier [] comments;7 type [8];8 generic_type [9,10];9 identifier [] Optional;10 type_parameter [11];11 type [12];12 generic_type [13,14];13 identifier [] Sequence;14 t...
Returns a string with comments added if ignore_comments is not set.
0 module [1];1 function_definition [2,3,9];2 function_name [] add;3 parameters [4,5,6];4 identifier [] self;5 identifier [] name;6 default_parameter [7,8];7 identifier [] obj;8 None [];9 block [10,39];10 if_statement [11,12,25];11 identifier [] obj;12 block [13];13 expression_statement [14];14 assignment [15,16];15 ide...
Add the view named `name` to the report text
0 module [1];1 function_definition [2,3,9,17];2 function_name [] api_routes;3 parameters [4,5];4 identifier [] self;5 typed_parameter [6,7];6 identifier [] callsign;7 type [8];8 identifier [] str;9 type [10];10 generic_type [11,12];11 identifier [] Tuple;12 type_parameter [13,15];13 type [14];14 identifier [] Airport;1...
Returns the route associated to a callsign.
0 module [1];1 function_definition [2,3,5];2 function_name [] getSearch;3 parameters [4];4 identifier [] self;5 block [6];6 return_statement [7];7 call [8,9];8 identifier [] Search;9 argument_list [10,15];10 call [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] getColumns;14 argument_list [];15 binar...
Returns the search capability.
0 module [1];1 function_definition [2,3,10];2 function_name [] logFile;3 parameters [4,5];4 identifier [] fileName;5 default_parameter [6,7];6 identifier [] printFunction;7 attribute [8,9];8 identifier [] logger;9 identifier [] info;10 block [11,18,30,38,46,85];11 expression_statement [12];12 call [13,14];13 identifier...
Writes out a formatted version of the given log file
0 module [1];1 function_definition [2,3,4];2 function_name [] _initialize_logging;3 parameters [];4 block [5,36];5 if_statement [6,23];6 boolean_operator [7,14] or;7 call [8,13];8 attribute [9,12];9 attribute [10,11];10 identifier [] sys;11 identifier [] stdout;12 identifier [] isatty;13 argument_list [];14 comparison_...
Initializes the Application logging.
0 module [1];1 function_definition [2,3,6];2 function_name [] remove;3 parameters [4,5];4 identifier [] self;5 identifier [] list;6 block [7,23,36];7 expression_statement [8];8 assignment [9,10];9 identifier [] xml;10 call [11,14];11 attribute [12,13];12 identifier [] SP;13 identifier [] DeleteList;14 argument_list [15...
Removes a list from the site.
0 module [1];1 function_definition [2,3,24];2 function_name [] gan_critic;3 parameters [4,9,14,19];4 typed_default_parameter [5,6,8];5 identifier [] n_channels;6 type [7];7 identifier [] int;8 integer [] 3;9 typed_default_parameter [10,11,13];10 identifier [] nf;11 type [12];12 identifier [] int;13 integer [] 128;14 ty...
Critic to train a `GAN`.
0 module [1];1 function_definition [2,3,5];2 function_name [] collection_year;3 parameters [4];4 identifier [] soup;5 block [6,21,40,46,50,59,72];6 expression_statement [7];7 assignment [8,9];8 identifier [] pub_date;9 call [10,11];10 identifier [] first;11 argument_list [12];12 call [13,16];13 attribute [14,15];14 ide...
Pub date of type collection will hold a year element for VOR articles
0 module [1];1 function_definition [2,3,6];2 function_name [] do_visualize;3 parameters [4,5];4 identifier [] self;5 identifier [] line;6 block [7,20,28,48,51,67,77];7 if_statement [8,12];8 not_operator [9];9 attribute [10,11];10 identifier [] self;11 identifier [] current;12 block [13,19];13 expression_statement [14];...
Visualize an ontology - ie wrapper for export command
0 module [1];1 function_definition [2,3,5];2 function_name [] _print_bar;3 parameters [4];4 identifier [] self;5 block [6,13,88];6 expression_statement [7];7 call [8,11];8 attribute [9,10];9 identifier [] self;10 identifier [] _print;11 argument_list [12];12 string [] [;13 for_statement [14,15,21];14 identifier [] posi...
Print a progress bar.
0 module [1];1 function_definition [2,3,5];2 function_name [] run;3 parameters [4];4 identifier [] self;5 block [6];6 expression_statement [7];7 call [8,20];8 attribute [9,19];9 call [10,13];10 attribute [11,12];11 identifier [] luigi;12 identifier [] LocalTarget;13 argument_list [14];14 keyword_argument [15,16];15 ide...
Just copy the fixture, so we have some output.
0 module [1];1 function_definition [2,3,5];2 function_name [] parse_name;3 parameters [4];4 identifier [] parser;5 block [6,16];6 expression_statement [7];7 assignment [8,9];8 identifier [] token;9 call [10,11];10 identifier [] expect;11 argument_list [12,13];12 identifier [] parser;13 attribute [14,15];14 identifier [...
Converts a name lex token into a name parse node.
0 module [1];1 function_definition [2,3,7];2 function_name [] _repr_html_;3 parameters [4,5];4 identifier [] self;5 dictionary_splat_pattern [6];6 identifier [] kwargs;7 block [8,18,39,111];8 expression_statement [9];9 assignment [10,11];10 identifier [] html;11 call [12,15];12 attribute [13,14];13 identifier [] self;1...
Displays the Figure in a Jupyter notebook.
0 module [1];1 function_definition [2,3,6];2 function_name [] attach_method;3 parameters [4,5];4 identifier [] self;5 identifier [] resource_id;6 block [7];7 try_statement [8,104];8 block [9,40,51,79,90];9 expression_statement [10];10 assignment [11,12];11 identifier [] _response;12 call [13,18];13 attribute [14,17];14...
Attach the defined method.
0 module [1];1 function_definition [2,3,6];2 function_name [] create_dm_pkg;3 parameters [4,5];4 identifier [] secret;5 identifier [] username;6 block [7,16,25,29,59];7 expression_statement [8];8 assignment [9,10];9 identifier [] secret;10 call [11,14];11 attribute [12,13];12 identifier [] tools;13 identifier [] Encode...
create ikuai dm message
0 module [1];1 function_definition [2,3,9];2 function_name [] savetofile;3 parameters [4,5,6];4 identifier [] self;5 identifier [] filelike;6 default_parameter [7,8];7 identifier [] sortkey;8 True [];9 block [10];10 expression_statement [11];11 call [12,15];12 attribute [13,14];13 identifier [] filelike;14 identifier [...
Save configurations to a file-like object which supports `writelines`
0 module [1];1 function_definition [2,3,5];2 function_name [] secret_key_bytes;3 parameters [4];4 identifier [] self;5 block [6,47];6 if_statement [7,13];7 not_operator [8];8 call [9,10];9 identifier [] hasattr;10 argument_list [11,12];11 identifier [] self;12 string [] _secret_key_bytes;13 block [14,22];14 expression_...
Return the secret_key, converted to bytes and cached.
0 module [1];1 function_definition [2,3,7];2 function_name [] _update_method;3 parameters [4,5,6];4 identifier [] self;5 identifier [] oldmeth;6 identifier [] newmeth;7 block [8,62];8 if_statement [9,20,35];9 boolean_operator [10,15] and;10 call [11,12];11 identifier [] hasattr;12 argument_list [13,14];13 identifier []...
Update a method object.
0 module [1];1 function_definition [2,3,8];2 function_name [] _load_mol2;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] mol2_lines;6 identifier [] mol2_code;7 identifier [] columns;8 block [9,64,119];9 if_statement [10,13,22];10 comparison_operator [11,12] is;11 identifier [] columns;12 None [];13 block [1...
Load mol2 contents into assert_raise_message instance
0 module [1];1 function_definition [2,3,7];2 function_name [] filter_tasks;3 parameters [4,5,6];4 identifier [] self;5 identifier [] request;6 identifier [] context;7 block [8,14,25,31,43,52,61,78,92,128,154];8 expression_statement [9];9 call [10,11];10 identifier [] _log_request;11 argument_list [12,13];12 identifier ...
Filter tasks by matching patterns to name, routing key and state.
0 module [1];1 function_definition [2,3,12];2 function_name [] send_and_receive;3 parameters [4,5,6,9];4 identifier [] self;5 identifier [] message;6 default_parameter [7,8];7 identifier [] generate_identifier;8 True [];9 default_parameter [10,11];10 identifier [] timeout;11 integer [] 5;12 block [13,20,53,62];13 expre...
Send a message and wait for a response.
0 module [1];1 function_definition [2,3,5];2 function_name [] _keys_to_lower;3 parameters [4];4 identifier [] self;5 block [6];6 for_statement [7,8,16];7 identifier [] k;8 call [9,10];9 identifier [] list;10 argument_list [11];11 call [12,15];12 attribute [13,14];13 identifier [] self;14 identifier [] keys;15 argument_...
Convert key set to lowercase.
0 module [1];1 function_definition [2,3,7];2 function_name [] _icon_by_painter;3 parameters [4,5,6];4 identifier [] self;5 identifier [] painter;6 identifier [] options;7 block [8,17];8 expression_statement [9];9 assignment [10,11];10 identifier [] engine;11 call [12,13];12 identifier [] CharIconEngine;13 argument_list...
Return the icon corresponding to the given painter.
0 module [1];1 function_definition [2,3,9];2 function_name [] validate;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] value;6 identifier [] model_instance;7 dictionary_splat_pattern [8];8 identifier [] kwargs;9 block [10];10 expression_statement [11];11 call [12,19];12 attribute [13,18];13 call [14,17];14 ...
This follows the validate rules for choices_form_class field used.
0 module [1];1 function_definition [2,3,5];2 function_name [] _fill_capture_regions;3 parameters [4];4 identifier [] data;5 block [6,15,24,173];6 expression_statement [7];7 assignment [8,9];8 identifier [] special_targets;9 dictionary [10];10 pair [11,12];11 string [] sv_regions;12 tuple [13,14];13 string [] exons;14 s...
Fill short-hand specification of BED capture regions.
0 module [1];1 function_definition [2,3,5];2 function_name [] structured_iterator;3 parameters [4];4 identifier [] failure_lines;5 block [6,16,35];6 expression_statement [7];7 assignment [8,9];8 identifier [] summary;9 call [10,11];10 identifier [] partial;11 argument_list [12,13];12 identifier [] failure_line_summary;...
Create FailureLine, Tbpl-formatted-string tuples.
0 module [1];1 function_definition [2,3,9];2 function_name [] _next;3 parameters [4,5,6,7,8];4 identifier [] self;5 identifier [] request;6 identifier [] application;7 identifier [] roles;8 identifier [] next_config;9 block [10];10 if_statement [11,16,136];11 comparison_operator [12,15] ==;12 attribute [13,14];13 ident...
Continue the state machine at given state.
0 module [1];1 function_definition [2,3,5];2 function_name [] request_uri;3 parameters [4];4 identifier [] self;5 block [6,14,29];6 expression_statement [7];7 assignment [8,9];8 identifier [] uri;9 boolean_operator [10,13] or;10 attribute [11,12];11 identifier [] self;12 identifier [] path;13 string [] /;14 if_statemen...
Absolute path including the query string.
0 module [1];1 function_definition [2,3,32,34];2 function_name [] pack;3 parameters [4,8,18,27];4 typed_parameter [5,6];5 identifier [] field;6 type [7];7 identifier [] str;8 typed_parameter [9,10];9 identifier [] kwargs;10 type [11];11 generic_type [12,13];12 identifier [] Dict;13 type_parameter [14,16];14 type [15];1...
Util for joining multiple fields with commas
0 module [1];1 function_definition [2,3,6];2 function_name [] _from_dict;3 parameters [4,5];4 identifier [] cls;5 identifier [] _dict;6 block [7,11,34,57,80,103,119,135,161];7 expression_statement [8];8 assignment [9,10];9 identifier [] args;10 dictionary [];11 if_statement [12,15,27];12 comparison_operator [13,14] in;...
Initialize a Trait object from a json dictionary.
0 module [1];1 function_definition [2,3,5];2 function_name [] _key_to_address;3 parameters [4];4 identifier [] key;5 block [6,20,36];6 expression_statement [7];7 assignment [8,9];8 identifier [] key_parts;9 call [10,13];10 attribute [11,12];11 identifier [] key;12 identifier [] split;13 argument_list [14,15];14 string ...
Creates the state address for a given setting key.
0 module [1];1 function_definition [2,3,5];2 function_name [] _yql_query;3 parameters [4];4 identifier [] yql;5 block [6,21,29,105];6 expression_statement [7];7 assignment [8,9];8 identifier [] url;9 call [10,13];10 attribute [11,12];11 identifier [] _YAHOO_BASE_URL;12 identifier [] format;13 argument_list [14];14 call...
Fetch data from Yahoo! Return a dict if successfull or None.
0 module [1];1 function_definition [2,3,14];2 function_name [] uninstall;3 parameters [4,5,6,9,12];4 identifier [] ctx;5 identifier [] state;6 default_parameter [7,8];7 identifier [] all_dev;8 False [];9 default_parameter [10,11];10 identifier [] all;11 False [];12 dictionary_splat_pattern [13];13 identifier [] kwargs;...
Un-installs a provided package and removes it from Pipfile.
0 module [1];1 function_definition [2,3,6];2 function_name [] addPathVariables;3 parameters [4,5];4 identifier [] self;5 identifier [] pathvars;6 block [7];7 if_statement [8,14];8 comparison_operator [9,13] is;9 call [10,11];10 identifier [] type;11 argument_list [12];12 identifier [] pathvars;13 identifier [] dict;14 ...
Adds path variables to the pathvars map property
0 module [1];1 function_definition [2,3,7];2 function_name [] gen_sub;3 parameters [4,5,6];4 identifier [] src1;5 identifier [] src2;6 identifier [] dst;7 block [8,16];8 assert_statement [9];9 comparison_operator [10,13] ==;10 attribute [11,12];11 identifier [] src1;12 identifier [] size;13 attribute [14,15];14 identif...
Return a SUB instruction.
0 module [1];1 function_definition [2,3,6];2 function_name [] _on_new_location;3 parameters [4,5];4 identifier [] self;5 identifier [] form;6 block [7,20,33,39];7 expression_statement [8];8 assignment [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] _desired_longitude;12 call [13,14];13 identifier [] f...
Set a new desired location entered in the pop-up form.
0 module [1];1 function_definition [2,3,9];2 function_name [] indent;3 parameters [4,5,6];4 identifier [] self;5 identifier [] levels;6 default_parameter [7,8];7 identifier [] first_line;8 None [];9 block [10,19];10 expression_statement [11];11 call [12,17];12 attribute [13,16];13 attribute [14,15];14 identifier [] sel...
Increase indentation by ``levels`` levels.
0 module [1];1 function_definition [2,3,5];2 function_name [] files;3 parameters [4];4 identifier [] self;5 block [6,26];6 if_statement [7,12];7 comparison_operator [8,11] is;8 attribute [9,10];9 identifier [] self;10 identifier [] _files;11 None [];12 block [13];13 expression_statement [14];14 assignment [15,18];15 at...
List of Phasics tif file names in the input zip file
0 module [1];1 function_definition [2,3,6];2 function_name [] update_source;3 parameters [4,5];4 identifier [] ident;5 identifier [] data;6 block [7,14,22,31];7 expression_statement [8];8 assignment [9,10];9 identifier [] source;10 call [11,12];11 identifier [] get_source;12 argument_list [13];13 identifier [] ident;14...
Update an harvest source
0 module [1];1 function_definition [2,3,5];2 function_name [] strip_ansi;3 parameters [4];4 identifier [] state;5 block [6,15];6 expression_statement [7];7 assignment [8,9];8 identifier [] stu_res;9 call [10,11];10 identifier [] _strip_ansi;11 argument_list [12];12 attribute [13,14];13 identifier [] state;14 identifier...
Remove ANSI escape codes from student result.
0 module [1];1 function_definition [2,3,5];2 function_name [] init_epoch;3 parameters [4];4 identifier [] self;5 block [6,33,39,58];6 if_statement [7,10,21];7 attribute [8,9];8 identifier [] self;9 identifier [] _restored_from_state;10 block [11];11 expression_statement [12];12 assignment [13,18];13 attribute [14,17];1...
Set up the batch generator for a new epoch.
0 module [1];1 function_definition [2,3,5];2 function_name [] use_plenary_repository_view;3 parameters [4];4 identifier [] self;5 block [6,12];6 expression_statement [7];7 assignment [8,11];8 attribute [9,10];9 identifier [] self;10 identifier [] _repository_view;11 identifier [] PLENARY;12 for_statement [13,14,19];13 ...
Pass through to provider AssetRepositorySession.use_plenary_repository_view
0 module [1];1 function_definition [2,3,6];2 function_name [] connect;3 parameters [4,5];4 identifier [] self;5 identifier [] address;6 block [7,9,20];7 expression_statement [8];8 string [] connects to the address and wraps the connection in an SSL context;9 expression_statement [10];10 assignment [11,12];11 identifier...
connects to the address and wraps the connection in an SSL context
0 module [1];1 function_definition [2,3,8];2 function_name [] knob_subgroup;3 parameters [4,5];4 identifier [] self;5 default_parameter [6,7];6 identifier [] cutoff;7 float [] 7.0;8 block [9,29];9 if_statement [10,15];10 comparison_operator [11,12] >;11 identifier [] cutoff;12 attribute [13,14];13 identifier [] self;14...
KnobGroup where all KnobsIntoHoles have max_kh_distance <= cutoff.
0 module [1];1 function_definition [2,3,11];2 function_name [] make_middleware;3 parameters [4,7,9];4 default_parameter [5,6];5 identifier [] app;6 None [];7 list_splat_pattern [8];8 identifier [] args;9 dictionary_splat_pattern [10];10 identifier [] kw;11 block [12,23];12 expression_statement [13];13 assignment [14,15...
Given an app, return that app wrapped in iWSGIMiddleware
0 module [1];1 function_definition [2,3,44,46];2 function_name [] put_blob;3 parameters [4,5,9,13,17,26,35];4 identifier [] self;5 typed_parameter [6,7];6 identifier [] field;7 type [8];8 identifier [] str;9 typed_parameter [10,11];10 identifier [] fileobj;11 type [12];12 identifier [] BinaryIO;13 typed_parameter [14,1...
Receive and store blob object
0 module [1];1 function_definition [2,3,7];2 function_name [] read_point_prop;3 parameters [4,5,6];4 identifier [] self;5 identifier [] device_name;6 identifier [] point;7 block [8];8 with_statement [9,21];9 with_clause [10];10 with_item [11];11 as_pattern [12,19];12 call [13,14];13 identifier [] open;14 argument_list ...
Points properties retrieved from pickle
0 module [1];1 function_definition [2,3,5];2 function_name [] publish_data;3 parameters [4];4 identifier [] self;5 block [6,12,18];6 expression_statement [7];7 call [8,11];8 attribute [9,10];9 identifier [] self;10 identifier [] publish_device_stats;11 argument_list [];12 expression_statement [13];13 assignment [14,15]...
publish node data if node has updates
0 module [1];1 function_definition [2,3,7];2 function_name [] validate_network_topology;3 parameters [4,5];4 identifier [] network_id;5 dictionary_splat_pattern [6];6 identifier [] kwargs;7 block [8,17,63,67,89,93,139,146,153,159];8 expression_statement [9];9 assignment [10,11];10 identifier [] user_id;11 call [12,15];...
Check for the presence of orphan nodes in a network.
0 module [1];1 function_definition [2,3,8];2 function_name [] mask_umi;3 parameters [4,5,6,7];4 identifier [] umi;5 identifier [] umi_quals;6 identifier [] quality_encoding;7 identifier [] quality_filter_threshold;8 block [9,18,22,45];9 expression_statement [10];10 assignment [11,12];11 identifier [] below_threshold;12...
Mask all positions where quals < threshold with "N"
0 module [1];1 function_definition [2,3,5];2 function_name [] decode_endpoint_props;3 parameters [4];4 identifier [] input_props;5 block [6,13,21,32,40,51,61,70,78,87,97,106,116,149,183];6 expression_statement [7];7 assignment [8,9];8 identifier [] ed_props;9 call [10,11];10 identifier [] decode_osgi_props;11 argument_...
Decodes the endpoint properties from the given dictionary
0 module [1];1 function_definition [2,3,7];2 function_name [] database_root_path;3 parameters [4,5,6];4 identifier [] cls;5 identifier [] project;6 identifier [] database;7 block [8];8 return_statement [9];9 call [10,17];10 attribute [11,16];11 attribute [12,15];12 attribute [13,14];13 identifier [] google;14 identifie...
Return a fully-qualified database_root string.
0 module [1];1 function_definition [2,3,17];2 function_name [] range_metadata;3 parameters [4,5,6,7,10,14];4 identifier [] start;5 identifier [] end;6 identifier [] dst_folder;7 default_parameter [8,9];8 identifier [] num_worker_threads;9 integer [] 0;10 default_parameter [11,12];11 identifier [] writers;12 list [13] [...
Extra metadata for all products in a date range
0 module [1];1 function_definition [2,3,7];2 function_name [] sh;3 parameters [4,5];4 identifier [] args;5 dictionary_splat_pattern [6];6 identifier [] kwargs;7 block [8,23,28,45];8 if_statement [9,14];9 call [10,11];10 identifier [] isinstance;11 argument_list [12,13];12 identifier [] args;13 identifier [] str;14 bloc...
runs the given cmd as shell command
0 module [1];1 function_definition [2,3,12];2 function_name [] reservoir_sample;3 parameters [4,5,6];4 identifier [] stream;5 identifier [] num_items;6 default_parameter [7,8];7 identifier [] item_parser;8 lambda [9,11];9 lambda_parameters [10];10 identifier [] x;11 identifier [] x;12 block [13,17,67];13 expression_sta...
samples num_items from the stream keeping each with equal probability
0 module [1];1 function_definition [2,3,6];2 function_name [] do_ultracache;3 parameters [4,5];4 identifier [] parser;5 identifier [] token;6 block [7,17,23,31,50];7 expression_statement [8];8 assignment [9,10];9 identifier [] nodelist;10 call [11,14];11 attribute [12,13];12 identifier [] parser;13 identifier [] parse;...
Based on Django's default cache template tag
0 module [1];1 function_definition [2,3,12];2 function_name [] _delete_uncompressed;3 parameters [4,5,6,7,8,9];4 identifier [] collection_name;5 identifier [] spec;6 identifier [] safe;7 identifier [] last_error_args;8 identifier [] opts;9 default_parameter [10,11];10 identifier [] flags;11 integer [] 0;12 block [13,25...
Internal delete message helper.
0 module [1];1 function_definition [2,3,8];2 function_name [] _serialize;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] value;6 identifier [] attr;7 identifier [] obj;8 block [9,26];9 if_statement [10,19];10 call [11,12];11 identifier [] isinstance;12 argument_list [13,14];13 identifier [] value;14 attribu...
Convert the Arrow object into a string.
0 module [1];1 function_definition [2,3,14];2 function_name [] plotly_direct;3 parameters [4,5,8,11];4 identifier [] context;5 default_parameter [6,7];6 identifier [] name;7 None [];8 default_parameter [9,10];9 identifier [] slug;10 None [];11 default_parameter [12,13];12 identifier [] da;13 None [];14 block [15,17,28,...
Direct insertion of a Dash app
0 module [1];1 function_definition [2,3,7];2 function_name [] _readfloatle;3 parameters [4,5,6];4 identifier [] self;5 identifier [] length;6 identifier [] start;7 block [8,22,130];8 expression_statement [9];9 assignment [10,13];10 pattern_list [11,12];11 identifier [] startbyte;12 identifier [] offset;13 call [14,15];...
Read bits and interpret as a little-endian float.
0 module [1];1 function_definition [2,3,6];2 function_name [] _set_timeouts;3 parameters [4,5];4 identifier [] self;5 identifier [] timeouts;6 block [7,15,33,53];7 expression_statement [8];8 assignment [9,12];9 tuple_pattern [10,11];10 identifier [] send_timeout;11 identifier [] recv_timeout;12 tuple [13,14];13 None []...
Set socket timeouts for send and receive respectively
0 module [1];1 function_definition [2,3,6];2 function_name [] load_zipfile;3 parameters [4,5];4 identifier [] self;5 identifier [] path;6 block [7,16];7 expression_statement [8];8 assignment [9,10];9 identifier [] zin;10 call [11,14];11 attribute [12,13];12 identifier [] zipfile;13 identifier [] ZipFile;14 argument_lis...
import contents of a zipfile
0 module [1];1 function_definition [2,3,9];2 function_name [] _CreateRequest;3 parameters [4,5,6];4 identifier [] self;5 identifier [] url;6 default_parameter [7,8];7 identifier [] data;8 None [];9 block [10,19,31,46,66];10 expression_statement [11];11 call [12,15];12 attribute [13,14];13 identifier [] logging;14 ident...
Creates a new urllib request.
0 module [1];1 function_definition [2,3,6];2 function_name [] _has_exclusive_option;3 parameters [4,5];4 identifier [] cls;5 identifier [] options;6 block [7];7 return_statement [8];8 call [9,10];9 identifier [] any;10 argument_list [11];11 list_comprehension [12,19];12 comparison_operator [13,18] is not;13 call [14,15...
Return `True` iff one or more exclusive options were selected.
0 module [1];1 function_definition [2,3,5];2 function_name [] gencode;3 parameters [4];4 identifier [] self;5 block [6,21,30,39];6 expression_statement [7];7 assignment [8,9];8 identifier [] ledict;9 call [10,20];10 attribute [11,19];11 call [12,15];12 attribute [13,14];13 identifier [] requests;14 identifier [] get;15...
Run this to generate the code
0 module [1];1 function_definition [2,3,5];2 function_name [] initWithComplexQuery;3 parameters [4];4 identifier [] query;5 block [6,12,87];6 expression_statement [7];7 assignment [8,9];8 identifier [] q;9 call [10,11];10 identifier [] QueryEvents;11 argument_list [];12 if_statement [13,18,36,62,82];13 call [14,15];14 ...
create a query using a complex event query
0 module [1];1 function_definition [2,3,15];2 function_name [] init_argparser_source_registry;3 parameters [4,5,6,9];4 identifier [] self;5 identifier [] argparser;6 default_parameter [7,8];7 identifier [] default;8 None [];9 default_parameter [10,11];10 identifier [] help;11 () [12];12 concatenated_string [13,14];13 s...
For setting up the source registry flag.
0 module [1];1 function_definition [2,3,5];2 function_name [] _reg_sighandlers;3 parameters [4];4 identifier [] self;5 block [6,18,28];6 expression_statement [7];7 assignment [8,9];8 identifier [] _handler;9 lambda [10,13];10 lambda_parameters [11,12];11 identifier [] signo;12 identifier [] frame;13 call [14,17];14 att...
Registers signal handlers to this class.
0 module [1];1 function_definition [2,3,6];2 function_name [] version_ok;3 parameters [4,5];4 identifier [] self;5 identifier [] version;6 block [7];7 return_statement [8];8 boolean_operator [9,20,21] or;9 boolean_operator [10,15] or;10 comparison_operator [11,14] is;11 attribute [12,13];12 identifier [] self;13 identi...
Is 'version' sufficiently up-to-date?
0 module [1];1 function_definition [2,3,6];2 function_name [] _getActivePassive;3 parameters [4,5];4 identifier [] obj1;5 identifier [] obj2;6 block [7,24,41];7 expression_statement [8];8 assignment [9,10];9 identifier [] speed1;10 conditional_expression [11,17,22] if;11 call [12,13];12 identifier [] abs;13 argument_li...
Returns which is the active and the passive objects.
0 module [1];1 function_definition [2,3,11];2 function_name [] list_databases;3 parameters [4,5,8];4 identifier [] self;5 default_parameter [6,7];6 identifier [] limit;7 None [];8 default_parameter [9,10];9 identifier [] marker;10 None [];11 block [12];12 return_statement [13];13 call [14,19];14 attribute [15,18];15 at...
Returns a list of the names of all databases for this instance.
0 module [1];1 function_definition [2,3,5];2 function_name [] act;3 parameters [4];4 identifier [] self;5 block [6,15,23,31,41];6 expression_statement [7];7 assignment [8,9];8 identifier [] g;9 attribute [10,14];10 call [11,12];11 identifier [] get_root;12 argument_list [13];13 identifier [] self;14 identifier [] globa...
Carries out the action associated with the Unfreeze button
0 module [1];1 function_definition [2,3,5];2 function_name [] read_14c;3 parameters [4];4 identifier [] fl;5 block [6,32,63];6 expression_statement [7];7 assignment [8,9];8 identifier [] indata;9 call [10,13];10 attribute [11,12];11 identifier [] pd;12 identifier [] read_csv;13 argument_list [14,15,18,21,24];14 identif...
Create CalibCurve instance from Bacon curve file
0 module [1];1 function_definition [2,3,5];2 function_name [] logging_decorator;3 parameters [4];4 identifier [] func;5 block [6,44];6 function_definition [7,8,13];7 function_name [] you_will_never_see_this_name;8 parameters [9,11];9 list_splat_pattern [10];10 identifier [] args;11 dictionary_splat_pattern [12];12 iden...
Allow logging function calls