sequence
stringlengths
388
5.57k
docstring
stringlengths
11
171
0 module [1];1 function_definition [2,3,5];2 function_name [] flavor_list;3 parameters [4];4 identifier [] request;5 block [6];6 try_statement [7,17];7 block [8];8 return_statement [9];9 call [10,15];10 attribute [11,14];11 attribute [12,13];12 identifier [] api;13 identifier [] nova;14 identifier [] flavor_list;15 arg...
Utility method to retrieve a list of flavors.
0 module [1];1 function_definition [2,3,6];2 function_name [] _set_unique_id;3 parameters [4,5];4 identifier [] self;5 identifier [] unique_id;6 block [7,14,64,76,82];7 assert_statement [8,13];8 call [9,10];9 identifier [] isinstance;10 argument_list [11,12];11 identifier [] unique_id;12 identifier [] int;13 string [] ...
Define a unique id
0 module [1];1 function_definition [2,3,5];2 function_name [] copy_node;3 parameters [4];4 identifier [] node;5 block [6,25,34,54];6 if_statement [7,15];7 not_operator [8];8 call [9,10];9 identifier [] isinstance;10 argument_list [11,12];11 identifier [] node;12 attribute [13,14];13 identifier [] gast;14 identifier [] ...
Copy a node but keep its annotations intact.
0 module [1];1 function_definition [2,3,5];2 function_name [] uniquify;3 parameters [4];4 identifier [] model;5 block [6,12,18,66,73];6 expression_statement [7];7 assignment [8,9];8 identifier [] seen;9 call [10,11];10 identifier [] set;11 argument_list [];12 expression_statement [13];13 assignment [14,15];14 identifie...
Remove all duplicate relationships
0 module [1];1 function_definition [2,3,5];2 function_name [] parse_wrap_facets;3 parameters [4];4 identifier [] facets;5 block [6,12,24,35,48,128];6 expression_statement [7];7 assignment [8,9];8 identifier [] valid_forms;9 list [10,11] ['~ var1', '~ var1 + var2'];10 string [] ~ var1;11 string [] ~ var1 + var2;12 expre...
Return list of facetting variables
0 module [1];1 function_definition [2,3,5];2 function_name [] disconnect;3 parameters [4];4 identifier [] self;5 block [6,14];6 expression_statement [7];7 assignment [8,11];8 attribute [9,10];9 identifier [] self;10 identifier [] connState;11 attribute [12,13];12 identifier [] Client;13 identifier [] DISCONNECTED;14 if...
Disconnect from IB connection.
0 module [1];1 function_definition [2,3,11];2 function_name [] fprint;3 parameters [4,5,6,9];4 identifier [] self;5 identifier [] obj;6 default_parameter [7,8];7 identifier [] stream;8 None [];9 dictionary_splat_pattern [10];10 identifier [] kwargs;11 block [12,23,29,36,56];12 if_statement [13,16];13 comparison_operato...
Prints the formatted representation of the object on stream
0 module [1];1 function_definition [2,3,8];2 function_name [] _draw_tiles;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] x_offset;6 identifier [] y_offset;7 identifier [] bg;8 block [9,13,163];9 expression_statement [10];10 assignment [11,12];11 identifier [] count;12 integer [] 0;13 for_statement [14,18,2...
Render all visible tiles a layer at a time.
0 module [1];1 function_definition [2,3,12];2 function_name [] play_NoteContainer;3 parameters [4,5,6,9];4 identifier [] self;5 identifier [] nc;6 default_parameter [7,8];7 identifier [] channel;8 integer [] 1;9 default_parameter [10,11];10 identifier [] velocity;11 integer [] 100;12 block [13,32,39,56];13 expression_s...
Play the Notes in the NoteContainer nc.
0 module [1];1 function_definition [2,3,9];2 function_name [] build_attrs;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,26,57,65,84];10 expression_statement [11];11 assignment [12,13];12 identifier [] attrs;13 ca...
Add select2 data attributes.
0 module [1];1 function_definition [2,3,6];2 function_name [] _new_packet_cb;3 parameters [4,5];4 identifier [] self;5 identifier [] pk;6 block [7];7 if_statement [8,19];8 boolean_operator [9,14] or;9 comparison_operator [10,13] ==;10 attribute [11,12];11 identifier [] pk;12 identifier [] channel;13 identifier [] READ_...
Callback for newly arrived packets
0 module [1];1 function_definition [2,3,5];2 function_name [] _cells;3 parameters [4];4 identifier [] nb;5 block [6];6 if_statement [7,12,28];7 comparison_operator [8,11] <;8 attribute [9,10];9 identifier [] nb;10 identifier [] nbformat;11 integer [] 4;12 block [13];13 for_statement [14,15,18];14 identifier [] ws;15 at...
Yield all cells in an nbformat-insensitive manner
0 module [1];1 function_definition [2,3,5];2 function_name [] validate_accounting_equation;3 parameters [4];4 identifier [] cls;5 block [6,27];6 expression_statement [7];7 assignment [8,9];8 identifier [] balances;9 list_comprehension [10,18];10 call [11,14];11 attribute [12,13];12 identifier [] account;13 identifier [...
Check that all accounts sum to 0
0 module [1];1 function_definition [2,3,5];2 function_name [] escape_path;3 parameters [4];4 identifier [] path;5 block [6,14,24];6 expression_statement [7];7 assignment [8,9];8 identifier [] path;9 call [10,11];10 identifier [] quote;11 argument_list [12,13];12 identifier [] path;13 identifier [] HTTP_PATH_SAFE;14 exp...
Escape any invalid characters in HTTP URL, and uppercase all escapes.
0 module [1];1 function_definition [2,3,11];2 function_name [] walk;3 parameters [4,5,8];4 identifier [] self;5 default_parameter [6,7];6 identifier [] depth;7 integer [] 0;8 default_parameter [9,10];9 identifier [] fsNode;10 None [];11 block [12,29,115];12 if_statement [13,15];13 not_operator [14];14 identifier [] fsN...
Note, this is a filtered walk
0 module [1];1 function_definition [2,3,5];2 function_name [] use_any_status_assessment_part_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 [] _operable_views;12 string [] assessment_part...
Pass through to provider AssessmentPartLookupSession.use_any_status_assessment_part_view
0 module [1];1 function_definition [2,3,5];2 function_name [] reset;3 parameters [4];4 identifier [] self;5 block [6,14,25];6 expression_statement [7];7 assignment [8,9];8 identifier [] dataSet;9 call [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] dataSet;13 argument_list [];14 if_statement [15,18]...
Resets the colors to the default settings.
0 module [1];1 function_definition [2,3,4];2 function_name [] main;3 parameters [];4 block [5,15,26,43,51,57,75,82,90];5 expression_statement [6];6 assignment [7,8];7 identifier [] parsed_args;8 call [9,14];9 attribute [10,13];10 call [11,12];11 identifier [] generate_cli_main_parser;12 argument_list [];13 identifier [...
Main function of Lexicon.
0 module [1];1 function_definition [2,3,7];2 function_name [] _list_available_hosts;3 parameters [4,5];4 identifier [] self;5 list_splat_pattern [6];6 identifier [] args;7 block [8];8 return_statement [9];9 list_comprehension [10,11,22];10 identifier [] h;11 for_in_clause [12,13];12 identifier [] h;13 call [14,19];14 a...
returns a list of hosts that haven't failed and aren't dark
0 module [1];1 function_definition [2,3,5];2 function_name [] short_title;3 parameters [4];4 identifier [] self;5 block [6,99];6 if_statement [7,30];7 boolean_operator [8,25] and;8 boolean_operator [9,18] and;9 boolean_operator [10,13] and;10 attribute [11,12];11 identifier [] self;12 identifier [] title;13 comparison_...
Generates an abbreviated title by subtracting the parent's title from this instance's title.
0 module [1];1 function_definition [2,3,5];2 function_name [] total_marks;3 parameters [4];4 identifier [] self;5 block [6,10,43];6 expression_statement [7];7 assignment [8,9];8 identifier [] total;9 integer [] 0;10 for_statement [11,12,15];11 identifier [] answer;12 attribute [13,14];13 identifier [] self;14 identifie...
Compute the total mark for the assessment.
0 module [1];1 function_definition [2,3,5];2 function_name [] _attach_arguments;3 parameters [4];4 identifier [] self;5 block [6];6 for_statement [7,8,11];7 identifier [] arg;8 attribute [9,10];9 identifier [] self;10 identifier [] arguments;11 block [12];12 expression_statement [13];13 call [14,19];14 attribute [15,18...
Add the registered arguments to the parser.
0 module [1];1 function_definition [2,3,5];2 function_name [] show_slow_wave_dialog;3 parameters [4];4 identifier [] self;5 block [6,14,22];6 expression_statement [7];7 call [8,13];8 attribute [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] slow_wave_dialog;12 identifier [] update_groups;13 argument_l...
Create the SW detection dialog.
0 module [1];1 function_definition [2,3,5];2 function_name [] scene_velocity;3 parameters [4];4 identifier [] frames;5 block [6,13,40,52];6 expression_statement [7];7 assignment [8,9];8 identifier [] reader;9 call [10,11];10 identifier [] MessageReader;11 argument_list [12];12 identifier [] frames;13 expression_stateme...
parse a scene.velocity message
0 module [1];1 function_definition [2,3,6];2 function_name [] xlim_change_check;3 parameters [4,5];4 identifier [] self;5 identifier [] idx;6 block [7,20,32,38];7 if_statement [8,18];8 not_operator [9];9 call [10,17];10 attribute [11,16];11 subscript [12,15];12 attribute [13,14];13 identifier [] self;14 identifier [] x...
handle xlim change requests from queue
0 module [1];1 function_definition [2,3,7];2 function_name [] version;3 parameters [4];4 default_parameter [5,6];5 identifier [] which;6 string [] num;7 block [8];8 if_statement [9,12,17];9 comparison_operator [10,11] in;10 identifier [] which;11 identifier [] VERSIONS;12 block [13];13 return_statement [14];14 subscrip...
Get the Coconut version.
0 module [1];1 function_definition [2,3,7];2 function_name [] send_invite_user_email;3 parameters [4,5,6];4 identifier [] self;5 identifier [] user;6 identifier [] user_invitation;7 block [8,17,26,30,36,51,64,77];8 if_statement [9,15];9 not_operator [10];10 attribute [11,14];11 attribute [12,13];12 identifier [] self;1...
Send the 'user invitation' email.
0 module [1];1 function_definition [2,3,6];2 function_name [] write;3 parameters [4,5];4 identifier [] self;5 identifier [] string;6 block [7];7 expression_statement [8];8 augmented_assignment [9,12] +=;9 attribute [10,11];10 identifier [] self;11 identifier [] _output;12 binary_operator [13,25] +;13 binary_operator [1...
Print provided string to the output.
0 module [1];1 function_definition [2,3,6];2 function_name [] blit_np_array;3 parameters [4,5];4 identifier [] self;5 identifier [] array;6 block [7,34];7 with_statement [8,14];8 with_clause [9];9 with_item [10];10 call [11,12];11 identifier [] sw;12 argument_list [13];13 string [] make_surface;14 block [15];15 express...
Fill this surface using the contents of a numpy array.
0 module [1];1 function_definition [2,3,4,6];2 function_name [] fist;3 parameters [];4 type [5];5 identifier [] Histogram1D;6 block [7,12,19,33,42,62];7 import_statement [8];8 aliased_import [9,11];9 dotted_name [10];10 identifier [] numpy;11 identifier [] np;12 import_from_statement [13,17];13 relative_import [14,15];...
A simple histogram in the shape of a fist.
0 module [1];1 function_definition [2,3,8];2 function_name [] split_qs;3 parameters [4,5];4 identifier [] string;5 default_parameter [6,7];6 identifier [] delimiter;7 string [] &;8 block [9,13,17,21,29,33,37,125,149];9 expression_statement [10];10 assignment [11,12];11 identifier [] open_list;12 string [] [<{(;13 expre...
Split a string by the specified unquoted, not enclosed delimiter
0 module [1];1 function_definition [2,3,9];2 function_name [] formatTime;3 parameters [4,5,6];4 identifier [] self;5 identifier [] record;6 default_parameter [7,8];7 identifier [] datefmt;8 None [];9 block [10,23,39,43,52,85];10 expression_statement [11];11 assignment [12,13];12 identifier [] _seconds_fraction;13 binar...
Format the log timestamp.
0 module [1];1 function_definition [2,3,6];2 function_name [] setModel;3 parameters [4,5];4 identifier [] self;5 identifier [] model;6 block [7,9,15];7 expression_statement [8];8 string [] Sets the StimulusModel for this editor;9 expression_statement [10];10 assignment [11,14];11 attribute [12,13];12 identifier [] self...
Sets the StimulusModel for this editor
0 module [1];1 function_definition [2,3,8];2 function_name [] check_unique_tokens;3 parameters [4,5,6];4 identifier [] sender;5 identifier [] instance;6 dictionary_splat_pattern [7];7 identifier [] kwargs;8 block [9];9 if_statement [10,15];10 call [11,12];11 identifier [] isinstance;12 argument_list [13,14];13 identifi...
Ensures that mobile and email tokens are unique or tries once more to generate.
0 module [1];1 function_definition [2,3,6];2 function_name [] clear_session_value;3 parameters [4,5];4 identifier [] self;5 identifier [] name;6 block [7,21];7 expression_statement [8];8 call [9,16];9 attribute [10,15];10 call [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] redis;14 argument_list []...
Removes a session value
0 module [1];1 function_definition [2,3,5];2 function_name [] to_unicode;3 parameters [4];4 identifier [] string;5 block [6,22,33,43];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 [] binary_type;14 bl...
Ensure a passed string is unicode
0 module [1];1 function_definition [2,3,5];2 function_name [] response_from_mixed;3 parameters [4];4 identifier [] mixed;5 block [6,15,28];6 if_statement [7,10];7 comparison_operator [8,9] is;8 identifier [] mixed;9 None [];10 block [11];11 return_statement [12];12 call [13,14];13 identifier [] Response;14 argument_lis...
Create Response from mixed input.
0 module [1];1 function_definition [2,3,7];2 function_name [] init;3 parameters [4];4 default_parameter [5,6];5 identifier [] args;6 None [];7 block [8,17,31,38];8 if_statement [9,12];9 comparison_operator [10,11] is;10 identifier [] args;11 None [];12 block [13];13 expression_statement [14];14 assignment [15,16];15 id...
Initialize the rabit library with arguments
0 module [1];1 function_definition [2,3,11];2 function_name [] stop;3 parameters [4,5,8];4 identifier [] self;5 default_parameter [6,7];6 identifier [] signum;7 None [];8 default_parameter [9,10];9 identifier [] frame;10 None [];11 block [12,40,46];12 expression_statement [13];13 call [14,28];14 attribute [15,27];15 ca...
handel's a termination signal
0 module [1];1 function_definition [2,3,6];2 function_name [] db_get;3 parameters [4,5];4 identifier [] self;5 identifier [] db_number;6 block [7,16,22,47,55];7 expression_statement [8];8 call [9,12];9 attribute [10,11];10 identifier [] logger;11 identifier [] debug;12 argument_list [13];13 binary_operator [14,15] %;14...
Uploads a DB from AG.
0 module [1];1 function_definition [2,3,5];2 function_name [] make_file_readable;3 parameters [4];4 identifier [] filename;5 block [6];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 [] islink;14 argument_list [15];1...
Make file user readable if it is not a link.
0 module [1];1 function_definition [2,3,17];2 function_name [] getRequestedNameIface;3 parameters [4,5,8,11,14];4 identifier [] self;5 default_parameter [6,7];6 identifier [] iface_num;7 integer [] 0;8 default_parameter [9,10];9 identifier [] num;10 None [];11 default_parameter [12,13];12 identifier [] default_hostname...
Return the dns name associated to the net interface.
0 module [1];1 function_definition [2,3,6];2 function_name [] can_regex;3 parameters [4,5];4 identifier [] self;5 identifier [] field;6 block [7,13];7 import_from_statement [8,11];8 dotted_name [9,10];9 identifier [] django;10 identifier [] conf;11 dotted_name [12];12 identifier [] settings;13 if_statement [14,26,40];1...
Test if a given field supports regex lookups
0 module [1];1 function_definition [2,3,5];2 function_name [] AA;3 parameters [4];4 identifier [] n;5 block [6];6 if_statement [7,11,17];7 () [8];8 comparison_operator [9,10] <=;9 identifier [] n;10 integer [] 1;11 block [12];12 return_statement [13];13 call [14,15];14 identifier [] Context;15 argument_list [16];16 str...
constructs the AA context
0 module [1];1 function_definition [2,3,6];2 function_name [] phrases_reduce;3 parameters [4,5];4 identifier [] key;5 identifier [] values;6 block [7,16,20,38,49,58];7 if_statement [8,14];8 comparison_operator [9,13] <;9 call [10,11];10 identifier [] len;11 argument_list [12];12 identifier [] values;13 integer [] 10;14...
Phrases demo reduce function.
0 module [1];1 function_definition [2,3,6];2 function_name [] _merge_alocs;3 parameters [4,5];4 identifier [] self;5 identifier [] other_region;6 block [7,11,61];7 expression_statement [8];8 assignment [9,10];9 identifier [] merging_occurred;10 False [];11 for_statement [12,15,22];12 pattern_list [13,14];13 identifier ...
Helper function for merging.
0 module [1];1 function_definition [2,3,9];2 function_name [] write_badge;3 parameters [4,5,6];4 identifier [] self;5 identifier [] file_path;6 default_parameter [7,8];7 identifier [] overwrite;8 False [];9 block [10,23,34,51,74];10 if_statement [11,17];11 call [12,15];12 attribute [13,14];13 identifier [] file_path;14...
Write badge to file.
0 module [1];1 function_definition [2,3,5];2 function_name [] open;3 parameters [4];4 identifier [] self;5 block [6,19,27,40,51,66];6 expression_statement [7];7 assignment [8,11];8 attribute [9,10];9 identifier [] self;10 identifier [] fd;11 call [12,13];12 identifier [] open;13 argument_list [14,15,16];14 string [] /d...
Open file corresponding to the TUN device.
0 module [1];1 function_definition [2,3,7];2 function_name [] re_pipe;3 parameters [4,5,6];4 identifier [] FlowRate;5 identifier [] Diam;6 identifier [] Nu;7 block [8,26];8 expression_statement [9];9 call [10,13];10 attribute [11,12];11 identifier [] ut;12 identifier [] check_range;13 argument_list [14,18,22];14 list [...
Return the Reynolds Number for a pipe.
0 module [1];1 function_definition [2,3,8];2 function_name [] at;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] year;6 identifier [] month;7 identifier [] day;8 block [9,19,30,41,51];9 expression_statement [10];10 assignment [11,12];11 identifier [] path;12 call [13,14];13 identifier [] partial;14 argument...
time entries by year, month and day.
0 module [1];1 function_definition [2,3,5];2 function_name [] _validate_partition_boundary;3 parameters [4];4 identifier [] boundary;5 block [6,15,25,46];6 expression_statement [7];7 assignment [8,9];8 identifier [] boundary;9 call [10,13];10 attribute [11,12];11 identifier [] six;12 identifier [] text_type;13 argument...
Ensure valid partition boundaries are supplied.
0 module [1];1 function_definition [2,3,7];2 function_name [] file;3 parameters [4,5,6];4 identifier [] ctx;5 identifier [] data_dir;6 identifier [] data_file;7 block [8,20,32];8 if_statement [9,13];9 not_operator [10];10 attribute [11,12];11 identifier [] ctx;12 identifier [] file;13 block [14];14 expression_statement...
Use the File SWAG Backend
0 module [1];1 function_definition [2,3,6];2 function_name [] prep_directory;3 parameters [4,5];4 identifier [] self;5 identifier [] target_dir;6 block [7,16];7 expression_statement [8];8 assignment [9,10];9 identifier [] dirname;10 call [11,14];11 attribute [12,13];12 identifier [] path;13 identifier [] dirname;14 arg...
Prepares a new directory to store the file at the provided path, if needed.
0 module [1];1 function_definition [2,3,6];2 function_name [] input_format;3 parameters [4,5];4 identifier [] self;5 identifier [] content_type;6 block [7];7 return_statement [8];8 call [9,17];9 attribute [10,16];10 call [11,12];11 identifier [] getattr;12 argument_list [13,14,15];13 identifier [] self;14 string [] _in...
Returns the set input_format handler for the given content_type
0 module [1];1 function_definition [2,3,8];2 function_name [] build_js;3 parameters [4,5];4 identifier [] ctx;5 default_parameter [6,7];6 identifier [] force;7 False [];8 block [9];9 for_statement [10,11,12];10 identifier [] fname;11 identifier [] JSX_FILENAMES;12 block [13];13 expression_statement [14];14 call [15,18]...
Build all javascript files.
0 module [1];1 function_definition [2,3,6];2 function_name [] freeze;3 parameters [4,5];4 identifier [] self;5 identifier [] tmp_dir;6 block [7];7 for_statement [8,9,14];8 identifier [] sfile;9 call [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] secrets;13 argument_list [];14 block [15,27,49,57,68,...
Copies a secret into a particular location
0 module [1];1 function_definition [2,3,6];2 function_name [] changepassword;3 parameters [4,5];4 identifier [] self;5 identifier [] event;6 block [7,15,23,31,45];7 expression_statement [8];8 assignment [9,10];9 identifier [] old;10 subscript [11,14];11 attribute [12,13];12 identifier [] event;13 identifier [] data;14 ...
An enrolled user wants to change their password
0 module [1];1 function_definition [2,3,9];2 function_name [] stats;3 parameters [4,5,6];4 identifier [] self;5 identifier [] conn;6 default_parameter [7,8];7 identifier [] args;8 None [];9 block [10,19,36,40,51,160];10 if_statement [11,14];11 comparison_operator [12,13] is;12 identifier [] args;13 None [];14 block [15...
Runs a stats command on the server.
0 module [1];1 function_definition [2,3,6];2 function_name [] diff;3 parameters [4,5];4 identifier [] actual;5 identifier [] expected;6 block [7];7 return_statement [8];8 call [9,12];9 attribute [10,11];10 string [] \n;11 identifier [] join;12 argument_list [13];13 call [14,15];14 identifier [] list;15 argument_list [1...
normalize whitespace in actual and expected and return unified diff
0 module [1];1 function_definition [2,3,6];2 function_name [] string_to_file;3 parameters [4,5];4 identifier [] path;5 identifier [] input;6 block [7,19];7 expression_statement [8];8 call [9,10];9 identifier [] mkdir_p;10 argument_list [11];11 call [12,17];12 attribute [13,16];13 attribute [14,15];14 identifier [] os;1...
Write a file from a given string.
0 module [1];1 function_definition [2,3,6];2 function_name [] _release_command_buffer;3 parameters [4,5];4 identifier [] self;5 identifier [] command_buffer;6 block [7,13,24,35];7 if_statement [8,11];8 attribute [9,10];9 identifier [] command_buffer;10 identifier [] closed;11 block [12];12 return_statement [];13 expres...
This is called by the command buffer when it closes.
0 module [1];1 function_definition [2,3,7];2 function_name [] setup;3 parameters [4,5,6];4 identifier [] cls;5 identifier [] client_id;6 identifier [] client_secret;7 block [8,14];8 expression_statement [9];9 assignment [10,13];10 attribute [11,12];11 identifier [] cls;12 identifier [] client_id;13 identifier [] client...
Configure client in session
0 module [1];1 function_definition [2,3,5];2 function_name [] populate_values;3 parameters [4];4 identifier [] self;5 block [6,14];6 expression_statement [7];7 assignment [8,9];8 identifier [] obj;9 call [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] _get_base_state;13 argument_list [];14 expressio...
Add values from the underlying dash layout configuration
0 module [1];1 function_definition [2,3,7];2 function_name [] _handle_tag_salt_auth_creds;3 parameters [4,5,6];4 identifier [] self;5 identifier [] tag;6 identifier [] data;7 block [8,17,40];8 expression_statement [9];9 assignment [10,11];10 identifier [] key;11 call [12,13];12 identifier [] tuple;13 argument_list [14]...
Handle a salt_auth_creds event
0 module [1];1 function_definition [2,3,7];2 function_name [] should_include_link_text;3 parameters [4,5,6];4 identifier [] self;5 identifier [] link_text;6 identifier [] link_url;7 block [8,31];8 expression_statement [9];9 assignment [10,11];10 identifier [] elements;11 call [12,13];12 identifier [] ElementSelector;13...
Assert a link containing the provided text points to the provided URL.
0 module [1];1 function_definition [2,3,6];2 function_name [] save_json_representation;3 parameters [4,5];4 identifier [] self;5 identifier [] dir_path;6 block [7,17,29];7 expression_statement [8];8 assignment [9,10];9 identifier [] file_name;10 binary_operator [11,16] +;11 attribute [12,15];12 attribute [13,14];13 ide...
Save the app's JSON representation object to a JSON file.
0 module [1];1 function_definition [2,3,5];2 function_name [] to_dict;3 parameters [4];4 identifier [] self;5 block [6,10,30];6 expression_statement [7];7 assignment [8,9];8 identifier [] result;9 dictionary [];10 for_statement [11,12,19];11 identifier [] meta;12 call [13,18];13 attribute [14,17];14 attribute [15,16];1...
Pack the load averages into a nicely-keyed dictionary.
0 module [1];1 function_definition [2,3,6];2 function_name [] _get_queryset_methods;3 parameters [4,5];4 identifier [] cls;5 identifier [] queryset_class;6 block [7,56,64,71,77,138];7 function_definition [8,9,12];8 function_name [] create_method;9 parameters [10,11];10 identifier [] name;11 identifier [] method;12 bloc...
Django overrloaded method for add cyfunction.
0 module [1];1 function_definition [2,3,6];2 function_name [] from_df;3 parameters [4,5];4 identifier [] cls;5 identifier [] df;6 block [7,13,19,35];7 expression_statement [8];8 assignment [9,10];9 identifier [] t;10 call [11,12];11 identifier [] cls;12 argument_list [];13 expression_statement [14];14 assignment [15,16...
Convert a Pandas DataFrame into a Table.
0 module [1];1 function_definition [2,3,5];2 function_name [] _refresh_nvr;3 parameters [4];4 identifier [] self;5 block [6,19,27,35];6 expression_statement [7];7 assignment [8,9];8 identifier [] rpm_info;9 call [10,15];10 attribute [11,14];11 attribute [12,13];12 identifier [] juicer;13 identifier [] utils;14 identifi...
Refresh our name-version-release attributes.
0 module [1];1 function_definition [2,3,8];2 function_name [] modify_fw_device;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] tenant_id;6 identifier [] fw_id;7 identifier [] data;8 block [9,22];9 expression_statement [10];10 assignment [11,14];11 pattern_list [12,13];12 identifier [] drvr_dict;13 identifie...
Modifies the firewall cfg.
0 module [1];1 function_definition [2,3,8];2 function_name [] check_gaps;3 parameters [4,5];4 identifier [] matches;5 default_parameter [6,7];6 identifier [] gap_threshold;7 integer [] 0;8 block [9,13,17,64];9 expression_statement [10];10 assignment [11,12];11 identifier [] gaps;12 list [] [];13 expression_statement [1...
check for large gaps between alignment windows
0 module [1];1 function_definition [2,3,11];2 function_name [] make_horizontal_box;3 parameters [4,5,6];4 identifier [] cls;5 identifier [] children;6 default_parameter [7,8];7 identifier [] layout;8 call [9,10];9 identifier [] Layout;10 argument_list [];11 block [12,14];12 expression_statement [13];13 string [] Make a...
Make a horizontal box with `children` and `layout`.
0 module [1];1 function_definition [2,3,5];2 function_name [] convert_toml_outline_tables;3 parameters [4];4 identifier [] parsed;5 block [6,67,125,137,173];6 function_definition [7,8,10];7 function_name [] convert_tomlkit_table;8 parameters [9];9 identifier [] section;10 block [11];11 for_statement [12,15,18];12 patte...
Converts all outline tables to inline tables.
0 module [1];1 function_definition [2,3,7];2 function_name [] _valid_pdf;3 parameters [4,5,6];4 identifier [] self;5 identifier [] path;6 identifier [] filename;7 block [8,112];8 if_statement [9,28,31];9 boolean_operator [10,18] and;10 call [11,16];11 attribute [12,15];12 attribute [13,14];13 identifier [] os;14 identi...
Verify that the file exists and has a PDF extension.
0 module [1];1 function_definition [2,3,5];2 function_name [] busy_disp_off;3 parameters [4];4 identifier [] dobj;5 block [6,15,24];6 expression_statement [7];7 call [8,11];8 attribute [9,10];9 identifier [] dobj;10 identifier [] kill;11 argument_list [12];12 keyword_argument [13,14];13 identifier [] block;14 False [];...
Turn OFF busy_display to indicate completion.
0 module [1];1 function_definition [2,3,9,11];2 function_name [] gen_postinits;3 parameters [4,5];4 identifier [] self;5 typed_parameter [6,7];6 identifier [] cls;7 type [8];8 identifier [] ClassDefinition;9 type [10];10 identifier [] str;11 block [12,16,48,88,103];12 expression_statement [13];13 assignment [14,15];14 ...
Generate all the typing and existence checks post initialize
0 module [1];1 function_definition [2,3,5];2 function_name [] reading;3 parameters [4];4 identifier [] self;5 block [6];6 try_statement [7,94];7 block [8,12,28,44,77,88];8 expression_statement [9];9 assignment [10,11];10 identifier [] proxies;11 dictionary [];12 try_statement [13,24];13 block [14];14 expression_stateme...
Open url and read
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 [] filename;7 string [] classifier.dump;8 block [9,17,28];9 expression_statement [10];10 assignment [11,12];11 identifier [] ifile;12 call [13,14];13 identifier [] open;14 ar...
Unpickles the classifier used
0 module [1];1 function_definition [2,3,11];2 function_name [] cli;3 parameters [4,5,6,7,8,9,10];4 identifier [] env;5 identifier [] identifier;6 identifier [] enabled;7 identifier [] port;8 identifier [] weight;9 identifier [] healthcheck_type;10 identifier [] ip_address;11 block [12,23,34,38,72,95];12 expression_stat...
Adds a new load balancer service.
0 module [1];1 function_definition [2,3,5];2 function_name [] stop_ckan;3 parameters [4];4 identifier [] self;5 block [6,19];6 expression_statement [7];7 call [8,9];8 identifier [] remove_container;9 argument_list [10,16];10 call [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] _get_container_name;14...
Stop and remove the web container
0 module [1];1 function_definition [2,3,5];2 function_name [] new_values;3 parameters [4];4 identifier [] self;5 block [6,62];6 function_definition [7,8,10];7 function_name [] get_new_values_and_key;8 parameters [9];9 identifier [] item;10 block [11,17,60];11 expression_statement [12];12 assignment [13,14];13 identifie...
Returns the new values from the diff
0 module [1];1 function_definition [2,3,6];2 function_name [] _ensure_image_registry;3 parameters [4,5];4 identifier [] self;5 identifier [] image;6 block [7,15,69];7 expression_statement [8];8 assignment [9,10];9 identifier [] image_with_registry;10 call [11,14];11 attribute [12,13];12 identifier [] image;13 identifie...
If plugin configured with a parent registry, ensure the image uses it
0 module [1];1 function_definition [2,3,10];2 function_name [] list_lbaas_pools;3 parameters [4,5,8];4 identifier [] self;5 default_parameter [6,7];6 identifier [] retrieve_all;7 True [];8 dictionary_splat_pattern [9];9 identifier [] _params;10 block [11];11 return_statement [12];12 call [13,16];13 attribute [14,15];14...
Fetches a list of all lbaas_pools for a project.
0 module [1];1 function_definition [2,3,5];2 function_name [] get;3 parameters [4];4 identifier [] self;5 block [6,8];6 expression_statement [7];7 string [] Retrieve the most recent value generated;8 return_statement [9];9 call [10,11];10 identifier [] tuple;11 argument_list [12];12 list_comprehension [13,24];13 tuple ...
Retrieve the most recent value generated
0 module [1];1 function_definition [2,3,5];2 function_name [] purge_cache;3 parameters [4];4 identifier [] self;5 block [6];6 if_statement [7,17];7 comparison_operator [8,14] >;8 call [9,10];9 identifier [] len;10 argument_list [11];11 attribute [12,13];12 identifier [] self;13 identifier [] _cache;14 attribute [15,16]...
Purge expired cached tokens and oldest tokens if more than cache_size
0 module [1];1 function_definition [2,3,5];2 function_name [] start;3 parameters [4];4 identifier [] self;5 block [6,14,20];6 expression_statement [7];7 call [8,11];8 attribute [9,10];9 identifier [] _log;10 identifier [] debug;11 argument_list [12,13];12 string [] starting %s;13 identifier [] self;14 expression_statem...
Start a container by starting all of its extensions.
0 module [1];1 function_definition [2,3,11];2 function_name [] recover;3 parameters [4,5,8];4 identifier [] self;5 default_parameter [6,7];6 identifier [] requeue;7 False [];8 default_parameter [9,10];9 identifier [] cb;10 None [];11 block [12,18,25,34,49];12 expression_statement [13];13 assignment [14,15];14 identifie...
Ask server to redeliver all unacknowledged messages.
0 module [1];1 function_definition [2,3,5];2 function_name [] save;3 parameters [4];4 identifier [] self;5 block [6,20];6 expression_statement [7];7 assignment [8,9];8 identifier [] data;9 dictionary [10,15];10 pair [11,12];11 string [] waitForSync;12 attribute [13,14];13 identifier [] self;14 identifier [] waitForSync...
Updates only waitForSync and journalSize
0 module [1];1 function_definition [2,3,4];2 function_name [] update_famplex;3 parameters [];4 block [5,9,18];5 expression_statement [6];6 assignment [7,8];7 identifier [] famplex_url_pattern;8 string [] https://raw.githubusercontent.com/sorgerlab/famplex/master/%s.csv;9 expression_statement [10];10 assignment [11,12];...
Update all the CSV files that form the FamPlex resource.
0 module [1];1 function_definition [2,3,18];2 function_name [] segment_length;3 parameters [4,5,6,7,8,9,12,15];4 identifier [] curve;5 identifier [] start;6 identifier [] end;7 identifier [] start_point;8 identifier [] end_point;9 default_parameter [10,11];10 identifier [] error;11 identifier [] LENGTH_ERROR;12 default...
Recursively approximates the length by straight lines
0 module [1];1 function_definition [2,3,7];2 function_name [] append;3 parameters [4,5,6];4 identifier [] self;5 identifier [] context;6 identifier [] data;7 block [8];8 return_statement [9];9 call [10,11];10 identifier [] ContextStack;11 argument_list [12,18];12 binary_operator [13,16] +;13 attribute [14,15];14 identi...
Returns new context, which contains current stack and new frame
0 module [1];1 function_definition [2,3,5];2 function_name [] stackToList;3 parameters [4];4 identifier [] stack;5 block [6,32,36,52];6 if_statement [7,14];7 call [8,9];8 identifier [] isinstance;9 argument_list [10,11];10 identifier [] stack;11 attribute [12,13];12 identifier [] types;13 identifier [] TracebackType;14...
Convert a chain of traceback or frame objects into a list of frames.
0 module [1];1 function_definition [2,3,6];2 function_name [] columnCount;3 parameters [4,5];4 identifier [] self;5 identifier [] parent;6 block [7];7 if_statement [8,13,24];8 call [9,12];9 attribute [10,11];10 identifier [] parent;11 identifier [] isValid;12 argument_list [];13 block [14];14 return_statement [15];15 c...
Returns the number of columns for the children of the given parent.
0 module [1];1 function_definition [2,3,7];2 function_name [] toggle;3 parameters [4,5,6];4 identifier [] self;5 identifier [] discord_token;6 identifier [] discord_client_id;7 block [8];8 if_statement [9,14,23];9 comparison_operator [10,13] ==;10 attribute [11,12];11 identifier [] self;12 identifier [] state;13 string...
Toggles Modis on or off
0 module [1];1 function_definition [2,3,5];2 function_name [] norm_package_version;3 parameters [4];4 identifier [] version;5 block [6,83];6 if_statement [7,8,77];7 identifier [] version;8 block [9,34,59];9 expression_statement [10];10 assignment [11,12];11 identifier [] version;12 call [13,33];13 attribute [14,32];14 ...
Normalize a version by removing extra spaces and parentheses.
0 module [1];1 function_definition [2,3,5];2 function_name [] focus_prev_unfolded;3 parameters [4];4 identifier [] self;5 block [6];6 expression_statement [7];7 call [8,11];8 attribute [9,10];9 identifier [] self;10 identifier [] focus_property;11 argument_list [12,24];12 lambda [13,15];13 lambda_parameters [14];14 ide...
focus previous unfolded message in depth first order
0 module [1];1 function_definition [2,3,9];2 function_name [] wr_py_sections_new;3 parameters [4,5,6];4 identifier [] self;5 identifier [] fout_py;6 default_parameter [7,8];7 identifier [] doc;8 None [];9 block [10,20];10 expression_statement [11];11 assignment [12,13];12 identifier [] sections;13 call [14,19];14 attri...
Write the first sections file.
0 module [1];1 function_definition [2,3,6];2 function_name [] _handle_delete_file;3 parameters [4,5];4 identifier [] self;5 identifier [] data;6 block [7,20];7 expression_statement [8];8 assignment [9,10];9 identifier [] file;10 call [11,18];11 attribute [12,17];12 attribute [13,16];13 attribute [14,15];14 identifier [...
Handle files being removed
0 module [1];1 function_definition [2,3,5];2 function_name [] add_scm_info;3 parameters [4];4 identifier [] self;5 block [6,12,39];6 expression_statement [7];7 assignment [8,9];8 identifier [] scm;9 call [10,11];10 identifier [] get_scm;11 argument_list [];12 if_statement [13,14,29];13 identifier [] scm;14 block [15,21...
Adds SCM-related info.