sequence
stringlengths
388
5.57k
docstring
stringlengths
11
171
0 module [1];1 function_definition [2,3,7];2 function_name [] url_replace_param;3 parameters [4,5,6];4 identifier [] url;5 identifier [] name;6 identifier [] value;7 block [8,18,27,33,43];8 expression_statement [9];9 assignment [10,11];10 identifier [] url_components;11 call [12,13];12 identifier [] urlparse;13 argumen...
Replace a GET parameter in an URL
0 module [1];1 function_definition [2,3,5];2 function_name [] api_url;3 parameters [4];4 identifier [] self;5 block [6];6 return_statement [7];7 call [8,9];8 identifier [] pathjoin;9 argument_list [10,13,16];10 attribute [11,12];11 identifier [] Request;12 identifier [] path;13 attribute [14,15];14 identifier [] self;1...
return the api url of this request
0 module [1];1 function_definition [2,3,6];2 function_name [] CreateTasksFilter;3 parameters [4,5];4 identifier [] pc;5 identifier [] tasks;6 block [7,13,32,55,67,73,80];7 if_statement [8,10];8 not_operator [9];9 identifier [] tasks;10 block [11];11 return_statement [12];12 None [];13 expression_statement [14];14 assig...
Create property collector filter for tasks
0 module [1];1 function_definition [2,3,7];2 function_name [] _pattern_match;3 parameters [4,5,6];4 identifier [] self;5 identifier [] item;6 identifier [] pattern;7 block [8];8 if_statement [9,15,28];9 call [10,13];10 attribute [11,12];11 identifier [] pattern;12 identifier [] endswith;13 argument_list [14];14 string ...
Determine whether the item supplied is matched by the pattern.
0 module [1];1 function_definition [2,3,11,13];2 function_name [] visit_IfExp;3 parameters [4,5];4 identifier [] self;5 typed_parameter [6,7];6 identifier [] node;7 type [8];8 attribute [9,10];9 identifier [] ast;10 identifier [] IfExp;11 type [12];12 identifier [] Any;13 block [14,27,58,66];14 expression_statement [15...
Visit the ``test``, and depending on its outcome, the ``body`` or ``orelse``.
0 module [1];1 function_definition [2,3,12];2 function_name [] replace_values;3 parameters [4,5,6,9];4 identifier [] in_m;5 identifier [] out_m;6 default_parameter [7,8];7 identifier [] map_from;8 tuple [];9 default_parameter [10,11];10 identifier [] map_to;11 tuple [];12 block [13,73];13 for_statement [14,15,20];14 id...
Make a copy of a model with one value replaced with another
0 module [1];1 function_definition [2,3,7];2 function_name [] create_virtualenv;3 parameters [4,5,6];4 identifier [] pkg;5 identifier [] repo_dest;6 identifier [] python;7 block [8,19,26,33,46,75,129];8 expression_statement [9];9 assignment [10,11];10 identifier [] workon_home;11 call [12,17];12 attribute [13,16];13 at...
Creates a virtualenv within which to install your new application.
0 module [1];1 function_definition [2,3,5];2 function_name [] involved_tags;3 parameters [4];4 identifier [] self;5 block [6,20,24,30,94,100,104,163];6 if_statement [7,15];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 [] _...
Provides all HTML tags directly involved in this string.
0 module [1];1 function_definition [2,3,5];2 function_name [] copy;3 parameters [4];4 identifier [] self;5 block [6];6 return_statement [7];7 call [8,11];8 attribute [9,10];9 identifier [] self;10 identifier [] __class__;11 argument_list [12,15,18];12 attribute [13,14];13 identifier [] self;14 identifier [] _key;15 att...
Return a shallow copy of the sorted dictionary.
0 module [1];1 function_definition [2,3,5];2 function_name [] inspect;3 parameters [4];4 identifier [] self;5 block [6,12,29,44];6 expression_statement [7];7 assignment [8,9];8 identifier [] policy;9 attribute [10,11];10 identifier [] self;11 identifier [] policy;12 expression_statement [13];13 assignment [14,15];14 id...
Fetches image information from the client.
0 module [1];1 function_definition [2,3,5];2 function_name [] touch;3 parameters [4];4 identifier [] self;5 block [6,18,26,34];6 expression_statement [7];7 assignment [8,9];8 identifier [] key;9 call [10,17];10 attribute [11,16];11 call [12,15];12 attribute [13,14];13 identifier [] self;14 identifier [] get_related;15 ...
Touch all of the related models of the relationship.
0 module [1];1 function_definition [2,3,11];2 function_name [] list_views;3 parameters [4,5,8];4 identifier [] self;5 default_parameter [6,7];6 identifier [] name;7 string [];8 default_parameter [9,10];9 identifier [] is_visible;10 True [];11 block [12,21];12 expression_statement [13];13 assignment [14,15];14 identifie...
List all views which name start with a given string.
0 module [1];1 function_definition [2,3,15,17];2 function_name [] _zero_based_index;3 parameters [4,5];4 identifier [] self;5 typed_parameter [6,7];6 identifier [] onebased;7 type [8];8 generic_type [9,10];9 identifier [] Union;10 type_parameter [11,13];11 type [12];12 identifier [] int;13 type [14];14 identifier [] st...
Convert a one-based index to a zero-based index.
0 module [1];1 function_definition [2,3,6];2 function_name [] float_constructor;3 parameters [4,5];4 identifier [] loader;5 identifier [] node;6 block [7,16,47];7 expression_statement [8];8 assignment [9,10];9 identifier [] s;10 call [11,14];11 attribute [12,13];12 identifier [] loader;13 identifier [] construct_scalar...
Construct Decimal from YAML float encoding.
0 module [1];1 function_definition [2,3,7];2 function_name [] create_fw;3 parameters [4,5,6];4 identifier [] self;5 identifier [] tenant_id;6 identifier [] data;7 block [8];8 try_statement [9,18];9 block [10];10 return_statement [11];11 call [12,15];12 attribute [13,14];13 identifier [] self;14 identifier [] _create_fw...
Top level routine called when a FW is created.
0 module [1];1 function_definition [2,3,8];2 function_name [] fetch_pcr;3 parameters [4,6];4 list_splat_pattern [5];5 identifier [] args;6 dictionary_splat_pattern [7];7 identifier [] kwargs;8 block [9,21];9 expression_statement [10];10 assignment [11,14];11 subscript [12,13];12 identifier [] kwargs;13 string [] token;...
Wrapper for fetch to automatically parse results from the PCR API.
0 module [1];1 function_definition [2,3,6];2 function_name [] match_route;3 parameters [4,5];4 identifier [] self;5 identifier [] reqpath;6 block [7,29,43,50,74];7 expression_statement [8];8 assignment [9,10];9 identifier [] route_dicts;10 subscript [11,28];11 list_comprehension [12,13];12 identifier [] routes;13 for_i...
match a request with parameter to it's corresponding route
0 module [1];1 function_definition [2,3,6];2 function_name [] lookup;3 parameters [4,5];4 identifier [] self;5 identifier [] value;6 block [7,24];7 for_statement [8,11,16];8 pattern_list [9,10];9 identifier [] k;10 identifier [] v;11 call [12,15];12 attribute [13,14];13 identifier [] self;14 identifier [] iteritems;15 ...
return the first key in dict where value is name
0 module [1];1 function_definition [2,3,7];2 function_name [] end_output;3 parameters [4,5];4 identifier [] self;5 dictionary_splat_pattern [6];6 identifier [] kwargs;7 block [8,22,36];8 if_statement [9,15];9 call [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] has_part;13 argument_list [14];14 stri...
Write end of checking info as HTML.
0 module [1];1 function_definition [2,3,8];2 function_name [] _dict_to_json_pretty;3 parameters [4,5];4 identifier [] d;5 default_parameter [6,7];6 identifier [] sort_keys;7 True [];8 block [9];9 return_statement [10];10 call [11,18];11 attribute [12,17];12 attribute [13,16];13 attribute [14,15];14 identifier [] salt;1...
helper function to generate pretty printed json output
0 module [1];1 function_definition [2,3,7];2 function_name [] _match;3 parameters [4,5,6];4 identifier [] self;5 identifier [] doc;6 identifier [] where;7 block [8,15,22];8 assert_statement [9,14];9 call [10,11];10 identifier [] isinstance;11 argument_list [12,13];12 identifier [] where;13 identifier [] dict;14 string ...
Return True if 'doc' matches the 'where' condition.
0 module [1];1 function_definition [2,3,7];2 function_name [] make_mine;3 parameters [4,5,6];4 identifier [] self;5 identifier [] request;6 identifier [] queryset;7 block [8,25,49];8 expression_statement [9];9 assignment [10,11];10 identifier [] author;11 call [12,17];12 attribute [13,16];13 attribute [14,15];14 identi...
Set the entries to the current user.
0 module [1];1 function_definition [2,3,9];2 function_name [] add_get;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];10 return_statement [11];11 call [12,15];12 attribute [13,14];13 identifier [] self;14 identifi...
Shortcut for add_route with method GET
0 module [1];1 function_definition [2,3,6];2 function_name [] _add_atom_info;3 parameters [4,5];4 identifier [] self;5 identifier [] atom_info;6 block [7,17];7 expression_statement [8];8 assignment [9,16];9 subscript [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] atoms_by_number;13 attribute [14,15...
Add an atom info object to the database
0 module [1];1 function_definition [2,3,8];2 function_name [] cli;3 parameters [4,5,6,7];4 identifier [] yamlfile;5 identifier [] format;6 identifier [] classes;7 identifier [] directory;8 block [9];9 expression_statement [10];10 call [11,12];11 identifier [] print;12 argument_list [13,28];13 call [14,21];14 attribute ...
Generate a UML representation of a biolink model
0 module [1];1 function_definition [2,3,9];2 function_name [] cli;3 parameters [4,5,6,7,8];4 identifier [] env;5 identifier [] account_id;6 identifier [] content_url;7 identifier [] type;8 identifier [] cname;9 block [10,21];10 expression_statement [11];11 assignment [12,13];12 identifier [] manager;13 call [14,17];14 ...
Create an origin pull mapping.
0 module [1];1 function_definition [2,3,8];2 function_name [] pubticker;3 parameters [4,5];4 identifier [] self;5 default_parameter [6,7];6 identifier [] symbol;7 string [] btcusd;8 block [9,19];9 expression_statement [10];10 assignment [11,12];11 identifier [] url;12 binary_operator [13,18] +;13 binary_operator [14,17...
Send a request for latest ticker info, return the response.
0 module [1];1 function_definition [2,3,21];2 function_name [] add_url;3 parameters [4,5,6,9,12,15,18];4 identifier [] self;5 identifier [] url;6 default_parameter [7,8];7 identifier [] line;8 integer [] 0;9 default_parameter [10,11];10 identifier [] column;11 integer [] 0;12 default_parameter [13,14];13 identifier [] ...
Add new URL to queue.
0 module [1];1 function_definition [2,3,7];2 function_name [] run;3 parameters [4,5,6];4 identifier [] self;5 identifier [] fct;6 identifier [] input_;7 block [8];8 if_statement [9,14,24];9 call [10,13];10 attribute [11,12];11 identifier [] tf;12 identifier [] executing_eagerly;13 argument_list [];14 block [15];15 retu...
Execute the given TensorFlow function.
0 module [1];1 function_definition [2,3,5];2 function_name [] reset_cmd_timeout;3 parameters [4];4 identifier [] self;5 block [6,19];6 if_statement [7,10];7 attribute [8,9];8 identifier [] self;9 identifier [] _cmd_timeout;10 block [11];11 expression_statement [12];12 call [13,18];13 attribute [14,17];14 attribute [15,...
Reset timeout for command execution.
0 module [1];1 function_definition [2,3,5];2 function_name [] examples;3 parameters [4];4 identifier [] self;5 block [6];6 for_statement [7,8,21];7 identifier [] examples;8 call [9,10];9 identifier [] product;10 argument_list [11];11 list_splat [12];12 list_comprehension [13,16];13 attribute [14,15];14 identifier [] sp...
Return examples from all sub-spaces.
0 module [1];1 function_definition [2,3,5];2 function_name [] run_sixteens;3 parameters [4];4 identifier [] self;5 block [6];6 expression_statement [7];7 call [8,9];8 identifier [] SixteensFull;9 argument_list [10,13,18,23,28,31];10 keyword_argument [11,12];11 identifier [] args;12 identifier [] self;13 keyword_argumen...
Run the 16S analyses using the filtered database
0 module [1];1 function_definition [2,3,8];2 function_name [] destroy;3 parameters [4,5];4 identifier [] self;5 default_parameter [6,7];6 identifier [] folder;7 None [];8 block [9,23,34,48,56,64,72,80];9 expression_statement [10];10 assignment [11,12];11 identifier [] ameans;12 list_comprehension [13,17];13 tuple [14,1...
Destroy the environment and the subprocesses.
0 module [1];1 function_definition [2,3,6];2 function_name [] hide;3 parameters [4,5];4 identifier [] self;5 identifier [] event;6 block [7];7 if_statement [8,15,42];8 call [9,14];9 attribute [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] content;13 identifier [] isHidden;14 argument_list [];15 blo...
Toggles the visiblity of the content widget
0 module [1];1 function_definition [2,3,12];2 function_name [] fw_policy_create;3 parameters [4,5,6,9];4 identifier [] self;5 identifier [] data;6 default_parameter [7,8];7 identifier [] fw_name;8 None [];9 default_parameter [10,11];10 identifier [] cache;11 False [];12 block [13,20];13 expression_statement [14];14 cal...
Top level policy create routine.
0 module [1];1 function_definition [2,3,5];2 function_name [] xmltreefromstring;3 parameters [4];4 identifier [] s;5 block [6];6 if_statement [7,12,67];7 comparison_operator [8,11] <;8 attribute [9,10];9 identifier [] sys;10 identifier [] version;11 string [] 3;12 block [13,29];13 if_statement [14,19];14 call [15,16];1...
Internal function, deals with different Python versions, unicode strings versus bytes, and with the leak bug in lxml
0 module [1];1 function_definition [2,3,9];2 function_name [] pretrain;3 parameters [4,5,6];4 identifier [] self;5 identifier [] train_set;6 default_parameter [7,8];7 identifier [] validation_set;8 None [];9 block [10,16,55];10 expression_statement [11];11 assignment [12,15];12 attribute [13,14];13 identifier [] self;1...
Perform Unsupervised pretraining of the autoencoder.
0 module [1];1 function_definition [2,3,6];2 function_name [] __SetTotal;3 parameters [4,5];4 identifier [] self;5 identifier [] info;6 block [7,40];7 if_statement [8,11];8 comparison_operator [9,10] in;9 string [] content-range;10 identifier [] info;11 block [12,26];12 expression_statement [13];13 assignment [14,18];1...
Sets the total size based off info if possible otherwise 0.
0 module [1];1 function_definition [2,3,7];2 function_name [] _getEventsOnDay;3 parameters [4,5,6];4 identifier [] self;5 identifier [] request;6 identifier [] day;7 block [8,16];8 expression_statement [9];9 assignment [10,11];10 identifier [] home;11 attribute [12,15];12 attribute [13,14];13 identifier [] request;14 i...
Return all the events in this site for a given day.
0 module [1];1 function_definition [2,3,6];2 function_name [] deleteable;3 parameters [4,5];4 identifier [] self;5 identifier [] request;6 block [7];7 return_statement [8];8 conditional_expression [9,20,31] if;9 call [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] apply_deleteable;13 argument_list [...
Checks the both, check_deleteable and apply_deleteable, against the owned model and it's instance set
0 module [1];1 function_definition [2,3,6];2 function_name [] load;3 parameters [4,5];4 identifier [] self;5 identifier [] filename;6 block [7,44];7 try_statement [8,32];8 block [9];9 with_statement [10,20];10 with_clause [11];11 with_item [12];12 as_pattern [13,18];13 call [14,15];14 identifier [] open;15 argument_lis...
Load counters to file
0 module [1];1 function_definition [2,3,5];2 function_name [] clean;3 parameters [4];4 identifier [] self;5 block [6];6 while_statement [7,26];7 boolean_operator [8,16] and;8 comparison_operator [9,15] >;9 call [10,11];10 identifier [] len;11 argument_list [12];12 attribute [13,14];13 identifier [] self;14 identifier [...
Get rid of stale connections.
0 module [1];1 function_definition [2,3,10];2 function_name [] drop_columns;3 parameters [4,5,6,8];4 identifier [] self;5 identifier [] model;6 list_splat_pattern [7];7 identifier [] names;8 dictionary_splat_pattern [9];9 identifier [] kwargs;10 block [11,33,43,122];11 expression_statement [12];12 assignment [13,14];13...
Remove fields from model.
0 module [1];1 function_definition [2,3,5];2 function_name [] cwd_decorator;3 parameters [4];4 identifier [] func;5 block [6,88];6 function_definition [7,8,13];7 function_name [] wrapper;8 parameters [9,11];9 list_splat_pattern [10];10 identifier [] args;11 dictionary_splat_pattern [12];12 identifier [] kw;13 block [14...
decorator to change cwd to directory containing rst for this function
0 module [1];1 function_definition [2,3,8];2 function_name [] get;3 parameters [4,5];4 identifier [] key;5 default_parameter [6,7];6 identifier [] profile;7 None [];8 block [9,15,25,43,56,64,70];9 if_statement [10,12];10 not_operator [11];11 identifier [] profile;12 block [13];13 return_statement [14];14 None [];15 exp...
Get a value from sqlite3
0 module [1];1 function_definition [2,3,5];2 function_name [] varnames;3 parameters [4];4 identifier [] self;5 block [6];6 return_statement [7];7 binary_operator [8,11] +;8 attribute [9,10];9 identifier [] self;10 identifier [] _argnames;11 call [12,13];12 identifier [] tuple;13 argument_list [14];14 call [15,16];15 id...
The names of all of the local variables in this code object.
0 module [1];1 function_definition [2,3,7];2 function_name [] decode_sid;3 parameters [4,5,6];4 identifier [] cls;5 identifier [] secret;6 identifier [] cookie_value;7 block [8,27,35,43,52,61,78,90];8 if_statement [9,17];9 comparison_operator [10,14] >;10 call [11,12];11 identifier [] len;12 argument_list [13];13 ident...
Decodes a cookie value and returns the sid if value or None if invalid.
0 module [1];1 function_definition [2,3,8];2 function_name [] create_system;3 parameters [4,5];4 identifier [] self;5 default_parameter [6,7];6 identifier [] new_machine_id;7 False [];8 block [9,15,22,28,34,40,46,62,81,90,98,106,113,121];9 expression_statement [10];10 assignment [11,12];11 identifier [] client_hostname...
Create the machine via the API
0 module [1];1 function_definition [2,3,6];2 function_name [] _clean;3 parameters [4,5];4 identifier [] self;5 identifier [] value;6 block [7,18,35,51];7 expression_statement [8];8 assignment [9,10];9 identifier [] value;10 generator_expression [11,15];11 call [12,13];12 identifier [] str;13 argument_list [14];14 ident...
Perform a standardized pipline of operations across an iterable.
0 module [1];1 function_definition [2,3,5];2 function_name [] _get_memory_base;3 parameters [4];4 identifier [] gallery_conf;5 block [6,120];6 if_statement [7,11,16];7 not_operator [8];8 subscript [9,10];9 identifier [] gallery_conf;10 string [] show_memory;11 block [12];12 expression_statement [13];13 assignment [14,1...
Get the base amount of memory used by running a Python process.
0 module [1];1 function_definition [2,3,9];2 function_name [] _safe_string;3 parameters [4,5,6];4 identifier [] self;5 identifier [] source;6 default_parameter [7,8];7 identifier [] encoding;8 string [] utf-8;9 block [10,25];10 if_statement [11,17];11 not_operator [12];12 call [13,14];13 identifier [] isinstance;14 arg...
Convert unicode to string as gnomekeyring barfs on unicode
0 module [1];1 function_definition [2,3,5];2 function_name [] kw_str_parse;3 parameters [4];4 identifier [] a_string;5 block [6];6 try_statement [7,33];7 block [8];8 return_statement [9];9 call [10,11];10 identifier [] dict;11 generator_expression [12,23];12 tuple [13,14];13 identifier [] k;14 call [15,16];15 identifie...
convert a string in the form 'a=b, c=d, e=f' to a dict
0 module [1];1 function_definition [2,3,5];2 function_name [] ping;3 parameters [4];4 identifier [] self;5 block [6,23];6 expression_statement [7];7 assignment [8,12];8 pattern_list [9,10,11];9 identifier [] status;10 identifier [] _;11 identifier [] body;12 call [13,16];13 attribute [14,15];14 identifier [] self;15 id...
Check server is alive over HTTP
0 module [1];1 function_definition [2,3,8];2 function_name [] popenCatch;3 parameters [4,5];4 identifier [] command;5 default_parameter [6,7];6 identifier [] stdinString;7 None [];8 block [9,18,98,106,121];9 expression_statement [10];10 call [11,14];11 attribute [12,13];12 identifier [] logger;13 identifier [] debug;14...
Runs a command and return standard out.
0 module [1];1 function_definition [2,3,8];2 function_name [] remove_folder_content;3 parameters [4,5];4 identifier [] path;5 default_parameter [6,7];6 identifier [] ignore_hidden_file;7 False [];8 block [9];9 for_statement [10,11,17];10 identifier [] file;11 call [12,15];12 attribute [13,14];13 identifier [] os;14 ide...
Remove all content in the given folder.
0 module [1];1 function_definition [2,3,5];2 function_name [] markup_join;3 parameters [4];4 identifier [] seq;5 block [6,10,18,50];6 expression_statement [7];7 assignment [8,9];8 identifier [] buf;9 list [] [];10 expression_statement [11];11 assignment [12,13];12 identifier [] iterator;13 call [14,15];14 identifier []...
Concatenation that escapes if necessary and converts to unicode.
0 module [1];1 function_definition [2,3,5];2 function_name [] translate_key_to_config;3 parameters [4];4 identifier [] p_key;5 block [6,65];6 if_statement [7,13,59];7 comparison_operator [8,12] >;8 call [9,10];9 identifier [] len;10 argument_list [11];11 identifier [] p_key;12 integer [] 1;13 block [14,22,51];14 expres...
Translates urwid key event to form understandable by topydo config parser.
0 module [1];1 function_definition [2,3,7];2 function_name [] _get_ntgpadnt;3 parameters [4,5,6];4 identifier [] self;5 identifier [] ver;6 identifier [] add_ns;7 block [8,16,26];8 expression_statement [9];9 assignment [10,11];10 identifier [] hdrs;11 subscript [12,15];12 attribute [13,14];13 identifier [] self;14 iden...
Create a namedtuple object for each annotation
0 module [1];1 function_definition [2,3,8];2 function_name [] serialize_action;3 parameters [4,5,6];4 identifier [] action_type;5 identifier [] payload;6 dictionary_splat_pattern [7];7 identifier [] extra_fields;8 block [9,23];9 expression_statement [10];10 assignment [11,12];11 identifier [] action_dict;12 call [13,14...
This function returns the conventional form of the actions.
0 module [1];1 function_definition [2,3,7];2 function_name [] _chunk_write;3 parameters [4,5,6];4 identifier [] chunk;5 identifier [] local_file;6 identifier [] progress;7 block [8,15];8 expression_statement [9];9 call [10,13];10 attribute [11,12];11 identifier [] local_file;12 identifier [] write;13 argument_list [14]...
Write a chunk to file and update the progress bar.
0 module [1];1 function_definition [2,3,6];2 function_name [] create_figure;3 parameters [4,5];4 identifier [] n_subplots;5 identifier [] figsize;6 block [7,9,20,24,47];7 expression_statement [8];8 string [] Create the plot figure and subplot axes;9 expression_statement [10];10 assignment [11,12];11 identifier [] fig;1...
Create the plot figure and subplot axes
0 module [1];1 function_definition [2,3,5];2 function_name [] count_courses;3 parameters [4];4 identifier [] self;5 block [6,10,37];6 expression_statement [7];7 assignment [8,9];8 identifier [] c;9 integer [] 0;10 for_statement [11,12,15];11 identifier [] x;12 attribute [13,14];13 identifier [] self;14 identifier [] tu...
Return the average number of courses per string.
0 module [1];1 function_definition [2,3,7];2 function_name [] add_error;3 parameters [4,5,6];4 identifier [] self;5 identifier [] property_name;6 identifier [] message;7 block [8,23];8 if_statement [9,14];9 comparison_operator [10,11] not in;10 identifier [] property_name;11 attribute [12,13];12 identifier [] self;13 i...
Add an error for the given property.
0 module [1];1 function_definition [2,3,10,12];2 function_name [] _init_setup_console_data;3 parameters [4,5];4 identifier [] self;5 typed_default_parameter [6,7,9];6 identifier [] order;7 type [8];8 identifier [] str;9 string [] C;10 type [11];11 None [];12 block [13,15,21,60,107];13 global_statement [14];14 identifie...
Setup numpy arrays over libtcod data buffers.
0 module [1];1 function_definition [2,3,8];2 function_name [] reprompt_error;3 parameters [4,5];4 identifier [] self;5 default_parameter [6,7];6 identifier [] message;7 None [];8 block [9];9 try_statement [10,66];10 block [11,17,26,37,61];11 expression_statement [12];12 assignment [13,14];13 identifier [] session_id;14...
Intended to be used in case of erroneous input data
0 module [1];1 function_definition [2,3,5];2 function_name [] sspro8_results;3 parameters [4];4 identifier [] self;5 block [6];6 return_statement [7];7 call [8,19];8 attribute [9,18];9 attribute [10,17];10 attribute [11,16];11 attribute [12,15];12 attribute [13,14];13 identifier [] ssbio;14 identifier [] protein;15 ide...
Parse the SSpro8 output file and return a dict of secondary structure compositions.
0 module [1];1 function_definition [2,3,7];2 function_name [] profile_view;3 parameters [4,5];4 identifier [] name;5 dictionary_splat_pattern [6];6 identifier [] kwargs;7 block [8,16];8 expression_statement [9];9 assignment [10,11];10 identifier [] ctx;11 call [12,13];12 identifier [] Context;13 argument_list [14];14 d...
Show profile configuration content.
0 module [1];1 function_definition [2,3,8];2 function_name [] list_all;3 parameters [4];4 typed_parameter [5,6];5 identifier [] dev;6 type [7];7 identifier [] Device;8 block [9];9 for_statement [10,13,20];10 pattern_list [11,12];11 identifier [] name;12 identifier [] service;13 call [14,19];14 attribute [15,18];15 attr...
List all available API calls.
0 module [1];1 function_definition [2,3,6];2 function_name [] to_internal_value;3 parameters [4,5];4 identifier [] self;5 identifier [] data;6 block [7,21];7 if_statement [8,11];8 comparison_operator [9,10] in;9 string [] properties;10 identifier [] data;11 block [12];12 expression_statement [13];13 assignment [14,15];...
Override the parent method to first remove the GeoJSON formatting
0 module [1];1 function_definition [2,3,13];2 function_name [] _change_schema;3 parameters [4,5,6,7,10];4 identifier [] self;5 identifier [] schema;6 identifier [] action;7 default_parameter [8,9];8 identifier [] name;9 None [];10 default_parameter [11,12];11 identifier [] func;12 None [];13 block [14,33,48,52,61,74,87...
Internal method to change a schema.
0 module [1];1 function_definition [2,3,5];2 function_name [] comma_converter;3 parameters [4];4 identifier [] float_string;5 block [6,14];6 expression_statement [7];7 assignment [8,9];8 identifier [] trans_table;9 call [10,11];10 identifier [] maketrans;11 argument_list [12,13];12 string [] b',';13 string [] b'.';14 r...
Convert numbers to floats whether the decimal point is '.' or ',
0 module [1];1 function_definition [2,3,5];2 function_name [] call;3 parameters [4];4 identifier [] self;5 block [6,16,46,58];6 expression_statement [7];7 assignment [8,9];8 identifier [] data;9 call [10,15];10 attribute [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] _downloader;14 identifier [] do...
Make the API call again and fetch fresh data.
0 module [1];1 function_definition [2,3,8];2 function_name [] flush;3 parameters [4,5];4 identifier [] self;5 default_parameter [6,7];6 identifier [] batch_size;7 integer [] 1000;8 block [9,24];9 expression_statement [10];10 assignment [11,12];11 identifier [] keys;12 call [13,18];13 attribute [14,17];14 attribute [15,...
Delete all autocomplete indexes and metadata.
0 module [1];1 function_definition [2,3,5];2 function_name [] _rec_owner_number;3 parameters [4];4 identifier [] self;5 block [6,24];6 expression_statement [7];7 assignment [8,9];8 identifier [] player;9 subscript [10,17];10 attribute [11,16];11 attribute [12,15];12 attribute [13,14];13 identifier [] self;14 identifier...
Get rec owner number.
0 module [1];1 function_definition [2,3,8];2 function_name [] vary_name;3 parameters [4];4 typed_parameter [5,6];5 identifier [] name;6 type [7];7 identifier [] Text;8 block [9,19,28,53];9 expression_statement [10];10 assignment [11,12];11 identifier [] snake;12 call [13,16];13 attribute [14,15];14 identifier [] re;15 ...
Validates the name and creates variations
0 module [1];1 function_definition [2,3,7];2 function_name [] getGroundResolution;3 parameters [4,5,6];4 identifier [] self;5 identifier [] latitude;6 identifier [] level;7 block [8,23,32];8 expression_statement [9];9 assignment [10,11];10 identifier [] latitude;11 call [12,15];12 attribute [13,14];13 identifier [] sel...
returns the ground resolution for based on latitude and zoom level.
0 module [1];1 function_definition [2,3,5];2 function_name [] dict;3 parameters [4];4 identifier [] self;5 block [6,13,22,31,40,71];6 expression_statement [7];7 assignment [8,9];8 identifier [] res;9 call [10,11];10 identifier [] copy;11 argument_list [12];12 identifier [] self;13 if_statement [14,17];14 comparison_ope...
Dictionary representing this match and all child symbol matches.
0 module [1];1 function_definition [2,3,5];2 function_name [] _assertsanity;3 parameters [4];4 identifier [] self;5 block [6,12,26,51];6 assert_statement [7];7 comparison_operator [8,11] >=;8 attribute [9,10];9 identifier [] self;10 identifier [] len;11 integer [] 0;12 assert_statement [13,18];13 comparison_operator [1...
Check internal self consistency as a debugging aid.
0 module [1];1 function_definition [2,3,9];2 function_name [] register;3 parameters [4,5,6];4 identifier [] self;5 identifier [] pattern;6 default_parameter [7,8];7 identifier [] view;8 None [];9 block [10,23,39];10 if_statement [11,14];11 comparison_operator [12,13] is;12 identifier [] view;13 None [];14 block [15];15...
Allow decorator-style construction of URL pattern lists.
0 module [1];1 function_definition [2,3,5];2 function_name [] urls;3 parameters [4];4 identifier [] self;5 block [6];6 for_statement [7,10,17];7 pattern_list [8,9];8 identifier [] base_url;9 identifier [] mapping;10 call [11,16];11 attribute [12,15];12 attribute [13,14];13 identifier [] self;14 identifier [] routes;15 ...
Returns a generator of all URLs attached to this API
0 module [1];1 function_definition [2,3,9];2 function_name [] update;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] typ;6 identifier [] id;7 dictionary_splat_pattern [8];8 identifier [] kwargs;9 block [10];10 return_statement [11];11 call [12,15];12 attribute [13,14];13 identifier [] self;14 identifier [] ...
update just fields sent by keyword args
0 module [1];1 function_definition [2,3,5];2 function_name [] convex_conj;3 parameters [4];4 identifier [] self;5 block [6,17];6 expression_statement [7];7 assignment [8,9];8 identifier [] conj_exp;9 call [10,11];10 identifier [] conj_exponent;11 argument_list [12];12 attribute [13,16];13 attribute [14,15];14 identifie...
The convex conjugate functional of the group L1-norm.
0 module [1];1 function_definition [2,3,5];2 function_name [] display_eventtype;3 parameters [4];4 identifier [] self;5 block [6,35,43,50,56,63,74,83,94,101,107,174];6 if_statement [7,12,29];7 comparison_operator [8,11] is not;8 attribute [9,10];9 identifier [] self;10 identifier [] annot;11 None [];12 block [13];13 ex...
Read the list of event types in the annotations and update widgets.
0 module [1];1 function_definition [2,3,5];2 function_name [] sync_objects_in;3 parameters [4];4 identifier [] self;5 block [6,16];6 expression_statement [7];7 assignment [8,11];8 attribute [9,10];9 identifier [] self;10 identifier [] dstate;11 attribute [12,15];12 attribute [13,14];13 identifier [] self;14 identifier ...
Synchronize from records to objects
0 module [1];1 function_definition [2,3,8];2 function_name [] read_mm_uic2;3 parameters [4,5,6,7];4 identifier [] fd;5 identifier [] byte_order;6 identifier [] dtype;7 identifier [] count;8 block [9,16,31,51];9 expression_statement [10];10 assignment [11,12];11 identifier [] result;12 dictionary [13];13 pair [14,15];14...
Read MM_UIC2 tag from file and return as dictionary.
0 module [1];1 function_definition [2,3,5,7];2 function_name [] run;3 parameters [4];4 identifier [] self;5 type [6];6 None [];7 block [8,14,20,26,32,36];8 expression_statement [9];9 assignment [10,11];10 identifier [] fd;11 attribute [12,13];12 identifier [] self;13 identifier [] _fd;14 expression_statement [15];15 as...
Read lines and put them on the queue.
0 module [1];1 function_definition [2,3,6];2 function_name [] format_template_file;3 parameters [4,5];4 identifier [] filename;5 identifier [] content;6 block [7,44];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 identif...
Render a given pystache template file with given content
0 module [1];1 function_definition [2,3,4];2 function_name [] ls;3 parameters [];4 block [5,15,25];5 expression_statement [6];6 assignment [7,10];7 pattern_list [8,9];8 identifier [] heading;9 identifier [] body;10 call [11,14];11 attribute [12,13];12 identifier [] cli_syncthing_adapter;13 identifier [] ls;14 argument_...
List all synchronized directories.
0 module [1];1 function_definition [2,3,7];2 function_name [] make_reader_task;3 parameters [4,5,6];4 identifier [] self;5 identifier [] stream;6 identifier [] callback;7 block [8];8 return_statement [9];9 call [10,15];10 attribute [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] loop;14 identifier [...
Create a reader executor task for a stream.
0 module [1];1 function_definition [2,3,7];2 function_name [] splitSong;3 parameters [4,5,6];4 identifier [] songToSplit;5 identifier [] start1;6 identifier [] start2;7 block [8,15,22,36];8 print_statement [9];9 binary_operator [10,11] +;10 string [] start1;11 call [12,13];12 identifier [] str;13 argument_list [14];14 ...
Split a song into two parts, one starting at start1, the other at start2
0 module [1];1 function_definition [2,3,5];2 function_name [] base_url;3 parameters [4];4 identifier [] root;5 block [6,32];6 for_statement [7,10,17];7 pattern_list [8,9];8 identifier [] attr;9 identifier [] value;10 call [11,16];11 attribute [12,15];12 attribute [13,14];13 identifier [] root;14 identifier [] attrib;15...
Determine the base url for a root element.
0 module [1];1 function_definition [2,3,6];2 function_name [] send_file;3 parameters [4,5];4 identifier [] self;5 identifier [] file;6 block [7,23,30,38,49];7 if_statement [8,11];8 attribute [9,10];9 identifier [] self;10 identifier [] logger;11 block [12];12 expression_statement [13];13 call [14,19];14 attribute [15,1...
Send a file to the client, it is a convenient method to avoid duplicated code
0 module [1];1 function_definition [2,3,6];2 function_name [] Z;3 parameters [4,5];4 identifier [] self;5 identifier [] value;6 block [7];7 if_statement [8,19];8 call [9,10];9 identifier [] isinstance;10 argument_list [11,12];11 identifier [] value;12 tuple [13,14,15,16];13 identifier [] int;14 identifier [] float;15 i...
sets the Z coordinate
0 module [1];1 function_definition [2,3,5];2 function_name [] _find_usage_application_versions;3 parameters [4];4 identifier [] self;5 block [6,16];6 expression_statement [7];7 assignment [8,9];8 identifier [] versions;9 call [10,15];10 attribute [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] conn;...
find usage for ElasticBeanstalk application verions
0 module [1];1 function_definition [2,3,29];2 function_name [] update_transfer;3 parameters [4,5,9,13,17,21,25];4 identifier [] self;5 typed_parameter [6,7];6 identifier [] nonce;7 type [8];8 identifier [] Nonce;9 typed_parameter [10,11];10 identifier [] balance_hash;11 type [12];12 identifier [] BalanceHash;13 typed_p...
Updates the channel using the provided balance proof.
0 module [1];1 function_definition [2,3,5];2 function_name [] _NormalizeDiscoveryUrls;3 parameters [4];4 identifier [] discovery_url;5 block [6,27,39];6 if_statement [7,13,17];7 call [8,11];8 attribute [9,10];9 identifier [] discovery_url;10 identifier [] startswith;11 argument_list [12];12 string [] http;13 block [14]...
Expands a few abbreviations into full discovery urls.
0 module [1];1 function_definition [2,3,6];2 function_name [] before_processing;3 parameters [4,5];4 identifier [] eng;5 identifier [] objects;6 block [7,20,29];7 expression_statement [8];8 call [9,17];9 attribute [10,15,16];10 call [11,12];11 identifier [] super;12 argument_list [13,14];13 identifier [] InvenioProcess...
Execute before processing the workflow.
0 module [1];1 function_definition [2,3,5];2 function_name [] default;3 parameters [4];4 identifier [] value;5 block [6,63];6 if_statement [7,12,37,49];7 call [8,9];8 identifier [] isinstance;9 argument_list [10,11];10 identifier [] value;11 identifier [] Decimal;12 block [13,20];13 expression_statement [14];14 assignm...
Default encoder for JSON
0 module [1];1 function_definition [2,3,6];2 function_name [] histograms_route;3 parameters [4,5];4 identifier [] self;5 identifier [] request;6 block [7,18,29,73];7 expression_statement [8];8 assignment [9,10];9 identifier [] tag;10 call [11,16];11 attribute [12,15];12 attribute [13,14];13 identifier [] request;14 ide...
Given a tag and single run, return array of histogram values.
0 module [1];1 function_definition [2,3,5];2 function_name [] instantiate;3 parameters [4];4 identifier [] self;5 block [6,10,79];6 expression_statement [7];7 assignment [8,9];8 identifier [] code_lines;9 list [] [];10 if_statement [11,15];11 not_operator [12];12 attribute [13,14];13 identifier [] self;14 identifier []...
Write lines for instantiation