sequence
stringlengths
388
5.57k
docstring
stringlengths
11
171
0 module [1];1 function_definition [2,3,13];2 function_name [] load_rv_data;3 parameters [4,5,6,7,10];4 identifier [] filename;5 identifier [] indep;6 identifier [] dep;7 default_parameter [8,9];8 identifier [] indweight;9 None [];10 default_parameter [11,12];11 identifier [] dir;12 string [] ./;13 block [14,38,50,59,6...
load dictionary with rv data.
0 module [1];1 function_definition [2,3,8];2 function_name [] remove_thin_device;3 parameters [4,5];4 identifier [] name;5 default_parameter [6,7];6 identifier [] force;7 False [];8 block [9,17,26];9 expression_statement [10];10 assignment [11,12];11 identifier [] cmd;12 list [13,14,15,16] ['dmsetup', 'remove', '--retr...
Destroys a thin device via subprocess call.
0 module [1];1 function_definition [2,3,11];2 function_name [] find_all_by_parameters;3 parameters [4,5,6,9];4 identifier [] self;5 identifier [] task_name;6 default_parameter [7,8];7 identifier [] session;8 None [];9 dictionary_splat_pattern [10];10 identifier [] task_params;11 block [12];12 with_statement [13,24];13 ...
Find tasks with the given task_name and the same parameters as the kwargs.
0 module [1];1 function_definition [2,3,5];2 function_name [] _ufo_logging_ref;3 parameters [4];4 identifier [] ufo;5 block [6,22];6 if_statement [7,10];7 attribute [8,9];8 identifier [] ufo;9 identifier [] path;10 block [11];11 return_statement [12];12 call [13,18];13 attribute [14,17];14 attribute [15,16];15 identifi...
Return a string that can identify this UFO in logs.
0 module [1];1 function_definition [2,3,7];2 function_name [] from_cache;3 parameters [4,5,6];4 identifier [] self;5 identifier [] section;6 identifier [] name;7 block [8,26,33,44];8 expression_statement [9];9 assignment [10,11];10 identifier [] cached_value;11 call [12,17];12 attribute [13,16];13 attribute [14,15];14 ...
Return a preference raw_value from cache
0 module [1];1 function_definition [2,3,6];2 function_name [] replace;3 parameters [4,5];4 identifier [] old;5 identifier [] new;6 block [7,15];7 expression_statement [8];8 assignment [9,10];9 identifier [] parent;10 call [11,14];11 attribute [12,13];12 identifier [] old;13 identifier [] getparent;14 argument_list [];1...
A simple way to replace one element node with another.
0 module [1];1 function_definition [2,3,5];2 function_name [] clear;3 parameters [4];4 identifier [] self;5 block [6,12,29];6 expression_statement [7];7 augmented_assignment [8,11] |=;8 attribute [9,10];9 identifier [] self;10 identifier [] sam;11 identifier [] KEY_WRITE;12 for_statement [13,14,22];13 identifier [] v;1...
Remove all subkeys and values from this key.
0 module [1];1 function_definition [2,3,11];2 function_name [] copychildren;3 parameters [4,5,8];4 identifier [] self;5 default_parameter [6,7];6 identifier [] newdoc;7 None [];8 default_parameter [9,10];9 identifier [] idsuffix;10 string [];11 block [12,30];12 if_statement [13,16];13 comparison_operator [14,15] is;14 ...
Generator creating a deep copy of the children of this element. If idsuffix is a string, if set to True, a random idsuffix will be generated including a random 32-bit hash
0 module [1];1 function_definition [2,3,9];2 function_name [] color;3 parameters [4,5,6,7,8];4 identifier [] ip;5 identifier [] mac;6 identifier [] hue;7 identifier [] saturation;8 identifier [] value;9 block [10,18];10 expression_statement [11];11 assignment [12,13];12 identifier [] bulb;13 call [14,15];14 identifier ...
Switch the bulb on with the given color.
0 module [1];1 function_definition [2,3,14];2 function_name [] create_reader_instances;3 parameters [4,5,8,11];4 identifier [] self;5 default_parameter [6,7];6 identifier [] filenames;7 None [];8 default_parameter [9,10];9 identifier [] reader;10 None [];11 default_parameter [12,13];12 identifier [] reader_kwargs;13 No...
Find readers and return their instances.
0 module [1];1 function_definition [2,3,9];2 function_name [] __SendMediaBody;3 parameters [4,5,6];4 identifier [] self;5 identifier [] start;6 default_parameter [7,8];7 identifier [] additional_headers;8 None [];9 block [10,16,30,46,65,75,107,115,127];10 expression_statement [11];11 call [12,15];12 attribute [13,14];1...
Send the entire media stream in a single request.
0 module [1];1 function_definition [2,3,10];2 function_name [] insertDict;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] tblname;6 identifier [] d;7 default_parameter [8,9];8 identifier [] fields;9 None [];10 block [11,27,31];11 if_statement [12,15];12 comparison_operator [13,14] ==;13 identifier [] fields...
Simple function for inserting a dictionary whose keys match the fieldnames of tblname.
0 module [1];1 function_definition [2,3,5];2 function_name [] decode_from_sha;3 parameters [4];4 identifier [] sha;5 block [6,22];6 if_statement [7,12];7 call [8,9];8 identifier [] isinstance;9 argument_list [10,11];10 identifier [] sha;11 identifier [] str;12 block [13];13 expression_statement [14];14 assignment [15,1...
convert coerced sha back into numeric list
0 module [1];1 function_definition [2,3,10];2 function_name [] partition;3 parameters [4,5,8];4 identifier [] self;5 default_parameter [6,7];6 identifier [] ref;7 None [];8 dictionary_splat_pattern [9];9 identifier [] kwargs;10 block [11,18,25,34];11 import_from_statement [12,16];12 dotted_name [13,14,15];13 identifier...
Return a partition in this bundle for a vid reference or name parts
0 module [1];1 function_definition [2,3,7];2 function_name [] register;3 parameters [4,5,6];4 identifier [] self;5 identifier [] name;6 identifier [] obj;7 block [8,37,45,53];8 if_statement [9,14];9 comparison_operator [10,11] in;10 identifier [] name;11 attribute [12,13];12 identifier [] self;13 identifier [] all;14 b...
Registers an unique type description
0 module [1];1 function_definition [2,3,10];2 function_name [] walk_revctrl;3 parameters [4,7];4 default_parameter [5,6];5 identifier [] dirname;6 string [];7 default_parameter [8,9];8 identifier [] ff;9 string [];10 block [11,15,19,39,135,163];11 expression_statement [12];12 assignment [13,14];13 identifier [] file_fi...
Return files found by the file-finder 'ff'.
0 module [1];1 function_definition [2,3,16];2 function_name [] upload_celery_conf;3 parameters [4,7,10,13];4 default_parameter [5,6];5 identifier [] command;6 string [] celeryd;7 default_parameter [8,9];8 identifier [] app_name;9 None [];10 default_parameter [11,12];11 identifier [] template_name;12 None [];13 default_...
Upload Supervisor configuration for a celery command.
0 module [1];1 function_definition [2,3,5];2 function_name [] update_identity;3 parameters [4];4 identifier [] self;5 block [6,12,18,30,42];6 expression_statement [7];7 assignment [8,9];8 identifier [] fr;9 attribute [10,11];10 identifier [] self;11 identifier [] record;12 expression_statement [13];13 assignment [14,15...
Update the identity and names to match the dataset id and version
0 module [1];1 function_definition [2,3,6];2 function_name [] write;3 parameters [4,5];4 identifier [] self;5 identifier [] fptr;6 block [7,16,25,35,49,62];7 expression_statement [8];8 call [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] _validate;12 argument_list [13];13 keyword_argument [14,15];14 i...
Write a fragment list box to file.
0 module [1];1 function_definition [2,3,18];2 function_name [] create;3 parameters [4,5,6,9,12,15];4 identifier [] self;5 identifier [] key;6 default_parameter [7,8];7 identifier [] value;8 None [];9 default_parameter [10,11];10 identifier [] dir;11 False [];12 default_parameter [13,14];13 identifier [] ttl;14 None [];...
Creates a new key.
0 module [1];1 function_definition [2,3,8];2 function_name [] init;3 parameters [4,6];4 list_splat_pattern [5];5 identifier [] args;6 dictionary_splat_pattern [7];7 identifier [] kwargs;8 block [9,19,25,41,51];9 expression_statement [10];10 assignment [11,12];11 identifier [] default_log_level;12 call [13,16];13 attrib...
Returns an initialized instance of the Batch class
0 module [1];1 function_definition [2,3,5];2 function_name [] _stop_timers;3 parameters [4];4 identifier [] canvas;5 block [6];6 for_statement [7,8,12];7 identifier [] attr;8 call [9,10];9 identifier [] dir;10 argument_list [11];11 identifier [] canvas;12 block [13,30];13 try_statement [14,23];14 block [15];15 expressi...
Stop all timers in a canvas.
0 module [1];1 function_definition [2,3,5];2 function_name [] drop;3 parameters [4];4 identifier [] self;5 block [6,24];6 if_statement [7,12];7 comparison_operator [8,11] is;8 attribute [9,10];9 identifier [] self;10 identifier [] _is_dropped;11 False [];12 block [13];13 expression_statement [14];14 call [15,20];15 att...
Drop the table from the database
0 module [1];1 function_definition [2,3,10];2 function_name [] extract_element;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] vector;6 identifier [] idx;7 default_parameter [8,9];8 identifier [] name;9 string [];10 block [11,27,34];11 expression_statement [12];12 assignment [13,14];13 identifier [] instr;1...
Returns the value at position idx.
0 module [1];1 function_definition [2,3,7];2 function_name [] split_title;3 parameters [4,5,6];4 identifier [] title;5 identifier [] width;6 identifier [] title_fs;7 block [8,12,18,28,37,109];8 expression_statement [9];9 assignment [10,11];10 identifier [] titles;11 list [] [];12 if_statement [13,15];13 not_operator [1...
Split a string for a specified width and font size
0 module [1];1 function_definition [2,3,5];2 function_name [] cast_number_strings_to_integers;3 parameters [4];4 identifier [] d;5 block [6,38];6 for_statement [7,10,15];7 pattern_list [8,9];8 identifier [] k;9 identifier [] v;10 call [11,14];11 attribute [12,13];12 identifier [] d;13 identifier [] items;14 argument_li...
d is a dict
0 module [1];1 function_definition [2,3,5];2 function_name [] indim;3 parameters [4];4 identifier [] self;5 block [6,19];6 expression_statement [7];7 assignment [8,9];8 identifier [] indim;9 binary_operator [10,13] *;10 attribute [11,12];11 identifier [] self;12 identifier [] numOffbids;13 call [14,15];14 identifier []...
The number of action values that the environment accepts.
0 module [1];1 function_definition [2,3,8];2 function_name [] subscribe;3 parameters [4,5];4 identifier [] self;5 default_parameter [6,7];6 identifier [] topic;7 string [] b'';8 block [9,25,35];9 expression_statement [10];10 call [11,20];11 attribute [12,19];12 subscript [13,16];13 attribute [14,15];14 identifier [] se...
subscribe to the SUB socket, to listen for incomming variables, return a stream that can be listened to.
0 module [1];1 function_definition [2,3,5];2 function_name [] retrieve_data;3 parameters [4];4 identifier [] self;5 block [6,30,43];6 expression_statement [7];7 assignment [8,9];8 identifier [] df;9 call [10,15];10 attribute [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] manager;14 identifier [] ge...
Retrives data as a DataFrame.
0 module [1];1 function_definition [2,3,6];2 function_name [] PARAMLIMITS;3 parameters [4,5];4 identifier [] self;5 identifier [] value;6 block [7,28,65];7 assert_statement [8,27];8 comparison_operator [9,17] ==;9 call [10,11];10 identifier [] set;11 argument_list [12];12 call [13,16];13 attribute [14,15];14 identifier...
Set new `PARAMLIMITS` dictionary.
0 module [1];1 function_definition [2,3,5];2 function_name [] build_target_areas;3 parameters [4];4 identifier [] entry;5 block [6,10,24,39];6 expression_statement [7];7 assignment [8,9];8 identifier [] target_areas;9 list [] [];10 expression_statement [11];11 assignment [12,13];12 identifier [] areas;13 call [14,22];1...
Cleanup the raw target areas description string
0 module [1];1 function_definition [2,3,10];2 function_name [] volume;3 parameters [4,5,6];4 identifier [] self;5 identifier [] ctx;6 typed_parameter [7,8];7 identifier [] volume;8 type [9];9 identifier [] int;10 block [11,26,38];11 if_statement [12,17];12 comparison_operator [13,16] is;13 attribute [14,15];14 identifi...
Changes the player's volume
0 module [1];1 function_definition [2,3,8];2 function_name [] select_models;3 parameters [4,5,6];4 identifier [] clas;5 identifier [] pool_or_cursor;6 dictionary_splat_pattern [7];7 identifier [] kwargs;8 block [9,11,21];9 expression_statement [10];10 string [] returns generator yielding instances of the class;11 if_st...
returns generator yielding instances of the class
0 module [1];1 function_definition [2,3,6];2 function_name [] schema;3 parameters [4,5];4 identifier [] ctx;5 identifier [] schema;6 block [7,16,31];7 expression_statement [8];8 assignment [9,10];9 identifier [] data;10 call [11,14];11 attribute [12,13];12 identifier [] yaml;13 identifier [] load;14 argument_list [15];...
Load schema definitions from a YAML file.
0 module [1];1 function_definition [2,3,6];2 function_name [] get_property;3 parameters [4,5];4 identifier [] self;5 identifier [] command;6 block [7,15,24,33,53,59];7 expression_statement [8];8 call [9,12];9 attribute [10,11];10 identifier [] _LOGGER;11 identifier [] debug;12 argument_list [13,14];13 string [] Getting...
Get property state from device.
0 module [1];1 function_definition [2,3,8];2 function_name [] diff;3 parameters [4,5];4 identifier [] self;5 default_parameter [6,7];6 identifier [] obj;7 None [];8 block [9,16,31,43,47,127];9 if_statement [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] no_resource;13 block [14];14 return_statement ...
Determine if something has changed or not
0 module [1];1 function_definition [2,3,6];2 function_name [] peers_by_group;3 parameters [4,5];4 identifier [] self;5 identifier [] name;6 block [7];7 return_statement [8];8 call [9,12];9 attribute [10,11];10 identifier [] czmq;11 identifier [] Zlist;12 argument_list [13,22];13 call [14,17];14 attribute [15,16];15 ide...
Return zlist of current peers of this group.
0 module [1];1 function_definition [2,3,5];2 function_name [] controller;3 parameters [4];4 identifier [] self;5 block [6];6 return_statement [7];7 await [8];8 call [9,12];9 attribute [10,11];10 identifier [] Connection;11 identifier [] connect;12 argument_list [13,16,21,26,31,36,41];13 attribute [14,15];14 identifier ...
Return a Connection to the controller at self.endpoint
0 module [1];1 function_definition [2,3,6];2 function_name [] qmark;3 parameters [4,5];4 identifier [] cls;5 identifier [] query;6 block [7,39];7 function_definition [8,9,11];8 function_name [] sub_sequence;9 parameters [10];10 identifier [] m;11 block [12,21,28];12 expression_statement [13];13 assignment [14,15];14 id...
Convert a "qmark" query into "format" style.
0 module [1];1 function_definition [2,3,5];2 function_name [] returner;3 parameters [4];4 identifier [] ret;5 block [6,13];6 expression_statement [7];7 assignment [8,9];8 identifier [] opts;9 call [10,11];10 identifier [] _get_options;11 argument_list [12];12 identifier [] ret;13 try_statement [14,57];14 block [15];15 ...
Write the return data to a file on the minion.
0 module [1];1 function_definition [2,3,5];2 function_name [] file_fingerprint;3 parameters [4];4 identifier [] fullpath;5 block [6,15];6 expression_statement [7];7 assignment [8,9];8 identifier [] stat;9 call [10,13];10 attribute [11,12];11 identifier [] os;12 identifier [] stat;13 argument_list [14];14 identifier [] ...
Get a metadata fingerprint for a file
0 module [1];1 function_definition [2,3,9];2 function_name [] import_mock;3 parameters [4,5,7];4 identifier [] name;5 list_splat_pattern [6];6 identifier [] args;7 dictionary_splat_pattern [8];8 identifier [] kwargs;9 block [10,28];10 if_statement [11,23];11 call [12,13];12 identifier [] any;13 generator_expression [14...
Mock all modules starting with one of the mock_modules names.
0 module [1];1 function_definition [2,3,7];2 function_name [] _is_valid_decimal;3 parameters [4,5,6];4 identifier [] self;5 identifier [] inpt;6 identifier [] metadata;7 block [8,25,43,60,77,94];8 if_statement [9,22];9 not_operator [10];10 () [11];11 boolean_operator [12,17] or;12 call [13,14];13 identifier [] isinstan...
Checks if input is a valid decimal value
0 module [1];1 function_definition [2,3,9];2 function_name [] _reformat_docstring;3 parameters [4,5,6];4 identifier [] doc;5 identifier [] format_fn;6 default_parameter [7,8];7 identifier [] code_newline;8 string [];9 block [10,14,27,31,152];10 expression_statement [11];11 assignment [12,13];12 identifier [] out;13 lis...
Go through lines of file and reformat using format_fn
0 module [1];1 function_definition [2,3,44,46];2 function_name [] draw_rect;3 parameters [4,5,9,13,17,21,22,27,32,39];4 identifier [] self;5 typed_parameter [6,7];6 identifier [] x;7 type [8];8 identifier [] float;9 typed_parameter [10,11];10 identifier [] y;11 type [12];12 identifier [] float;13 typed_parameter [14,15...
Draws the given rectangle.
0 module [1];1 function_definition [2,3,8];2 function_name [] global_variable_action;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] text;6 identifier [] loc;7 identifier [] var;8 block [9,17,47,63,74];9 expression_statement [10];10 call [11,14];11 attribute [12,13];12 identifier [] exshared;13 identifier [...
Code executed after recognising a global variable
0 module [1];1 function_definition [2,3,9];2 function_name [] save;3 parameters [4,5,7];4 identifier [] self;5 list_splat_pattern [6];6 identifier [] args;7 dictionary_splat_pattern [8];8 identifier [] kwargs;9 block [10,21,32];10 expression_statement [11];11 assignment [12,15];12 attribute [13,14];13 identifier [] sel...
Clean text and save formatted version.
0 module [1];1 function_definition [2,3,5];2 function_name [] __check_submodules;3 parameters [4];4 identifier [] self;5 block [6,18,72,89,99,109];6 if_statement [7,16];7 not_operator [8];8 call [9,14];9 attribute [10,13];10 attribute [11,12];11 identifier [] os;12 identifier [] path;13 identifier [] exists;14 argument...
Verify that the submodules are checked out and clean.
0 module [1];1 function_definition [2,3,10];2 function_name [] dict_to_op;3 parameters [4,5,6,7];4 identifier [] d;5 identifier [] index_name;6 identifier [] doc_type;7 default_parameter [8,9];8 identifier [] op_type;9 string [] index;10 block [11,18,26,51,61,82,89];11 if_statement [12,15];12 comparison_operator [13,14...
Create a bulk-indexing operation from the given dictionary.
0 module [1];1 function_definition [2,3,4];2 function_name [] play;3 parameters [];4 block [5];5 with_statement [6,19];6 with_clause [7];7 with_item [8];8 as_pattern [9,17];9 call [10,13];10 attribute [11,12];11 identifier [] sqlite3;12 identifier [] connect;13 argument_list [14];14 attribute [15,16];15 identifier [] A...
Open the matched movie with a media player.
0 module [1];1 function_definition [2,3,5];2 function_name [] normalize;3 parameters [4];4 identifier [] name;5 block [6,16,26,36];6 expression_statement [7];7 assignment [8,9];8 identifier [] ret;9 call [10,13];10 attribute [11,12];11 identifier [] name;12 identifier [] replace;13 argument_list [14,15];14 string [] :;...
Normalize name for the Statsd convention
0 module [1];1 function_definition [2,3,8];2 function_name [] all;3 parameters [4,5];4 identifier [] self;5 default_parameter [6,7];6 identifier [] components_in_and;7 True [];8 block [9,15];9 expression_statement [10];10 assignment [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] components_in_and;1...
Return all of the results of a query in a list
0 module [1];1 function_definition [2,3,5];2 function_name [] delay;3 parameters [4];4 identifier [] self;5 block [6,27,56,73,93];6 expression_statement [7];7 assignment [8,9];8 identifier [] delay;9 dictionary [10,13,16,19,24];10 pair [11,12];11 string [] departure_time;12 None [];13 pair [14,15];14 string [] departur...
Return the delay of the train for this instance
0 module [1];1 function_definition [2,3,6];2 function_name [] global_max;3 parameters [4,5];4 identifier [] col_vals;5 identifier [] index;6 block [7,19,29];7 expression_statement [8];8 assignment [9,10];9 identifier [] col_vals_without_None;10 list_comprehension [11,12,15];11 identifier [] x;12 for_in_clause [13,14];1...
Returns the global maximum and minimum.
0 module [1];1 function_definition [2,3,7];2 function_name [] _disambiguate_pos;3 parameters [4,5,6];4 identifier [] self;5 identifier [] terms;6 identifier [] pos;7 block [8,30,47,54,63,67,179];8 expression_statement [9];9 assignment [10,11];10 identifier [] candidate_map;11 dictionary_comprehension [12,27];12 pair [1...
Disambiguates a list of tokens of a given PoS.
0 module [1];1 function_definition [2,3,5];2 function_name [] access_list;3 parameters [4];4 identifier [] package;5 block [6,16,23,43,52,60,66];6 expression_statement [7];7 assignment [8,12];8 pattern_list [9,10,11];9 identifier [] team;10 identifier [] owner;11 identifier [] pkg;12 call [13,14];13 identifier [] parse...
Print list of users who can access a package.
0 module [1];1 function_definition [2,3,5];2 function_name [] dist_dir;3 parameters [4];4 identifier [] self;5 block [6,31];6 if_statement [7,12];7 comparison_operator [8,11] is;8 attribute [9,10];9 identifier [] self;10 identifier [] distribution;11 None [];12 block [13,26];13 expression_statement [14];14 call [15,16]...
The dist dir at which to place the finished distribution.
0 module [1];1 function_definition [2,3,5];2 function_name [] disable;3 parameters [4];4 identifier [] self;5 block [6,19,27];6 expression_statement [7];7 call [8,15];8 attribute [9,14];9 attribute [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] engine;13 identifier [] data;14 identifier [] update;1...
Disable the sandbox on this engine.
0 module [1];1 function_definition [2,3,10];2 function_name [] evaluate_binop_logical;3 parameters [4,5,6,7,8];4 identifier [] self;5 identifier [] operation;6 identifier [] left;7 identifier [] right;8 dictionary_splat_pattern [9];9 identifier [] kwargs;10 block [11,29,41];11 if_statement [12,18];12 not_operator [13];...
Evaluate given logical binary operation with given operands.
0 module [1];1 function_definition [2,3,8];2 function_name [] secondary_spin;3 parameters [4,5,6,7];4 identifier [] mass1;5 identifier [] mass2;6 identifier [] spin1;7 identifier [] spin2;8 block [9,24,33,39,47];9 expression_statement [10];10 assignment [11,17];11 pattern_list [12,13,14,15,16];12 identifier [] mass1;13...
Returns the dimensionless spin of the secondary mass.
0 module [1];1 function_definition [2,3,5];2 function_name [] use_plenary_assessment_offered_view;3 parameters [4];4 identifier [] self;5 block [6,14];6 expression_statement [7];7 assignment [8,13];8 subscript [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] _object_views;12 string [] assessment_offere...
Pass through to provider AssessmentOfferedLookupSession.use_plenary_assessment_offered_view
0 module [1];1 function_definition [2,3,6];2 function_name [] visit_AST_or;3 parameters [4,5];4 identifier [] self;5 identifier [] pattern;6 block [7];7 return_statement [8];8 call [9,10];9 identifier [] any;10 generator_expression [11,20];11 call [12,15];12 attribute [13,14];13 identifier [] self;14 identifier [] fiel...
Match if any of the or content match with the other node.
0 module [1];1 function_definition [2,3,5];2 function_name [] run;3 parameters [4];4 identifier [] self;5 block [6,32,43,54,69,76];6 for_statement [7,8,14];7 identifier [] rel_path;8 call [9,10];9 identifier [] sorted;10 argument_list [11];11 attribute [12,13];12 identifier [] self;13 identifier [] paths;14 block [15,2...
Start json minimizer and exit when all json files were minimized.
0 module [1];1 function_definition [2,3,6];2 function_name [] IsFileStatEntry;3 parameters [4,5];4 identifier [] self;5 identifier [] original_result;6 block [7];7 return_statement [8];8 () [9];9 comparison_operator [10,15] in;10 attribute [11,14];11 attribute [12,13];12 identifier [] original_result;13 identifier [] p...
Checks if given RDFValue is a file StatEntry.
0 module [1];1 function_definition [2,3,4];2 function_name [] secp256r1;3 parameters [];4 block [5,16,25];5 expression_statement [6];6 assignment [7,8];7 identifier [] GFp;8 call [9,10];9 identifier [] FiniteField;10 argument_list [11];11 call [12,13];12 identifier [] int;13 argument_list [14,15];14 string [] FFFFFFFF0...
create the secp256r1 curve
0 module [1];1 function_definition [2,3,12];2 function_name [] extractSeqAndQuals;3 parameters [4,5,6,7,8,9];4 identifier [] seq;5 identifier [] quals;6 identifier [] umi_bases;7 identifier [] cell_bases;8 identifier [] discard_bases;9 default_parameter [10,11];10 identifier [] retain_umi;11 False [];12 block [13,17,21...
Remove selected bases from seq and quals
0 module [1];1 function_definition [2,3,5];2 function_name [] _empty_notification;3 parameters [4];4 identifier [] self;5 block [6,12,22,43,51];6 expression_statement [7];7 assignment [8,9];8 identifier [] sess;9 attribute [10,11];10 identifier [] cherrypy;11 identifier [] session;12 expression_statement [13];13 assign...
empty and return list of message notification
0 module [1];1 function_definition [2,3,5];2 function_name [] from_pillow;3 parameters [4];4 identifier [] pil_image;5 block [6,15,24,42];6 expression_statement [7];7 assignment [8,9];8 identifier [] pil_image;9 call [10,13];10 attribute [11,12];11 identifier [] pil_image;12 identifier [] convert;13 argument_list [14];...
Convert from pillow image to opencv
0 module [1];1 function_definition [2,3,7];2 function_name [] _upgrades;3 parameters [4,5,6];4 identifier [] self;5 identifier [] sid;6 identifier [] transport;7 block [8,38];8 if_statement [9,35];9 boolean_operator [10,32] or;10 boolean_operator [11,24,25] or;11 boolean_operator [12,16] or;12 not_operator [13];13 attr...
Return the list of possible upgrades for a client connection.
0 module [1];1 function_definition [2,3,5];2 function_name [] to_string;3 parameters [4];4 identifier [] self;5 block [6,17,23,81,98,107,118];6 expression_statement [7];7 assignment [8,9];8 identifier [] node;9 call [10,11];10 identifier [] quote_if_necessary;11 argument_list [12];12 subscript [13,16];13 attribute [14,...
Return string representation of node in DOT language.
0 module [1];1 function_definition [2,3,6];2 function_name [] _primary_input;3 parameters [4,5];4 identifier [] self;5 identifier [] index;6 block [7,15,25,35,45,55,65,73,83];7 expression_statement [8];8 assignment [9,10];9 identifier [] primary_input;10 call [11,14];11 attribute [12,13];12 identifier [] z;13 identifie...
Primary input for the zkproof
0 module [1];1 function_definition [2,3,5];2 function_name [] measurement_time_typical;3 parameters [4];4 identifier [] self;5 block [6,10,31,54,77];6 expression_statement [7];7 assignment [8,9];8 identifier [] meas_time_ms;9 float [] 1.0;10 if_statement [11,16];11 comparison_operator [12,15] !=;12 attribute [13,14];13...
Typical time in milliseconds required to complete a measurement in normal mode
0 module [1];1 function_definition [2,3,5];2 function_name [] extract_date;3 parameters [4];4 identifier [] value;5 block [6,14,55];6 expression_statement [7];7 assignment [8,9];8 identifier [] dtime;9 call [10,13];10 attribute [11,12];11 identifier [] value;12 identifier [] to_datetime;13 argument_list [];14 expressio...
Convert timestamp to datetime and set everything to zero except a date
0 module [1];1 function_definition [2,3,4];2 function_name [] layers;3 parameters [];4 block [5,7,14,20,56,60];5 global_statement [6];6 identifier [] _cached_layers;7 if_statement [8,11];8 comparison_operator [9,10] is not;9 identifier [] _cached_layers;10 None [];11 block [12];12 return_statement [13];13 identifier []...
Get the layers module good for TF 1 and TF 2 work for now.
0 module [1];1 function_definition [2,3,5];2 function_name [] __get_default_settings;3 parameters [4];4 identifier [] self;5 block [6,20];6 expression_statement [7];7 call [8,11];8 attribute [9,10];9 identifier [] LOGGER;10 identifier [] debug;11 argument_list [12];12 call [13,16];13 attribute [14,15];14 string [] > Ac...
Gets the default settings.
0 module [1];1 function_definition [2,3,12];2 function_name [] sample;3 parameters [4,5,6,9];4 identifier [] self;5 identifier [] hash;6 default_parameter [7,8];7 identifier [] limit;8 None [];9 default_parameter [10,11];10 identifier [] offset;11 None [];12 block [13,26,36];13 expression_statement [14];14 assignment [...
Return an object representing the sample identified by the input hash, or an empty object if that sample is not found
0 module [1];1 function_definition [2,3,4];2 function_name [] applied;3 parameters [];4 block [5,11,19];5 expression_statement [6];6 assignment [7,8];7 identifier [] upgrader;8 call [9,10];9 identifier [] InvenioUpgrader;10 argument_list [];11 expression_statement [12];12 assignment [13,14];13 identifier [] logger;14 c...
Command for showing all upgrades already applied.
0 module [1];1 function_definition [2,3,5];2 function_name [] _update_gmt;3 parameters [4];4 identifier [] self;5 block [6];6 if_statement [7,12];7 comparison_operator [8,11] is not;8 attribute [9,10];9 identifier [] self;10 identifier [] simulation_start;11 None [];12 block [13,41];13 expression_statement [14];14 assi...
Based on timezone and start date, the GMT card is updated
0 module [1];1 function_definition [2,3,12];2 function_name [] tokenize;3 parameters [4,5,6,9];4 identifier [] self;5 identifier [] text;6 default_parameter [7,8];7 identifier [] context;8 integer [] 0;9 default_parameter [10,11];10 identifier [] skip_style_tags;11 False [];12 block [13,24,36,50,58,64,83,97];13 express...
Build a list of tokens from a string of wikicode and return it.
0 module [1];1 function_definition [2,3,6];2 function_name [] parse_object;3 parameters [4,5];4 identifier [] self;5 identifier [] data;6 block [7,52];7 for_statement [8,11,16];8 pattern_list [9,10];9 identifier [] key;10 identifier [] value;11 call [12,15];12 attribute [13,14];13 identifier [] data;14 identifier [] it...
Look for datetime looking strings.
0 module [1];1 function_definition [2,3,11];2 function_name [] create;3 parameters [4,5,6,7,8];4 identifier [] cls;5 identifier [] parent;6 identifier [] child;7 identifier [] relation_type;8 default_parameter [9,10];9 identifier [] index;10 None [];11 block [12,64];12 try_statement [13,56];13 block [14];14 with_statem...
Create a PID relation for given parent and child.
0 module [1];1 function_definition [2,3,9];2 function_name [] _do_sse_request;3 parameters [4,5,6];4 identifier [] self;5 identifier [] path;6 default_parameter [7,8];7 identifier [] params;8 None [];9 block [10,32,151];10 expression_statement [11];11 assignment [12,13];12 identifier [] urls;13 list_comprehension [14,2...
Query Marathon server for events.
0 module [1];1 function_definition [2,3,6];2 function_name [] delete_subject;3 parameters [4,5];4 identifier [] self;5 identifier [] subject_id;6 block [7,18];7 expression_statement [8];8 assignment [9,10];9 identifier [] uri;10 call [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] _get_subject_uri;1...
Remove a specific subject by its identifier.
0 module [1];1 function_definition [2,3,6];2 function_name [] run_commands;3 parameters [4,5];4 identifier [] self;5 identifier [] commands;6 block [7];7 if_statement [8,13,32];8 comparison_operator [9,10] in;9 string [] eos;10 attribute [11,12];11 identifier [] self;12 identifier [] profile;13 block [14];14 return_sta...
Only useful for EOS
0 module [1];1 function_definition [2,3,5];2 function_name [] analysis_period;3 parameters [4];4 identifier [] self;5 block [6];6 return_statement [7];7 call [8,9];8 identifier [] AnalysisPeriod;9 argument_list [10,15,20,21,26,31];10 attribute [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] sky_cond...
The analysisperiod of the design day.
0 module [1];1 function_definition [2,3,4];2 function_name [] get;3 parameters [];4 block [5,15,39];5 expression_statement [6];6 assignment [7,8];7 identifier [] uptime;8 binary_operator [9,14] -;9 call [10,13];10 attribute [11,12];11 identifier [] time;12 identifier [] time;13 argument_list [];14 identifier [] START_T...
Check the health of this service
0 module [1];1 function_definition [2,3,6];2 function_name [] watch_firings;3 parameters [4,5];4 identifier [] self;5 identifier [] flag;6 block [7];7 expression_statement [8];8 call [9,12];9 attribute [10,11];10 identifier [] lib;11 identifier [] EnvSetDefruleWatchFirings;12 argument_list [13,16,20];13 attribute [14,1...
Whether or not the Rule firings are being watched.
0 module [1];1 function_definition [2,3,8];2 function_name [] custom_check;3 parameters [4,5];4 identifier [] cmd;5 default_parameter [6,7];6 identifier [] ignore_retcode;7 False [];8 block [9,16,26,39];9 expression_statement [10];10 assignment [11,12];11 identifier [] p;12 call [13,14];13 identifier [] custom_popen;14...
Run command, collect output, raise error if needed.
0 module [1];1 function_definition [2,3,5];2 function_name [] _get_dns_entry_trs;3 parameters [4];4 identifier [] self;5 block [6,11,33,41,48,58,66,79,84,122,131,138];6 import_from_statement [7,9];7 dotted_name [8];8 identifier [] bs4;9 dotted_name [10];10 identifier [] BeautifulSoup;11 expression_statement [12];12 ass...
Return the TR elements holding the DNS entries.
0 module [1];1 function_definition [2,3,5];2 function_name [] _FlushInput;3 parameters [4];4 identifier [] self;5 block [6,14,18];6 expression_statement [7];7 call [8,13];8 attribute [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] ser;12 identifier [] flush;13 argument_list [];14 expression_statement ...
Flush all read data until no more available.
0 module [1];1 function_definition [2,3,17,19];2 function_name [] _debug_line;3 parameters [4,8,12];4 typed_parameter [5,6];5 identifier [] linenum;6 type [7];7 identifier [] int;8 typed_parameter [9,10];9 identifier [] line;10 type [11];11 identifier [] str;12 typed_default_parameter [13,14,16];13 identifier [] extram...
Writes a debugging report on a line.
0 module [1];1 function_definition [2,3,5];2 function_name [] objectprep;3 parameters [4];4 identifier [] self;5 block [6,17];6 expression_statement [7];7 assignment [8,11];8 attribute [9,10];9 identifier [] self;10 identifier [] runmetadata;11 call [12,15];12 attribute [13,14];13 identifier [] createobject;14 identifi...
Create objects to store data and metadata for each sample. Also, perform necessary file manipulations
0 module [1];1 function_definition [2,3,5];2 function_name [] lex;3 parameters [4];4 identifier [] filename;5 block [6];6 with_statement [7,24];7 with_clause [8];8 with_item [9];9 as_pattern [10,22];10 call [11,14];11 attribute [12,13];12 identifier [] io;13 identifier [] open;14 argument_list [15,16,19];15 identifier ...
Generates tokens from an nginx config file
0 module [1];1 function_definition [2,3,6];2 function_name [] influx_query_;3 parameters [4,5];4 identifier [] self;5 identifier [] q;6 block [7,25];7 if_statement [8,13];8 comparison_operator [9,12] is;9 attribute [10,11];10 identifier [] self;11 identifier [] influx_cli;12 None [];13 block [14,24];14 expression_state...
Runs an Influx db query
0 module [1];1 function_definition [2,3,6];2 function_name [] create_loadfile;3 parameters [4,5];4 identifier [] entities;5 identifier [] f;6 block [7];7 with_statement [8,18];8 with_clause [9];9 with_item [10];10 as_pattern [11,16];11 call [12,13];12 identifier [] open;13 argument_list [14,15];14 identifier [] f;15 st...
Create payload and save to file.
0 module [1];1 function_definition [2,3,11];2 function_name [] rand_alphastr;3 parameters [4,5,8];4 identifier [] length;5 default_parameter [6,7];6 identifier [] lower;7 True [];8 default_parameter [9,10];9 identifier [] upper;10 True [];11 block [12,31,50];12 if_statement [13,20];13 boolean_operator [14,17] and;14 co...
Generate fixed-length random alpha only string.
0 module [1];1 function_definition [2,3,5];2 function_name [] rebin2x2;3 parameters [4];4 identifier [] a;5 block [6,17,39];6 expression_statement [7];7 assignment [8,9];8 identifier [] inshape;9 call [10,13];10 attribute [11,12];11 identifier [] np;12 identifier [] array;13 argument_list [14];14 attribute [15,16];15 i...
Wrapper around rebin that actually rebins 2 by 2
0 module [1];1 function_definition [2,3,5];2 function_name [] stream_url;3 parameters [4];4 identifier [] self;5 block [6,36,43];6 expression_statement [7];7 assignment [8,9];8 identifier [] rtsp_url;9 call [10,13];10 attribute [11,12];11 identifier [] RTSP_URL;12 identifier [] format;13 argument_list [14,21,26,31];14 ...
Build url for stream.
0 module [1];1 function_definition [2,3,23,29];2 function_name [] validate_required_attributes;3 parameters [4,8,18];4 typed_parameter [5,6];5 identifier [] fully_qualified_name;6 type [7];7 identifier [] str;8 typed_parameter [9,10];9 identifier [] spec;10 type [11];11 generic_type [12,13];12 identifier [] Dict;13 typ...
Validates to ensure that a set of attributes are present in spec
0 module [1];1 function_definition [2,3,5];2 function_name [] select_molecules;3 parameters [4];4 identifier [] name;5 block [6,17,23,40,55,63,144];6 expression_statement [7];7 assignment [8,9];8 identifier [] mol_formula;9 call [10,15];10 attribute [11,14];11 call [12,13];12 identifier [] current_system;13 argument_li...
Select all the molecules corresponding to the formulas.