sequence
stringlengths
388
5.57k
docstring
stringlengths
11
171
0 module [1];1 function_definition [2,3,16];2 function_name [] parallelize_func;3 parameters [4,5,6,9,12,14];4 identifier [] iterable;5 identifier [] func;6 default_parameter [7,8];7 identifier [] chunksz;8 integer [] 1;9 default_parameter [10,11];10 identifier [] n_jobs;11 integer [] 16;12 list_splat_pattern [13];13 i...
Parallelize a function over each element of an iterable.
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,37,63];7 expression_statement [8];8 assignment [9,10];9 identifier [] args;10 dictionary [];11 if_statement [12,15];12 comparison_operator [13,14] in;13 string [] section_t...
Initialize a DocStructure object from a json dictionary.
0 module [1];1 function_definition [2,3,13];2 function_name [] _getCharWidths;3 parameters [4,5,6,7,8,9,10];4 identifier [] self;5 identifier [] xref;6 identifier [] bfname;7 identifier [] ext;8 identifier [] ordering;9 identifier [] limit;10 default_parameter [11,12];11 identifier [] idx;12 integer [] 0;13 block [14,2...
Return list of glyphs and glyph widths of a font.
0 module [1];1 function_definition [2,3,6];2 function_name [] make_cube_slice;3 parameters [4,5];4 identifier [] map_in;5 identifier [] loge_bounds;6 block [7,17,35,53,72,82,92,113];7 expression_statement [8];8 assignment [9,10];9 identifier [] axis;10 subscript [11,16];11 attribute [12,15];12 attribute [13,14];13 iden...
Extract a slice from a map cube object.
0 module [1];1 function_definition [2,3,5];2 function_name [] run;3 parameters [4];4 identifier [] songs;5 block [6];6 if_statement [7,13,26];7 not_operator [8];8 call [9,10];9 identifier [] hasattr;10 argument_list [11,12];11 identifier [] songs;12 string [] __iter__;13 block [14,21];14 expression_statement [15];15 as...
Calls get_lyrics_threaded for a song or list of songs.
0 module [1];1 function_definition [2,3,7];2 function_name [] segment_from_cnr;3 parameters [4,5,6];4 identifier [] cnr_file;5 identifier [] data;6 identifier [] out_base;7 block [8,32,46];8 expression_statement [9];9 assignment [10,11];10 identifier [] cns_file;11 call [12,13];12 identifier [] _cnvkit_segment;13 argum...
Provide segmentation on a cnr file, used in external PureCN integration.
0 module [1];1 function_definition [2,3,7];2 function_name [] update_title;3 parameters [4,5,6];4 identifier [] self;5 identifier [] _;6 identifier [] info;7 block [8];8 with_statement [9,14];9 with_clause [10];10 with_item [11];11 attribute [12,13];12 identifier [] self;13 identifier [] _lock;14 block [15];15 expressi...
Set the label of the Block Meta object
0 module [1];1 function_definition [2,3,6];2 function_name [] showMenu;3 parameters [4,5];4 identifier [] self;5 identifier [] point;6 block [7,14,18,29,43];7 expression_statement [8];8 assignment [9,10];9 identifier [] menu;10 call [11,12];11 identifier [] QMenu;12 argument_list [13];13 identifier [] self;14 expressio...
Displays the menu for this filter widget.
0 module [1];1 function_definition [2,3,9];2 function_name [] _cmd_miraligner;3 parameters [4,5,6,7,8];4 identifier [] fn;5 identifier [] out_file;6 identifier [] species;7 identifier [] hairpin;8 identifier [] out;9 block [10,16,30,34,78];10 expression_statement [11];11 assignment [12,13];12 identifier [] tool;13 call...
Run miraligner for miRNA annotation
0 module [1];1 function_definition [2,3,5];2 function_name [] write_json;3 parameters [4];4 identifier [] self;5 block [6];6 with_statement [7,32];7 with_clause [8];8 with_item [9];9 as_pattern [10,30];10 call [11,12];11 identifier [] open;12 argument_list [13,29];13 binary_operator [14,28] +;14 binary_operator [15,20]...
Dump data into json file.
0 module [1];1 function_definition [2,3,5];2 function_name [] guard_retract;3 parameters [4];4 identifier [] analysis;5 block [6,20,28,34,54];6 if_statement [7,17];7 not_operator [8];8 call [9,10];9 identifier [] is_transition_allowed;10 argument_list [11,16];11 call [12,15];12 attribute [13,14];13 identifier [] analys...
Return whether the transition "retract" can be performed or not
0 module [1];1 function_definition [2,3,10];2 function_name [] _get_all_packages;3 parameters [4,7];4 default_parameter [5,6];5 identifier [] mirror;6 identifier [] DEFAULT_MIRROR;7 default_parameter [8,9];8 identifier [] cyg_arch;9 string [] x86_64;10 block [11,22,37,124];11 if_statement [12,15];12 comparison_operator...
Return the list of packages based on the mirror provided.
0 module [1];1 function_definition [2,3,5];2 function_name [] url2domain;3 parameters [4];4 identifier [] url;5 block [6,15,26,37,48];6 expression_statement [7];7 assignment [8,9];8 identifier [] parsed_uri;9 call [10,13];10 attribute [11,12];11 identifier [] urlparse;12 identifier [] urlparse;13 argument_list [14];14 ...
extract domain from url
0 module [1];1 function_definition [2,3,9];2 function_name [] upload_html;3 parameters [4,5,6];4 identifier [] destination;5 identifier [] html;6 default_parameter [7,8];7 identifier [] name;8 None [];9 block [10,20];10 expression_statement [11];11 assignment [12,16];12 list_pattern [13,14,15];13 identifier [] project;...
Uploads the HTML to a file on the server
0 module [1];1 function_definition [2,3,8];2 function_name [] make_header;3 parameters [4,5];4 identifier [] field_names;5 default_parameter [6,7];6 identifier [] permit_not;7 False [];8 block [9,19,33,37,104];9 expression_statement [10];10 assignment [11,12];11 identifier [] slug_chars;12 conditional_expression [13,14...
Return unique and slugged field names.
0 module [1];1 function_definition [2,3,5];2 function_name [] help_cli;3 parameters [4];4 identifier [] self;5 block [6,18,30,42,54,66,78,90,99,111];6 expression_statement [7];7 assignment [8,9];8 identifier [] help;9 binary_operator [10,11] %;10 string [] %sWelcome to Workbench CLI Help:%s;11 tuple [12,15];12 attribut...
Help on Workbench CLI
0 module [1];1 function_definition [2,3,16,18];2 function_name [] index_exists;3 parameters [4,8,12];4 typed_parameter [5,6];5 identifier [] engine;6 type [7];7 identifier [] Engine;8 typed_parameter [9,10];9 identifier [] tablename;10 type [11];11 identifier [] str;12 typed_parameter [13,14];13 identifier [] indexname...
Does the specified index exist for the specified table?
0 module [1];1 function_definition [2,3,5,7];2 function_name [] require_mapping;3 parameters [4];4 identifier [] self;5 type [6];6 None [];7 block [8];8 if_statement [9,19];9 not_operator [10];10 call [11,12];11 identifier [] isinstance;12 argument_list [13,16];13 attribute [14,15];14 identifier [] self;15 identifier [...
Require the node to be a mapping.
0 module [1];1 function_definition [2,3,6];2 function_name [] readBuffer;3 parameters [4,5];4 identifier [] self;5 identifier [] newLength;6 block [7,20,27];7 expression_statement [8];8 assignment [9,10];9 identifier [] result;10 call [11,12];11 identifier [] Buffer;12 argument_list [13,16,19];13 attribute [14,15];14 i...
Read next chunk as another buffer.
0 module [1];1 function_definition [2,3,5];2 function_name [] _fetch_data;3 parameters [4];4 identifier [] self;5 block [6,26,54,75,94];6 if_statement [7,23];7 () [8];8 boolean_operator [9,16] or;9 comparison_operator [10,15] ==;10 attribute [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] inputs;14 ...
Converts inputspec to files
0 module [1];1 function_definition [2,3,5,7];2 function_name [] wait;3 parameters [4];4 identifier [] self;5 type [6];6 None [];7 block [8,16,37,64,92,129,146,153];8 if_statement [9,14];9 comparison_operator [10,13] is not;10 attribute [11,12];11 identifier [] self;12 identifier [] triggered_token;13 None [];14 block [...
Coroutine which returns when this token has been triggered
0 module [1];1 function_definition [2,3,5,7];2 function_name [] session;3 parameters [4];4 identifier [] self;5 type [6];6 identifier [] BaseFileWriterSession;7 block [8];8 return_statement [9];9 call [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] session_class;13 argument_list [14,17,20,23,26,29,3...
Return the File Writer Session.
0 module [1];1 function_definition [2,3,7];2 function_name [] agent_path;3 parameters [4,5,6];4 identifier [] cls;5 identifier [] project;6 identifier [] agent;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 identifier [] api_co...
Return a fully-qualified agent string.
0 module [1];1 function_definition [2,3,5];2 function_name [] _sanity_check_fold_scope_locations_are_unique;3 parameters [4];4 identifier [] ir_blocks;5 block [6,12];6 expression_statement [7];7 assignment [8,9];8 identifier [] observed_locations;9 call [10,11];10 identifier [] dict;11 argument_list [];12 for_statement...
Assert that every FoldScopeLocation that exists on a Fold block is unique.
0 module [1];1 function_definition [2,3,5];2 function_name [] remap_index_fn;3 parameters [4];4 identifier [] ref_file;5 block [6,28,47];6 expression_statement [7];7 assignment [8,9];8 identifier [] snap_dir;9 call [10,15];10 attribute [11,14];11 attribute [12,13];12 identifier [] os;13 identifier [] path;14 identifier...
Map sequence references to snap reference directory, using standard layout.
0 module [1];1 function_definition [2,3,8];2 function_name [] end_tag;3 parameters [4,5];4 identifier [] self;5 default_parameter [6,7];6 identifier [] alt;7 None [];8 block [9,24];9 if_statement [10,11,16];10 identifier [] alt;11 block [12];12 expression_statement [13];13 assignment [14,15];14 identifier [] name;15 id...
Return XML end tag for the receiver.
0 module [1];1 function_definition [2,3,7];2 function_name [] with_args;3 parameters [4,5];4 identifier [] self;5 dictionary_splat_pattern [6];6 identifier [] kwargs;7 block [8,31];8 expression_statement [9];9 assignment [10,11];10 identifier [] validators;11 list_comprehension [12,26];12 conditional_expression [13,20,...
String substitution for names and docstrings.
0 module [1];1 function_definition [2,3,7];2 function_name [] validate_keys;3 parameters [4,5,6];4 identifier [] dict_;5 identifier [] expected;6 identifier [] funcname;7 block [8,15,22,28,52,58];8 expression_statement [9];9 assignment [10,11];10 identifier [] expected;11 call [12,13];12 identifier [] set;13 argument_l...
Validate that a dictionary has an expected set of keys.
0 module [1];1 function_definition [2,3,5];2 function_name [] ensure_legal;3 parameters [4];4 identifier [] self;5 block [6,78];6 if_statement [7,10];7 attribute [8,9];8 identifier [] self;9 identifier [] _results_dir;10 block [11,15,39,63];11 expression_statement [12];12 assignment [13,14];13 identifier [] errors;14 s...
Return True as long as the state does not break any internal contracts.
0 module [1];1 function_definition [2,3,5];2 function_name [] __setupViews;3 parameters [4];4 identifier [] self;5 block [6,17,28,44,52,61,71,78,85,98];6 expression_statement [7];7 assignment [8,11];8 attribute [9,10];9 identifier [] self;10 identifier [] _collector;11 call [12,13];12 identifier [] Collector;13 argumen...
Creates the UI widgets.
0 module [1];1 function_definition [2,3,8];2 function_name [] seebeck_spb;3 parameters [4,5];4 identifier [] eta;5 default_parameter [6,7];6 identifier [] Lambda;7 float [] 0.5;8 block [9,14];9 import_from_statement [10,12];10 dotted_name [11];11 identifier [] fdint;12 dotted_name [13];13 identifier [] fdk;14 return_st...
Seebeck analytic formula in the single parabolic model
0 module [1];1 function_definition [2,3,5];2 function_name [] communicator;3 parameters [4];4 identifier [] func;5 block [6,167];6 function_definition [7,8,12];7 function_name [] _call;8 parameters [9,10,11];9 identifier [] queue;10 identifier [] args;11 identifier [] kwargs;12 block [13,19,23,165];13 expression_statem...
Warning, this is a picklable decorator !
0 module [1];1 function_definition [2,3,6];2 function_name [] _nested_add;3 parameters [4,5];4 identifier [] nested_a;5 identifier [] nested_b;6 block [7];7 return_statement [8];8 call [9,12];9 attribute [10,11];10 identifier [] nest;11 identifier [] map;12 argument_list [13,20,21];13 lambda [14,17];14 lambda_parameter...
Add two arbitrarily nested `Tensors`.
0 module [1];1 function_definition [2,3,6];2 function_name [] purge;3 parameters [4,5];4 identifier [] self;5 identifier [] connection;6 block [7,13];7 expression_statement [8];8 call [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] _checkpid;12 argument_list [];13 if_statement [14,21];14 comparison_op...
Remove the connection from rotation
0 module [1];1 function_definition [2,3,7];2 function_name [] reduce_sum;3 parameters [4,5,6];4 identifier [] attrs;5 identifier [] inputs;6 identifier [] proto_obj;7 block [8,21];8 expression_statement [9];9 assignment [10,11];10 identifier [] new_attrs;11 call [12,15];12 attribute [13,14];13 identifier [] translation...
Reduce the array along a given axis by sum value
0 module [1];1 function_definition [2,3,7];2 function_name [] project_deidentify_template_path;3 parameters [4,5,6];4 identifier [] cls;5 identifier [] project;6 identifier [] deidentify_template;7 block [8];8 return_statement [9];9 call [10,17];10 attribute [11,16];11 attribute [12,15];12 attribute [13,14];13 identifi...
Return a fully-qualified project_deidentify_template string.
0 module [1];1 function_definition [2,3,14];2 function_name [] parse_schedules;3 parameters [4,5,6,7,8,11];4 identifier [] username;5 identifier [] password;6 identifier [] importer;7 identifier [] progress;8 default_parameter [9,10];9 identifier [] utc_start;10 None [];11 default_parameter [12,13];12 identifier [] utc...
A utility function to marry the connecting and reading functions.
0 module [1];1 function_definition [2,3,6];2 function_name [] _loadOneSource;3 parameters [4,5];4 identifier [] self;5 identifier [] sourceFName;6 block [7,18,22];7 expression_statement [8];8 assignment [9,10];9 identifier [] sourceLines;10 call [11,17];11 attribute [12,16];12 call [13,14];13 identifier [] open;14 argu...
handles one authority file including format auto-detection.
0 module [1];1 function_definition [2,3,6];2 function_name [] _check_response_for_errors;3 parameters [4,5];4 identifier [] self;5 identifier [] response;6 block [7,41,52];7 try_statement [8,27];8 block [9];9 expression_statement [10];10 assignment [11,12];11 identifier [] doc;12 call [13,16];13 attribute [14,15];14 id...
Checks the response for errors and raises one if any exists.
0 module [1];1 function_definition [2,3,5];2 function_name [] _write_header;3 parameters [4];4 identifier [] self;5 block [6,28];6 for_statement [7,8,13];7 identifier [] line;8 attribute [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] header;12 identifier [] lines;13 block [14];14 expression_statement...
Write out the header
0 module [1];1 function_definition [2,3,6];2 function_name [] _center;3 parameters [4,5];4 identifier [] code;5 identifier [] segment_dict;6 block [7];7 while_statement [8,11];8 comparison_operator [9,10] in;9 identifier [] code;10 identifier [] segment_dict;11 block [12,18,21];12 expression_statement [13];13 assignmen...
Starting with `code`, follow segments from target to center.
0 module [1];1 function_definition [2,3,5];2 function_name [] close;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 [] is_closed;11 True [];12 try_statement [13,22];13 block [14];14 expression_statement [15];15 cal...
Close the connection to the SMTP server
0 module [1];1 function_definition [2,3,9];2 function_name [] all_from;3 parameters [4,5,7];4 identifier [] cls;5 list_splat_pattern [6];6 identifier [] args;7 dictionary_splat_pattern [8];8 identifier [] kwargs;9 block [10,22];10 expression_statement [11];11 assignment [12,13];12 identifier [] pq_items;13 call [14,17]...
Query for items passing PyQuery args explicitly.
0 module [1];1 function_definition [2,3,7];2 function_name [] check_buffer;3 parameters [4,5,6];4 identifier [] coords;5 identifier [] length;6 identifier [] buffer;7 block [8,18,30];8 expression_statement [9];9 assignment [10,11];10 identifier [] s;11 call [12,13];12 identifier [] min;13 argument_list [14,17];14 subsc...
check to see how much of the buffer is being used
0 module [1];1 function_definition [2,3,5];2 function_name [] _from_selection;3 parameters [4];4 identifier [] self;5 block [6];6 return_statement [7];7 () [8];8 boolean_operator [9,14] and;9 comparison_operator [10,13] is not;10 attribute [11,12];11 identifier [] self;12 identifier [] groupby;13 None [];14 () [15];15 ...
Is the resampling from a DataFrame column or MultiIndex level.
0 module [1];1 function_definition [2,3,10,12];2 function_name [] on_train_end;3 parameters [4,5];4 identifier [] self;5 typed_parameter [6,8];6 dictionary_splat_pattern [7];7 identifier [] kwargs;8 type [9];9 identifier [] Any;10 type [11];11 None [];12 block [13,15,33];13 expression_statement [14];14 string [] Store ...
Store the notebook and stop run
0 module [1];1 function_definition [2,3,5];2 function_name [] do_extra_polishing;3 parameters [4];4 identifier [] self;5 block [6];6 for_statement [7,8,11];7 identifier [] f;8 attribute [9,10];9 identifier [] self;10 identifier [] EXTRA_POLISH_FUNCTIONS;11 block [12,39,66];12 if_statement [13,19];13 not_operator [14];1...
Goes over each EXTRA_POLISH_FUNCTION to see if it applies to this page, if so, calls it
0 module [1];1 function_definition [2,3,5];2 function_name [] retrain;3 parameters [4];4 identifier [] self;5 block [6,19,36,48,60,66,70];6 expression_statement [7];7 assignment [8,9];8 identifier [] folder;9 call [10,13];10 attribute [11,12];11 identifier [] TrainData;12 identifier [] from_folder;13 argument_list [14]...
Train for a session, pulling in any new data from the filesystem
0 module [1];1 function_definition [2,3,5];2 function_name [] verify_mapillary_tag;3 parameters [4];4 identifier [] filepath;5 block [6,15,29];6 expression_statement [7];7 assignment [8,9];8 identifier [] filepath_keep_original;9 call [10,13];10 attribute [11,12];11 identifier [] processing;12 identifier [] processed_i...
Check that image file has the required Mapillary tag
0 module [1];1 function_definition [2,3,8];2 function_name [] print_spelling_errors;3 parameters [4,5];4 identifier [] filename;5 default_parameter [6,7];6 identifier [] encoding;7 string [] utf8;8 block [9,20,63];9 expression_statement [10];10 assignment [11,12];11 identifier [] filesize;12 attribute [13,19];13 call [...
Print misspelled words returned by sphinxcontrib-spelling
0 module [1];1 function_definition [2,3,6];2 function_name [] _get_instance_params;3 parameters [4,5];4 identifier [] cls;5 identifier [] instance;6 block [7,16,26,35,44,48,96,106,119,131];7 expression_statement [8];8 assignment [9,10];9 identifier [] url;10 call [11,14];11 attribute [12,13];12 identifier [] instance;1...
Parse instance configuration and perform minimal verification
0 module [1];1 function_definition [2,3,7];2 function_name [] dirsize_get;3 parameters [4,5];4 identifier [] l_filesWithoutPath;5 dictionary_splat_pattern [6];6 identifier [] kwargs;7 block [8,12,31,35,39,43,82,91];8 expression_statement [9];9 assignment [10,11];10 identifier [] str_path;11 string [];12 for_statement [...
Sample callback that determines a directory size.
0 module [1];1 function_definition [2,3,5];2 function_name [] _check_if_downloaded;3 parameters [4];4 identifier [] self;5 block [6];6 if_statement [7,22];7 not_operator [8];8 call [9,14];9 attribute [10,13];10 attribute [11,12];11 identifier [] os;12 identifier [] path;13 identifier [] isfile;14 argument_list [15];15 ...
Check if file downloaded
0 module [1];1 function_definition [2,3,5];2 function_name [] YamlLoader;3 parameters [4];4 identifier [] string;5 block [6,15,28,32,101,123,137,143];6 expression_statement [7];7 assignment [8,9];8 identifier [] representation;9 call [10,13];10 attribute [11,12];11 identifier [] yaml;12 identifier [] Parse;13 argument_...
Load an AFF4 object from a serialized YAML representation.
0 module [1];1 function_definition [2,3,7];2 function_name [] pool_attr_add;3 parameters [4,5,6];4 identifier [] arg;5 identifier [] opts;6 identifier [] shell_opts;7 block [8,20,47,53,133,169];8 expression_statement [9];9 assignment [10,11];10 identifier [] res;11 call [12,15];12 attribute [13,14];13 identifier [] Poo...
Add attributes to a pool
0 module [1];1 function_definition [2,3,5];2 function_name [] _default_logfile;3 parameters [4];4 identifier [] exe_name;5 block [6,102];6 if_statement [7,16,81];7 call [8,15];8 attribute [9,14];9 attribute [10,13];10 attribute [11,12];11 identifier [] salt;12 identifier [] utils;13 identifier [] platform;14 identifier...
Retrieve the logfile name
0 module [1];1 function_definition [2,3,6];2 function_name [] store_file;3 parameters [4,5];4 identifier [] self;5 identifier [] filename;6 block [7,23,32,43,46,73,79];7 expression_statement [8];8 assignment [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] workbench;12 call [13,16];13 attribute [14,15]...
Store a file into workbench
0 module [1];1 function_definition [2,3,6];2 function_name [] _check_fit_data;3 parameters [4,5];4 identifier [] self;5 identifier [] X;6 block [7,26,34,60,129];7 expression_statement [8];8 assignment [9,10];9 identifier [] X;10 call [11,12];11 identifier [] check_array;12 argument_list [13,14,17];13 identifier [] X;14...
Verify that the number of samples given is larger than k
0 module [1];1 function_definition [2,3,7];2 function_name [] unlink_intermediate;3 parameters [4,5,6];4 identifier [] self;5 identifier [] sourceId;6 identifier [] targetId;7 block [8,27,46,66,82,88,94];8 expression_statement [9];9 assignment [10,11];10 identifier [] source;11 subscript [12,17];12 subscript [13,16];13...
Remove a link between two processes
0 module [1];1 function_definition [2,3,6];2 function_name [] catch_exceptions;3 parameters [4];4 list_splat_pattern [5];5 identifier [] exceptions;6 block [7,89];7 function_definition [8,9,11];8 function_name [] wrap;9 parameters [10];10 identifier [] fn;11 block [12,87];12 decorated_definition [13,20];13 decorator [1...
Catch all exceptions provided as arguments, and raise CloudApiException instead.
0 module [1];1 function_definition [2,3,5];2 function_name [] calculate_median;3 parameters [4];4 identifier [] given_list;5 block [6,10,16,23,30,73];6 expression_statement [7];7 assignment [8,9];8 identifier [] median;9 None [];10 if_statement [11,13];11 not_operator [12];12 identifier [] given_list;13 block [14];14 r...
Returns the median of values in the given list.
0 module [1];1 function_definition [2,3,5];2 function_name [] force_delete_file;3 parameters [4];4 identifier [] file_path;5 block [6];6 if_statement [7,15,36];7 call [8,13];8 attribute [9,12];9 attribute [10,11];10 identifier [] os;11 identifier [] path;12 identifier [] isfile;13 argument_list [14];14 identifier [] fi...
force delete a file
0 module [1];1 function_definition [2,3,5];2 function_name [] create_environment_vip;3 parameters [4];4 identifier [] self;5 block [6];6 return_statement [7];7 call [8,9];8 identifier [] EnvironmentVIP;9 argument_list [10,13,16,19];10 attribute [11,12];11 identifier [] self;12 identifier [] networkapi_url;13 attribute ...
Get an instance of environment_vip services facade.
0 module [1];1 function_definition [2,3,5];2 function_name [] __stop_decoder;3 parameters [4];4 identifier [] self;5 block [6];6 if_statement [7,10];7 attribute [8,9];8 identifier [] self;9 identifier [] __decoder_thread;10 block [11,20,28];11 expression_statement [12];12 call [13,18];13 attribute [14,17];14 attribute ...
Stop the decoder thread, which will in turn stop the track.
0 module [1];1 function_definition [2,3,11];2 function_name [] resolve;3 parameters [4,5,6,9];4 identifier [] input;5 identifier [] representation;6 default_parameter [7,8];7 identifier [] resolvers;8 None [];9 dictionary_splat_pattern [10];10 identifier [] kwargs;11 block [12,23,34,50];12 expression_statement [13];13 ...
Resolve input to the specified output representation
0 module [1];1 function_definition [2,3,7];2 function_name [] service_details;3 parameters [4,5,6];4 identifier [] self;5 identifier [] io_handler;6 identifier [] service_id;7 block [8,28,43,97,127,134,154,161,173];8 expression_statement [9];9 assignment [10,11];10 identifier [] svc_ref;11 call [12,17];12 attribute [13...
Prints the details of the service with the given ID
0 module [1];1 function_definition [2,3,34,36];2 function_name [] draw_polygon;3 parameters [4,5,7,12,17,22,29];4 identifier [] self;5 list_splat_pattern [6];6 identifier [] pts;7 typed_default_parameter [8,9,11];8 identifier [] close_path;9 type [10];10 identifier [] bool;11 True [];12 typed_default_parameter [13,14,1...
Draws the given linear path.
0 module [1];1 function_definition [2,3,12];2 function_name [] map_nested;3 parameters [4,5,6,9];4 identifier [] function;5 identifier [] data_struct;6 default_parameter [7,8];7 identifier [] dict_only;8 False [];9 default_parameter [10,11];10 identifier [] map_tuple;11 False [];12 block [13,99];13 if_statement [14,19,...
Apply a function recursively to each element of a nested data struct.
0 module [1];1 function_definition [2,3,7];2 function_name [] parse;3 parameters [4,5,6];4 identifier [] self;5 identifier [] filelike;6 identifier [] filename;7 block [8,14,24,35,55,67,73,79,85,93,99];8 expression_statement [9];9 assignment [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] log;13 ide...
Parse the given file-like object and return its Module object.
0 module [1];1 function_definition [2,3,5];2 function_name [] validate_token_parameters;3 parameters [4];4 identifier [] params;5 block [6,22,35,55];6 if_statement [7,10];7 comparison_operator [8,9] in;8 string [] error;9 identifier [] params;10 block [11];11 expression_statement [12];12 call [13,14];13 identifier [] r...
Ensures token precence, token type, expiration and scope in params.
0 module [1];1 function_definition [2,3,7];2 function_name [] validate_page_size;3 parameters [4,5,6];4 identifier [] ctx;5 identifier [] param;6 identifier [] value;7 block [8,23];8 if_statement [9,12];9 comparison_operator [10,11] ==;10 identifier [] value;11 integer [] 0;12 block [13];13 raise_statement [14];14 call...
Ensure that a valid value for page size is chosen.
0 module [1];1 function_definition [2,3,8];2 function_name [] _get_component;3 parameters [4,5];4 identifier [] filename;5 default_parameter [6,7];6 identifier [] default;7 string [] global;8 block [9,24,37,60,83,106];9 if_statement [10,15];10 call [11,12];11 identifier [] hasattr;12 argument_list [13,14];13 identifier...
Get component name from filename.
0 module [1];1 function_definition [2,3,5];2 function_name [] render_subcommand;3 parameters [4];4 identifier [] args;5 block [6,19,31];6 if_statement [7,12];7 comparison_operator [8,11] ==;8 attribute [9,10];9 identifier [] args;10 identifier [] subcommand;11 string [] delete;12 block [13];13 return_statement [14];14 ...
Render a subcommand for human-centric viewing
0 module [1];1 function_definition [2,3,5];2 function_name [] readlines_bytes;3 parameters [4];4 identifier [] self;5 block [6];6 with_statement [7,21];7 with_clause [8];8 with_item [9];9 as_pattern [10,19];10 call [11,12];11 identifier [] open_zipfile_archive;12 argument_list [13,16];13 attribute [14,15];14 identifier...
Read content into byte str line iterator.
0 module [1];1 function_definition [2,3,8];2 function_name [] dt2str;3 parameters [4,5];4 identifier [] dt;5 default_parameter [6,7];6 identifier [] flagSeconds;7 True [];8 block [9,18];9 if_statement [10,15];10 call [11,12];11 identifier [] isinstance;12 argument_list [13,14];13 identifier [] dt;14 identifier [] str;1...
Converts datetime object to str if not yet an str.
0 module [1];1 function_definition [2,3,12];2 function_name [] match;3 parameters [4,5,6,9];4 identifier [] self;5 identifier [] feature;6 default_parameter [7,8];7 identifier [] gps_precision;8 None [];9 default_parameter [10,11];10 identifier [] profile;11 string [] mapbox.driving;12 block [13,22,31,40,58,62,72,95,10...
Match features to OpenStreetMap data.
0 module [1];1 function_definition [2,3,7];2 function_name [] _pid_is_alive;3 parameters [4,5,6];4 identifier [] cls;5 identifier [] pid;6 identifier [] timeout;7 block [8,26,44];8 try_statement [9,19];9 block [10];10 expression_statement [11];11 assignment [12,13];12 identifier [] proc;13 call [14,17];14 attribute [15...
Check if a PID is alive with a timeout.
0 module [1];1 function_definition [2,3,8];2 function_name [] _check_symlink_ownership;3 parameters [4,5,6,7];4 identifier [] path;5 identifier [] user;6 identifier [] group;7 identifier [] win_owner;8 block [9,18];9 expression_statement [10];10 assignment [11,14];11 pattern_list [12,13];12 identifier [] cur_user;13 id...
Check if the symlink ownership matches the specified user and group
0 module [1];1 function_definition [2,3,6];2 function_name [] request_param_update;3 parameters [4,5];4 identifier [] self;5 identifier [] complete_name;6 block [7];7 expression_statement [8];8 call [9,14];9 attribute [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] param_updater;13 identifier [] req...
Request an update of the value for the supplied parameter.
0 module [1];1 function_definition [2,3,6];2 function_name [] get;3 parameters [4,5];4 identifier [] self;5 identifier [] item;6 block [7,22];7 expression_statement [8];8 assignment [9,10];9 identifier [] uri;10 binary_operator [11,12] %;11 string [] /%s/%s;12 tuple [13,16];13 attribute [14,15];14 identifier [] self;15...
Gets a specific item.
0 module [1];1 function_definition [2,3,8];2 function_name [] tcp_echo_client;3 parameters [4,5,6,7];4 identifier [] message;5 identifier [] loop;6 identifier [] host;7 identifier [] port;8 block [9,18,34,45,52,62,73];9 expression_statement [10];10 call [11,12];11 identifier [] print;12 argument_list [13];13 binary_ope...
Generic python tcp echo client
0 module [1];1 function_definition [2,3,5];2 function_name [] close;3 parameters [4];4 identifier [] self;5 block [6,19,32,45,58];6 try_statement [7,16];7 block [8];8 expression_statement [9];9 call [10,15];10 attribute [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] payload;14 identifier [] close;1...
Explicitly close open file handles, databases etc.
0 module [1];1 function_definition [2,3,9];2 function_name [] utc_to_local;3 parameters [4,5,6];4 identifier [] time_str;5 identifier [] use_12_hour_format;6 default_parameter [7,8];7 identifier [] show_datetime;8 False [];9 block [10,29,39,51,119,125,146];10 if_statement [11,26];11 not_operator [12];12 () [13];13 bool...
Converts the API UTC time string to the local user time.
0 module [1];1 function_definition [2,3,6];2 function_name [] OnNodeActivated;3 parameters [4,5];4 identifier [] self;5 identifier [] event;6 block [7];7 try_statement [8,21,42];8 block [9];9 expression_statement [10];10 assignment [11,12];11 identifier [] node;12 subscript [13,16];13 attribute [14,15];14 identifier []...
We have double-clicked for hit enter on a node refocus squaremap to this node
0 module [1];1 function_definition [2,3,7];2 function_name [] parse_line;3 parameters [4,5,6];4 identifier [] self;5 identifier [] line;6 identifier [] lineno;7 block [8,22,40];8 if_statement [9,15];9 call [10,13];10 attribute [11,12];11 identifier [] line;12 identifier [] startswith;13 argument_list [14];14 string [] ...
Check a single line for an error. Keeps track of the linenumber
0 module [1];1 function_definition [2,3,6];2 function_name [] process_request;3 parameters [4,5];4 identifier [] self;5 identifier [] request;6 block [7,13];7 assert_statement [8];8 call [9,10];9 identifier [] hasattr;10 argument_list [11,12];11 identifier [] request;12 string [] user;13 if_statement [14,22];14 not_ope...
Check if user is logged in
0 module [1];1 function_definition [2,3,7];2 function_name [] _get_wmi_setting;3 parameters [4,5,6];4 identifier [] wmi_class_name;5 identifier [] setting;6 identifier [] server;7 block [8,98];8 with_statement [9,20];9 with_clause [10];10 with_item [11];11 call [12,19];12 attribute [13,18];13 attribute [14,17];14 attri...
Get the value of the setting for the provided class.
0 module [1];1 function_definition [2,3,5];2 function_name [] isIsosceles;3 parameters [4];4 identifier [] self;5 block [6];6 return_statement [7];7 boolean_operator [8,25] or;8 boolean_operator [9,17] or;9 () [10];10 comparison_operator [11,14] ==;11 attribute [12,13];12 identifier [] self;13 identifier [] a;14 attrib...
True iff two side lengths are equal, boolean.
0 module [1];1 function_definition [2,3,6];2 function_name [] stripe_to_db;3 parameters [4,5];4 identifier [] self;5 identifier [] data;6 block [7,18];7 expression_statement [8];8 assignment [9,10];9 identifier [] val;10 call [11,14];11 attribute [12,13];12 identifier [] data;13 identifier [] get;14 argument_list [15];...
Convert the raw value to decimal representation.
0 module [1];1 function_definition [2,3,7];2 function_name [] x10;3 parameters [4,5,6];4 identifier [] cls;5 identifier [] housecode;6 identifier [] unitcode;7 block [8,72,128,141,147];8 if_statement [9,32,44];9 comparison_operator [10,15] in;10 call [11,14];11 attribute [12,13];12 identifier [] housecode;13 identifier...
Create an X10 device address.
0 module [1];1 function_definition [2,3,5];2 function_name [] getStatus;3 parameters [4];4 identifier [] self;5 block [6,10,19];6 expression_statement [7];7 assignment [8,9];8 identifier [] command;9 string [] $GS;10 expression_statement [11];11 assignment [12,13];12 identifier [] status;13 call [14,17];14 attribute [1...
Returns the charger's charge status, as a string
0 module [1];1 function_definition [2,3,6];2 function_name [] index;3 parameters [4,5];4 identifier [] self;5 identifier [] request;6 block [7,19];7 expression_statement [8];8 assignment [9,10];9 identifier [] objects;10 call [11,18];11 attribute [12,17];12 attribute [13,16];13 attribute [14,15];14 identifier [] self;1...
Render a list of objects.
0 module [1];1 function_definition [2,3,8];2 function_name [] _free_sequence;3 parameters [4,5];4 identifier [] tmp1;5 default_parameter [6,7];6 identifier [] tmp2;7 False [];8 block [9,18,22,85,92,99];9 if_statement [10,15];10 boolean_operator [11,13] and;11 not_operator [12];12 identifier [] tmp1;13 not_operator [14]...
Outputs a FREEMEM sequence for 1 or 2 ops
0 module [1];1 function_definition [2,3,5];2 function_name [] iriToURI;3 parameters [4];4 identifier [] iri;5 block [6,23];6 if_statement [7,12];7 call [8,9];8 identifier [] isinstance;9 argument_list [10,11];10 identifier [] iri;11 identifier [] bytes;12 block [13];13 expression_statement [14];14 assignment [15,16];15...
Transform an IRI to a URI by escaping unicode.
0 module [1];1 function_definition [2,3,10];2 function_name [] update_cache_settings;3 parameters [4,5,6,7,8];4 identifier [] self;5 identifier [] service_id;6 identifier [] version_number;7 identifier [] name_key;8 dictionary_splat_pattern [9];9 identifier [] kwargs;10 block [11,23,43];11 expression_statement [12];12 ...
Update a specific cache settings object.
0 module [1];1 function_definition [2,3,5];2 function_name [] p5list;3 parameters [4];4 identifier [] num;5 block [6,14,20,41,50,63];6 import_from_statement [7,12];7 relative_import [8,9];8 import_prefix [];9 dotted_name [10,11];10 identifier [] website;11 identifier [] pocketfives;12 dotted_name [13];13 identifier [] ...
List pocketfives ranked players, max 100 if no NUM, or NUM if specified.
0 module [1];1 function_definition [2,3,4];2 function_name [] createBlendedFolders;3 parameters [];4 block [5,18,32,47,62,77];5 expression_statement [6];6 call [7,8];7 identifier [] create_folder;8 argument_list [9];9 call [10,15];10 attribute [11,14];11 attribute [12,13];12 identifier [] os;13 identifier [] path;14 id...
Creates the standard folders for a Blended website
0 module [1];1 function_definition [2,3,5];2 function_name [] configs_in;3 parameters [4];4 identifier [] src_dir;5 block [6];6 for_statement [7,8,13];7 identifier [] filename;8 call [9,10];9 identifier [] files_in_dir;10 argument_list [11,12];11 identifier [] src_dir;12 string [] json;13 block [14];14 with_statement [...
Enumerate all configs in src_dir
0 module [1];1 function_definition [2,3,4];2 function_name [] prioritize;3 parameters [];4 block [5];5 while_statement [6,7];6 True [];7 block [8,23,38,53,110,143];8 expression_statement [9];9 assignment [10,11];10 identifier [] hp_qs;11 call [12,21];12 attribute [13,20];13 call [14,19];14 attribute [15,18];15 attribut...
Yield the messages in the queue in the order they should be sent.
0 module [1];1 function_definition [2,3,4];2 function_name [] remove_summaries;3 parameters [];4 block [5,13,21,36,46];5 expression_statement [6];6 assignment [7,8];7 identifier [] g;8 call [9,12];9 attribute [10,11];10 identifier [] tf;11 identifier [] get_default_graph;12 argument_list [];13 expression_statement [14]...
Remove summaries from the default graph.