sequence
stringlengths
388
5.57k
docstring
stringlengths
11
171
0 module [1];1 function_definition [2,3,11];2 function_name [] send_activation;3 parameters [4,5,6,9];4 identifier [] self;5 identifier [] user;6 default_parameter [7,8];7 identifier [] sender;8 None [];9 dictionary_splat_pattern [10];10 identifier [] kwargs;11 block [12,19,28,38];12 if_statement [13,16];13 attribute [...
Invites a user to join the site
0 module [1];1 function_definition [2,3,8];2 function_name [] signature_validate;3 parameters [4,5];4 identifier [] signature;5 default_parameter [6,7];6 identifier [] error;7 None [];8 block [9,11,20,38,44];9 expression_statement [10];10 string [] is signature a valid sequence of zero or more complete types.;11 expres...
is signature a valid sequence of zero or more complete types.
0 module [1];1 function_definition [2,3,5];2 function_name [] camel_to_underscore;3 parameters [4];4 identifier [] name;5 block [6,10,17,69];6 expression_statement [7];7 assignment [8,9];8 identifier [] as_list;9 list [] [];10 expression_statement [11];11 assignment [12,13];12 identifier [] length;13 call [14,15];14 id...
convert CamelCase style to under_score_case
0 module [1];1 function_definition [2,3,7];2 function_name [] find_matching;3 parameters [4,5,6];4 identifier [] cls;5 identifier [] message;6 identifier [] channel;7 block [8];8 return_statement [9];9 generator_expression [10,11,16];10 identifier [] handler;11 for_in_clause [12,13];12 identifier [] handler;13 attribut...
Yield ``cls`` subclasses that match message and channel
0 module [1];1 function_definition [2,3,6];2 function_name [] show_shortcuts;3 parameters [4,5];4 identifier [] self;5 identifier [] menu;6 block [7];7 for_statement [8,9,16];8 identifier [] element;9 call [10,11];10 identifier [] getattr;11 argument_list [12,13];12 identifier [] self;13 binary_operator [14,15] +;14 id...
Show action shortcuts in menu
0 module [1];1 function_definition [2,3,5];2 function_name [] calc_mb_ports;3 parameters [4];4 identifier [] self;5 block [6,14,22,32,36,98];6 expression_statement [7];7 assignment [8,9];8 identifier [] model;9 subscript [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] device_info;13 string [] model;...
Add the default ports to add to a router
0 module [1];1 function_definition [2,3,6];2 function_name [] xincludeProcessFlags;3 parameters [4,5];4 identifier [] self;5 identifier [] flags;6 block [7,19];7 expression_statement [8];8 assignment [9,10];9 identifier [] ret;10 call [11,14];11 attribute [12,13];12 identifier [] libxml2mod;13 identifier [] xmlXInclude...
Implement the XInclude substitution on the XML document @doc
0 module [1];1 function_definition [2,3,6];2 function_name [] _AssAttr;3 parameters [4,5];4 identifier [] self;5 identifier [] t;6 block [7,16];7 expression_statement [8];8 call [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] _dispatch;12 argument_list [13];13 attribute [14,15];14 identifier [] t;15 i...
Handle assigning an attribute of an object
0 module [1];1 function_definition [2,3,8];2 function_name [] DispatchSpout;3 parameters [4,6];4 list_splat_pattern [5];5 identifier [] a;6 dictionary_splat_pattern [7];7 identifier [] kw;8 block [9,17,27];9 expression_statement [10];10 assignment [11,12];11 identifier [] spout_class_name;12 subscript [13,16];13 call [...
Factory to dispatch spout class based on config.
0 module [1];1 function_definition [2,3,5];2 function_name [] pos_int;3 parameters [4];4 identifier [] i;5 block [6,45];6 try_statement [7,38];7 block [8,22];8 if_statement [9,14];9 call [10,11];10 identifier [] isinstance;11 argument_list [12,13];12 identifier [] i;13 identifier [] string_types;14 block [15];15 expres...
Simple positive integer validation.
0 module [1];1 function_definition [2,3,8];2 function_name [] _domain_event_job_completed_cb;3 parameters [4,5,6,7];4 identifier [] conn;5 identifier [] domain;6 identifier [] params;7 identifier [] opaque;8 block [9];9 expression_statement [10];10 call [11,12];11 identifier [] _salt_send_domain_event;12 argument_list ...
Domain job completion events handler
0 module [1];1 function_definition [2,3,5];2 function_name [] _bse_cli_list_roles;3 parameters [4];4 identifier [] args;5 block [6,14,40];6 expression_statement [7];7 assignment [8,9];8 identifier [] all_roles;9 call [10,13];10 attribute [11,12];11 identifier [] api;12 identifier [] get_roles;13 argument_list [];14 if_...
Handles the list-roles subcommand
0 module [1];1 function_definition [2,3,9];2 function_name [] add_plugin;3 parameters [4,5,6,7,8];4 identifier [] self;5 identifier [] plugin;6 identifier [] tabs;7 identifier [] data;8 identifier [] icon;9 block [10,21,32];10 expression_statement [11];11 call [12,17];12 attribute [13,16];13 attribute [14,15];14 identi...
Add a plugin to display its files.
0 module [1];1 function_definition [2,3,5];2 function_name [] _set_seed;3 parameters [4];4 identifier [] self;5 block [6];6 if_statement [7,14];7 comparison_operator [8,13] is not;8 subscript [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] flags;12 string [] SEED;13 None [];14 block [15,26];15 express...
Set random seed for numpy and tensorflow packages
0 module [1];1 function_definition [2,3,7];2 function_name [] convert_time_to_hour_minute;3 parameters [4,5,6];4 identifier [] hour;5 identifier [] minute;6 identifier [] convention;7 block [8,17,26,35,42,49,62];8 if_statement [9,12];9 comparison_operator [10,11] is;10 identifier [] hour;11 None [];12 block [13];13 exp...
Convert time to hour, minute
0 module [1];1 function_definition [2,3,5];2 function_name [] addContinuousSet;3 parameters [4];4 identifier [] self;5 block [6,12,27,45,56,66,74,86,97,104,111];6 expression_statement [7];7 call [8,11];8 attribute [9,10];9 identifier [] self;10 identifier [] _openRepo;11 argument_list [];12 expression_statement [13];13...
Adds a new continuous set into this repo
0 module [1];1 function_definition [2,3,6];2 function_name [] neg_log_perplexity;3 parameters [4,5];4 identifier [] batch;5 identifier [] model_predictions;6 block [7,13,23,27,70];7 expression_statement [8];8 assignment [9,12];9 pattern_list [10,11];10 identifier [] _;11 identifier [] targets;12 identifier [] batch;13 ...
Calculate negative log perplexity.
0 module [1];1 function_definition [2,3,6];2 function_name [] _validate_conn;3 parameters [4,5];4 identifier [] self;5 identifier [] conn;6 block [7,18,33];7 expression_statement [8];8 call [9,16];9 attribute [10,15];10 call [11,12];11 identifier [] super;12 argument_list [13,14];13 identifier [] HTTPSConnectionPool;14...
Called right before a request is made, after the socket is created.
0 module [1];1 function_definition [2,3,6];2 function_name [] compile_and_process;3 parameters [4,5];4 identifier [] self;5 identifier [] in_path;6 block [7,15,87,96,126];7 expression_statement [8];8 assignment [9,10];9 identifier [] out_path;10 subscript [11,14];11 attribute [12,13];12 identifier [] self;13 identifier...
compile a file, save it to the ouput file if the inline flag true
0 module [1];1 function_definition [2,3,6];2 function_name [] search_function;3 parameters [4,5];4 identifier [] cls;5 identifier [] encoding;6 block [7,35];7 if_statement [8,13];8 comparison_operator [9,10] ==;9 identifier [] encoding;10 attribute [11,12];11 identifier [] cls;12 identifier [] _codec_name;13 block [14]...
Search function to find 'rotunicode' codec.
0 module [1];1 function_definition [2,3,5];2 function_name [] _load_managed_entries;3 parameters [4];4 identifier [] self;5 block [6];6 for_statement [7,10,17];7 pattern_list [8,9];8 identifier [] process_name;9 identifier [] process_entry;10 call [11,16];11 attribute [12,15];12 attribute [13,14];13 identifier [] conte...
loads scheduler managed entries. no start-up procedures are performed
0 module [1];1 function_definition [2,3,7];2 function_name [] defpm;3 parameters [4,5];4 identifier [] name;5 list_splat_pattern [6];6 identifier [] lines;7 block [8,10,66];8 expression_statement [9];9 string [] define a new package manager;10 decorated_definition [11,19,21];11 decorator [12];12 call [13,14];13 identif...
define a new package manager
0 module [1];1 function_definition [2,3,8];2 function_name [] _usernamesToSidObjects;3 parameters [4,5,6];4 identifier [] cls;5 identifier [] val;6 dictionary_splat_pattern [7];7 identifier [] kwargs;8 block [9,15,33,37,89];9 if_statement [10,12];10 not_operator [11];11 identifier [] val;12 block [13];13 return_stateme...
converts a list of usernames to sid objects
0 module [1];1 function_definition [2,3,5];2 function_name [] max_neg;3 parameters [4];4 identifier [] self;5 block [6,20,30,46,56];6 if_statement [7,14];7 comparison_operator [8,13] ==;8 call [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] __len__;12 argument_list [];13 integer [] 0;14 block [15];15 ...
Returns maximum negative value or None.
0 module [1];1 function_definition [2,3,6];2 function_name [] uploaded_filepath;3 parameters [4,5];4 identifier [] instance;5 identifier [] filename;6 block [7,19,31,44];7 expression_statement [8];8 assignment [9,10];9 identifier [] ext;10 subscript [11,17];11 call [12,15];12 attribute [13,14];13 identifier [] filename...
Returns default filepath for uploaded files.
0 module [1];1 function_definition [2,3,8];2 function_name [] read_PIA0_B_control;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] cpu_cycles;6 identifier [] op_address;7 identifier [] address;8 block [9,17,41];9 expression_statement [10];10 assignment [11,12];11 identifier [] value;12 attribute [13,16];13 a...
read from 0xff03 -> PIA 0 B side Control reg.
0 module [1];1 function_definition [2,3,5];2 function_name [] write_docstring;3 parameters [4];4 identifier [] self;5 block [6,18,141];6 expression_statement [7];7 assignment [8,9];8 identifier [] line_to_cursor;9 call [10,15];10 attribute [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] code_editor;...
Write docstring to editor.
0 module [1];1 function_definition [2,3,11];2 function_name [] _report_problem;3 parameters [4,5,6];4 identifier [] self;5 identifier [] problem;6 default_parameter [7,8];7 identifier [] level;8 attribute [9,10];9 identifier [] logging;10 identifier [] ERROR;11 block [12,22,38,48];12 expression_statement [13];13 assign...
Report a given problem
0 module [1];1 function_definition [2,3,6];2 function_name [] execute;3 parameters [4,5];4 identifier [] self;5 identifier [] request_object;6 block [7,20];7 if_statement [8,12];8 not_operator [9];9 attribute [10,11];10 identifier [] request_object;11 identifier [] is_valid;12 block [13];13 return_statement [14];14 cal...
Generic executor method of all UseCases
0 module [1];1 function_definition [2,3,6];2 function_name [] load_object;3 parameters [4,5];4 identifier [] self;5 identifier [] kwargs;6 block [7,13,19,29,37,45,120];7 expression_statement [8];8 assignment [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] object;12 None [];13 expression_statement [14]...
Load object and model config and remove pk from kwargs
0 module [1];1 function_definition [2,3,7];2 function_name [] make_func_call;3 parameters [4,5,6];4 identifier [] id_;5 identifier [] lineno;6 identifier [] params;7 block [8];8 return_statement [9];9 call [10,15];10 attribute [11,14];11 attribute [12,13];12 identifier [] symbols;13 identifier [] FUNCCALL;14 identifier...
This will return an AST node for a function call.
0 module [1];1 function_definition [2,3,5];2 function_name [] url;3 parameters [4];4 identifier [] self;5 block [6,10,18,42];6 expression_statement [7];7 assignment [8,9];8 identifier [] path;9 None [];10 expression_statement [11];11 assignment [12,13];12 identifier [] nodes;13 call [14,17];14 attribute [15,16];15 iden...
Returns the whole URL from the base to this node.
0 module [1];1 function_definition [2,3,7];2 function_name [] derive_single_object_url_pattern;3 parameters [4,5,6];4 identifier [] slug_url_kwarg;5 identifier [] path;6 identifier [] action;7 block [8];8 if_statement [9,10,18];9 identifier [] slug_url_kwarg;10 block [11];11 return_statement [12];12 binary_operator [13...
Utility function called by class methods for single object views
0 module [1];1 function_definition [2,3,13];2 function_name [] add_to_line_plot;3 parameters [4,5,6,7,10];4 identifier [] ax;5 identifier [] x;6 identifier [] y;7 default_parameter [8,9];8 identifier [] color;9 string [] 0.;10 default_parameter [11,12];11 identifier [] label;12 string [];13 block [14,21,35];14 expressi...
This function takes an axes and adds one line to it
0 module [1];1 function_definition [2,3,6];2 function_name [] _read_sequences;3 parameters [4,5];4 identifier [] self;5 identifier [] graph;6 block [7];7 for_statement [8,9,18];8 identifier [] e;9 call [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] _get_elements;13 argument_list [14,15];14 identifi...
Read graph and add sequences to document
0 module [1];1 function_definition [2,3,5];2 function_name [] _save_trace;3 parameters [4];4 identifier [] self;5 block [6,12];6 expression_statement [7];7 assignment [8,9];8 identifier [] stack_trace;9 call [10,11];10 identifier [] stack;11 argument_list [];12 try_statement [13,42];13 block [14,20];14 expression_state...
Save current stack trace as formatted string.
0 module [1];1 function_definition [2,3,5];2 function_name [] _reseed;3 parameters [4];4 identifier [] self;5 block [6,17,27,43];6 expression_statement [7];7 assignment [8,11];8 attribute [9,10];9 identifier [] self;10 identifier [] _char;11 call [12,13];12 identifier [] choice;13 argument_list [14];14 attribute [15,16...
Randomly create a new snowflake once this one is finished.
0 module [1];1 function_definition [2,3,6];2 function_name [] l2n;3 parameters [4,5];4 identifier [] l;5 identifier [] c;6 block [7,9,13,31,49,67,83];7 expression_statement [8];8 string [] host to network long;9 expression_statement [10];10 assignment [11,12];11 identifier [] c;12 list [] [];13 expression_statement [14...
host to network long
0 module [1];1 function_definition [2,3,8];2 function_name [] run_thread;3 parameters [4,5,6,7];4 identifier [] agent_classes;5 identifier [] players;6 identifier [] map_name;7 identifier [] visualize;8 block [9];9 with_statement [10,81];10 with_clause [11];11 with_item [12];12 as_pattern [13,79];13 call [14,17];14 att...
Run one thread worth of the environment with agents.
0 module [1];1 function_definition [2,3,6];2 function_name [] _validate_index;3 parameters [4,5];4 identifier [] self;5 identifier [] index;6 block [7,47];7 if_statement [8,13,40];8 call [9,10];9 identifier [] isinstance;10 argument_list [11,12];11 identifier [] index;12 identifier [] slice;13 block [14,30];14 if_state...
Validates given index, eventually raises errors.
0 module [1];1 function_definition [2,3,9];2 function_name [] _match_real;3 parameters [4,5,6,7,8];4 identifier [] filename;5 identifier [] include;6 identifier [] exclude;7 identifier [] follow;8 identifier [] symlinks;9 block [10,23,39,61,65,84,113];10 expression_statement [11];11 assignment [12,13];12 identifier [] ...
Match real filename includes and excludes.
0 module [1];1 function_definition [2,3,6];2 function_name [] _emplace_transcript;3 parameters [4,5];4 identifier [] transcripts;5 identifier [] parent;6 block [7,29,37];7 expression_statement [8];8 call [9,12];9 attribute [10,11];10 identifier [] transcripts;11 identifier [] sort;12 argument_list [13];13 keyword_argum...
Retrieve the primary transcript and discard all others.
0 module [1];1 function_definition [2,3,5];2 function_name [] _add_cli_args;3 parameters [4];4 identifier [] self;5 block [6,22,38,57,74,90,141];6 expression_statement [7];7 call [8,13];8 attribute [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] _arg_parser;12 identifier [] add_argument;13 argument_li...
Add the cli arguments to the argument parser.
0 module [1];1 function_definition [2,3,5];2 function_name [] getHostsFromFile;3 parameters [4];4 identifier [] filename;5 block [6,10,14,23,32,36,145];6 expression_statement [7];7 assignment [8,9];8 identifier [] valid_hostname;9 string [] r"^[^ /\t=\n]+";10 expression_statement [11];11 assignment [12,13];12 identifie...
Parse a file to return a list of hosts.
0 module [1];1 function_definition [2,3,5];2 function_name [] tls_meta_data;3 parameters [4];4 identifier [] self;5 block [6];6 for_statement [7,8,11];7 identifier [] flow;8 attribute [9,10];9 identifier [] self;10 identifier [] input_stream;11 block [12,20,187];12 if_statement [13,18];13 comparison_operator [14,17] !=...
Pull out the TLS metadata for each flow in the input_stream
0 module [1];1 function_definition [2,3,5];2 function_name [] _init_grps;3 parameters [4];4 identifier [] code2nt;5 block [6,12,18,32];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 identifi...
Return list of groups in same order as in code2nt
0 module [1];1 function_definition [2,3,5];2 function_name [] vertices;3 parameters [4];4 identifier [] self;5 block [6];6 return_statement [7];7 dictionary [8,13,18,23];8 pair [9,10];9 string [] a;10 attribute [11,12];11 identifier [] self;12 identifier [] a;13 pair [14,15];14 string [] a_neg;15 attribute [16,17];16 i...
A dictionary of four points where the axes intersect the ellipse, dict.
0 module [1];1 function_definition [2,3,7];2 function_name [] avail_images;3 parameters [4];4 default_parameter [5,6];5 identifier [] call;6 None [];7 block [8,14,18,39];8 expression_statement [9];9 assignment [10,11];10 identifier [] all_servers;11 call [12,13];12 identifier [] list_nodes_full;13 argument_list [];14 e...
returns a list of images available to you
0 module [1];1 function_definition [2,3,7];2 function_name [] simulate_one;3 parameters [4,5,6];4 identifier [] fw;5 identifier [] name;6 identifier [] size;7 block [8,13,34,47];8 import_from_statement [9,11];9 dotted_name [10];10 identifier [] random;11 dotted_name [12];12 identifier [] choice;13 expression_statement ...
Simulate a random sequence with name and size
0 module [1];1 function_definition [2,3,5];2 function_name [] create_network;3 parameters [4];4 identifier [] self;5 block [6,16];6 expression_statement [7];7 assignment [8,9];8 identifier [] class_;9 call [10,11];10 identifier [] getattr;11 argument_list [12,13];12 identifier [] networks;13 attribute [14,15];14 identi...
Create a new network by reading the configuration file.
0 module [1];1 function_definition [2,3,6];2 function_name [] to_file;3 parameters [4,5];4 identifier [] cls;5 identifier [] status;6 block [7];7 return_statement [8];8 subscript [9,38];9 dictionary [10,17,24,31];10 pair [11,14];11 attribute [12,13];12 identifier [] Status;13 identifier [] PENDING;14 attribute [15,16];...
Returns the file in which this task is stored.
0 module [1];1 function_definition [2,3,13];2 function_name [] _fixup_cdef_enums;3 parameters [4,5];4 identifier [] string;5 default_parameter [6,7];6 identifier [] reg;7 call [8,11];8 attribute [9,10];9 identifier [] re;10 identifier [] compile;11 argument_list [12];12 string [] r"=\s*(\d+)\s*<<\s*(\d+)";13 block [14,...
Converts some common enum expressions to constants
0 module [1];1 function_definition [2,3,12];2 function_name [] new_deploy;3 parameters [4,8];4 typed_parameter [5,6];5 identifier [] py_ver;6 type [7];7 identifier [] PyVer;8 typed_parameter [9,10];9 identifier [] release_target;10 type [11];11 identifier [] ReleaseTarget;12 block [13,17,26];13 expression_statement [14...
Job for deploying package to pypi
0 module [1];1 function_definition [2,3,9];2 function_name [] update_tool_tip;3 parameters [4,5];4 identifier [] self;5 typed_parameter [6,7];6 identifier [] service_running;7 type [8];8 identifier [] bool;9 block [10];10 if_statement [11,12,20];11 identifier [] service_running;12 block [13];13 expression_statement [14...
Slot function that updates the tooltip when the user activates or deactivates the expansion service.
0 module [1];1 function_definition [2,3,5];2 function_name [] stats_flush;3 parameters [4];4 identifier [] self;5 block [6];6 while_statement [7,8];7 True [];8 block [9];9 try_statement [10,84];10 block [11,20,37];11 expression_statement [12];12 call [13,16];13 attribute [14,15];14 identifier [] eventlet;15 identifier ...
Periodically flush stats to graphite
0 module [1];1 function_definition [2,3,6];2 function_name [] xpointerNewRangeNodes;3 parameters [4,5];4 identifier [] self;5 identifier [] end;6 block [7,24,36,46];7 if_statement [8,11,16];8 comparison_operator [9,10] is;9 identifier [] end;10 None [];11 block [12];12 expression_statement [13];13 assignment [14,15];14...
Create a new xmlXPathObjectPtr of type range using 2 nodes
0 module [1];1 function_definition [2,3,6];2 function_name [] extract_translations;3 parameters [4,5];4 identifier [] self;5 identifier [] string;6 block [7,16,28,35];7 expression_statement [8];8 assignment [9,10];9 identifier [] tree;10 call [11,14];11 attribute [12,13];12 identifier [] ast;13 identifier [] parse;14 a...
Extract messages from Python string.
0 module [1];1 function_definition [2,3,6];2 function_name [] describe_tile;3 parameters [4,5];4 identifier [] self;5 identifier [] index;6 block [7,39];7 if_statement [8,18,27];8 comparison_operator [9,10] >=;9 identifier [] index;10 call [11,12];11 identifier [] len;12 argument_list [13];13 attribute [14,17];14 attri...
Get the registration information for the tile at the given index.
0 module [1];1 function_definition [2,3,6];2 function_name [] cmd_lockup_autopilot;3 parameters [4,5];4 identifier [] self;5 identifier [] args;6 block [7];7 if_statement [8,20,59];8 boolean_operator [9,15] and;9 comparison_operator [10,14] >;10 call [11,12];11 identifier [] len;12 argument_list [13];13 identifier [] a...
lockup autopilot for watchdog testing
0 module [1];1 function_definition [2,3,5];2 function_name [] string_to_state;3 parameters [4];4 identifier [] s;5 block [6,13,17,61,68,73];6 expression_statement [7];7 assignment [8,9];8 identifier [] s;9 call [10,11];10 identifier [] lexer;11 argument_list [12];12 identifier [] s;13 expression_statement [14];14 assig...
s is a string possibly preceded by > or @.
0 module [1];1 function_definition [2,3,5];2 function_name [] current_view;3 parameters [4];4 identifier [] self;5 block [6,12];6 expression_statement [7];7 assignment [8,9];8 identifier [] state;9 attribute [10,11];10 identifier [] self;11 identifier [] state;12 return_statement [13];13 tuple [14,17,20,23,26,29];14 at...
return a tuple representing the current view
0 module [1];1 function_definition [2,3,6];2 function_name [] init_converse_args;3 parameters [4,5];4 identifier [] self;5 identifier [] parser;6 block [7,24];7 expression_statement [8];8 call [9,12];9 attribute [10,11];10 identifier [] parser;11 identifier [] add_argument;12 argument_list [13,14,15,18,21];13 string []...
Only invoked conditionally if subcommand is 'converse'
0 module [1];1 function_definition [2,3,8];2 function_name [] from_validation_exception;3 parameters [4,5,6];4 identifier [] cls;5 identifier [] exception;6 dictionary_splat_pattern [7];7 identifier [] kwargs;8 block [9,13,136,141,151];9 expression_statement [10];10 assignment [11,12];11 identifier [] errors;12 list []...
Create an error from validation exception.
0 module [1];1 function_definition [2,3,6];2 function_name [] _get_digraph_char;3 parameters [4,5];4 identifier [] self;5 identifier [] cli;6 block [7,9,16,38];7 expression_statement [8];8 string [] Return `False`, or the Digraph symbol to be used.;9 if_statement [10,13];10 attribute [11,12];11 identifier [] cli;12 ide...
Return `False`, or the Digraph symbol to be used.
0 module [1];1 function_definition [2,3,8];2 function_name [] error;3 parameters [4,5];4 identifier [] message;5 default_parameter [6,7];6 identifier [] code;7 integer [] 1;8 block [9,38];9 if_statement [10,11,27];10 identifier [] message;11 block [12];12 expression_statement [13];13 call [14,15];14 identifier [] print...
Prints an error message to stderr and exits with a status of 1 by default.
0 module [1];1 function_definition [2,3,6];2 function_name [] location_gmap;3 parameters [4,5];4 identifier [] context;5 identifier [] location;6 block [7,11,23];7 expression_statement [8];8 assignment [9,10];9 identifier [] gmapq;10 None [];11 if_statement [12,18];12 call [13,14];13 identifier [] getattr;14 argument_l...
Display a link to Google maps iff we are using WagtailGMaps
0 module [1];1 function_definition [2,3,5];2 function_name [] to_dict;3 parameters [4];4 identifier [] self;5 block [6];6 return_statement [7];7 dictionary [8,13,18,23,28];8 pair [9,10];9 string [] high;10 attribute [11,12];11 identifier [] self;12 identifier [] high;13 pair [14,15];14 string [] low;15 attribute [16,17...
Pack the stats computed into a dictionary.
0 module [1];1 function_definition [2,3,13];2 function_name [] _update_uncompressed;3 parameters [4,5,6,7,8,9,10,11,12];4 identifier [] collection_name;5 identifier [] upsert;6 identifier [] multi;7 identifier [] spec;8 identifier [] doc;9 identifier [] safe;10 identifier [] last_error_args;11 identifier [] check_keys;...
Internal update message helper.
0 module [1];1 function_definition [2,3,8,10];2 function_name [] isValidPublicAddress;3 parameters [4];4 typed_parameter [5,6];5 identifier [] address;6 type [7];7 identifier [] str;8 type [9];9 identifier [] bool;10 block [11,15,53];11 expression_statement [12];12 assignment [13,14];13 identifier [] valid;14 False [];...
Check if address is a valid NEO address
0 module [1];1 function_definition [2,3,6];2 function_name [] setup;3 parameters [4,5];4 identifier [] self;5 identifier [] app;6 block [7];7 for_statement [8,9,12];8 identifier [] other;9 attribute [10,11];10 identifier [] app;11 identifier [] plugins;12 block [13,22];13 if_statement [14,20];14 not_operator [15];15 ca...
Make sure that other installed plugins don't affect the same keyword argument.
0 module [1];1 function_definition [2,3,6];2 function_name [] insert;3 parameters [4,5];4 identifier [] self;5 identifier [] anchor;6 block [7,15,21,29];7 expression_statement [8];8 assignment [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] prec;12 attribute [13,14];13 identifier [] anchor;14 identifi...
insert list item before anchor
0 module [1];1 function_definition [2,3,5];2 function_name [] request_signature;3 parameters [4];4 identifier [] self;5 block [6,17,51];6 expression_statement [7];7 assignment [8,9];8 identifier [] signature;9 call [10,15];10 attribute [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] query_parameters...
The signature passed in the request.
0 module [1];1 function_definition [2,3,6];2 function_name [] copy_model_to_fp32;3 parameters [4,5];4 identifier [] m;5 identifier [] optim;6 block [7,35,47,54,111];7 expression_statement [8];8 assignment [9,10];9 identifier [] fp32_params;10 list_comprehension [11,29];11 call [12,28];12 attribute [13,27];13 call [14,2...
Creates a fp32 copy of model parameters and sets optimizer parameters
0 module [1];1 function_definition [2,3,5];2 function_name [] updateRPYLocations;3 parameters [4];4 identifier [] self;5 block [6,41,75,96,107,118];6 expression_statement [7];7 call [8,13];8 attribute [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] rollText;12 identifier [] set_position;13 argument_li...
Update the locations of roll, pitch, yaw text.
0 module [1];1 function_definition [2,3,7];2 function_name [] update;3 parameters [4,5,6];4 identifier [] self;5 identifier [] new_email_address;6 identifier [] name;7 block [8,17,27,47];8 expression_statement [9];9 assignment [10,11];10 identifier [] params;11 dictionary [12];12 pair [13,14];13 string [] email;14 attr...
Updates the details for an administrator.
0 module [1];1 function_definition [2,3,5];2 function_name [] paste_from_clipboard;3 parameters [4];4 identifier [] self;5 block [6,14,45,59,63,105];6 expression_statement [7];7 assignment [8,9];8 identifier [] to;9 call [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] get_current_path;13 argument_li...
Pastes files from clipboard.
0 module [1];1 function_definition [2,3,5];2 function_name [] alerts;3 parameters [4];4 identifier [] self;5 block [6,22];6 expression_statement [7];7 assignment [8,9];8 identifier [] endpoint;9 call [10,13];10 attribute [11,12];11 string [] /;12 identifier [] join;13 argument_list [14];14 tuple [15,18,21];15 attribute...
Query for alerts attached to this incident.
0 module [1];1 function_definition [2,3,5];2 function_name [] update;3 parameters [4];4 identifier [] self;5 block [6];6 for_statement [7,8,11];7 identifier [] p;8 attribute [9,10];9 identifier [] self;10 identifier [] _plugins;11 block [12,24,34,46];12 if_statement [13,22];13 call [14,21];14 attribute [15,20];15 subsc...
Update the stats using SNMP.
0 module [1];1 function_definition [2,3,9];2 function_name [] header;3 parameters [4,5,6];4 identifier [] self;5 identifier [] name;6 default_parameter [7,8];7 identifier [] default;8 None [];9 block [10,23];10 expression_statement [11];11 assignment [12,13];12 identifier [] wsgi_header;13 call [14,17];14 attribute [15...
Returns the value of the HTTP header identified by `name`.
0 module [1];1 function_definition [2,3,18];2 function_name [] _notify_change;3 parameters [4,5,6,7,8,9,12,15];4 identifier [] self;5 identifier [] model;6 identifier [] attr;7 identifier [] old;8 identifier [] new;9 default_parameter [10,11];10 identifier [] hint;11 None [];12 default_parameter [13,14];13 identifier [...
Called by Model when it changes
0 module [1];1 function_definition [2,3,5];2 function_name [] cli;3 parameters [4];4 identifier [] obj;5 block [6,12,22,41];6 expression_statement [7];7 assignment [8,9];8 identifier [] client;9 subscript [10,11];10 identifier [] obj;11 string [] client;12 expression_statement [13];13 assignment [14,15];14 identifier [...
Display API server switch status and usage metrics.
0 module [1];1 function_definition [2,3,8];2 function_name [] show_rbac_policy;3 parameters [4,5,6];4 identifier [] self;5 identifier [] rbac_policy_id;6 dictionary_splat_pattern [7];7 identifier [] _params;8 block [9];9 return_statement [10];10 call [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] g...
Fetch information of a certain RBAC policy.
0 module [1];1 function_definition [2,3,5];2 function_name [] format_help;3 parameters [4];4 identifier [] self;5 block [6,46];6 if_statement [7,10];7 attribute [8,9];8 identifier [] self;9 identifier [] _subparsers;10 block [11];11 for_statement [12,13,18];12 identifier [] action;13 attribute [14,17];14 attribute [15,...
Sets up all sub-parsers when help is requested.
0 module [1];1 function_definition [2,3,5,7];2 function_name [] block;3 parameters [4];4 identifier [] self;5 type [6];6 None [];7 block [8];8 expression_statement [9];9 await [10];10 call [11,14];11 attribute [12,13];12 identifier [] asyncio;13 identifier [] gather;14 argument_list [15];15 list_splat [16];16 call [17,...
Block until all running and pending subprocesses have finished.
0 module [1];1 function_definition [2,3,5];2 function_name [] read_temperature;3 parameters [4];4 identifier [] self;5 block [6,14,30,46,52,64,74];6 expression_statement [7];7 assignment [8,9];8 identifier [] UT;9 call [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] read_raw_temp;13 argument_list []...
Gets the compensated temperature in degrees celsius.
0 module [1];1 function_definition [2,3,8];2 function_name [] exp10;3 parameters [4,5];4 identifier [] x;5 default_parameter [6,7];6 identifier [] context;7 None [];8 block [9];9 return_statement [10];10 call [11,12];11 identifier [] _apply_function_in_current_context;12 argument_list [13,14,17,24];13 identifier [] Big...
Return ten raised to the power x.
0 module [1];1 function_definition [2,3,10];2 function_name [] list_view_changed;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] widget;6 identifier [] event;7 default_parameter [8,9];8 identifier [] data;9 None [];10 block [11,21];11 expression_statement [12];12 assignment [13,14];13 identifier [] adj;14 c...
Function shows last rows.
0 module [1];1 function_definition [2,3,8];2 function_name [] export;3 parameters [4,5,6,7];4 identifier [] cls;5 identifier [] folder;6 identifier [] particles;7 identifier [] datetimes;8 block [9,22,26,69,76,94,106,114,129,135];9 expression_statement [10];10 assignment [11,12];11 identifier [] normalized_locations;12...
Export trackline data to GeoJSON file
0 module [1];1 function_definition [2,3,6];2 function_name [] message_handler;3 parameters [4,5];4 identifier [] self;5 identifier [] event;6 block [7,16];7 expression_statement [8];8 assignment [9,10];9 identifier [] chat;10 await [11];11 call [12,15];12 attribute [13,14];13 identifier [] event;14 identifier [] get_ch...
Callback method for received events.NewMessage
0 module [1];1 function_definition [2,3,6];2 function_name [] process_event;3 parameters [4,5];4 identifier [] self;5 identifier [] event;6 block [7];7 if_statement [8,14,16,38,73,94,115];8 not_operator [9];9 call [10,11];10 identifier [] isinstance;11 argument_list [12,13];12 identifier [] event;13 identifier [] Kindl...
Apply an event to the snapshot instance
0 module [1];1 function_definition [2,3,5];2 function_name [] current_item;3 parameters [4];4 identifier [] self;5 block [6];6 if_statement [7,16];7 boolean_operator [8,11] and;8 attribute [9,10];9 identifier [] self;10 identifier [] _history;11 comparison_operator [12,15] >=;12 attribute [13,14];13 identifier [] self;...
Return the current element.
0 module [1];1 function_definition [2,3,6];2 function_name [] c_array;3 parameters [4,5];4 identifier [] ctype;5 identifier [] values;6 block [7,42];7 if_statement [8,28];8 boolean_operator [9,16] and;9 call [10,11];10 identifier [] isinstance;11 argument_list [12,13];12 identifier [] values;13 attribute [14,15];14 ide...
Convert a python string to c array.
0 module [1];1 function_definition [2,3,7];2 function_name [] _collapse_device;3 parameters [4,5,6];4 identifier [] self;5 identifier [] node;6 identifier [] flat;7 block [8,29,40,63,86];8 expression_statement [9];9 assignment [10,11];10 identifier [] items;11 list_comprehension [12,13,18,27];12 identifier [] item;13 f...
Collapse device hierarchy into a flat folder.
0 module [1];1 function_definition [2,3,6];2 function_name [] query_random;3 parameters [4];4 dictionary_splat_pattern [5];5 identifier [] kwargs;6 block [7,35,45,124];7 if_statement [8,11,18,29];8 comparison_operator [9,10] in;9 string [] limit;10 identifier [] kwargs;11 block [12];12 expression_statement [13];13 assi...
Return the random records of centain kind.
0 module [1];1 function_definition [2,3,9];2 function_name [] gen500;3 parameters [4,5,6];4 identifier [] request;5 identifier [] baseURI;6 default_parameter [7,8];7 identifier [] project;8 None [];9 block [10];10 return_statement [11];11 call [12,13];12 identifier [] HttpResponseServerError;13 argument_list [14];14 ca...
Return a 500 error
0 module [1];1 function_definition [2,3,6];2 function_name [] status;3 parameters [4,5];4 identifier [] self;5 identifier [] job_id;6 block [7,12,20,27,48];7 expression_statement [8];8 call [9,10];9 identifier [] check_jobid;10 argument_list [11];11 identifier [] job_id;12 expression_statement [13];13 assignment [14,15...
Gets the status of a previously-submitted job.
0 module [1];1 function_definition [2,3,8];2 function_name [] GetKnowledgeBase;3 parameters [4,5];4 identifier [] rdf_client_obj;5 default_parameter [6,7];6 identifier [] allow_uninitialized;7 False [];8 block [9,68,85,96,102,138];9 if_statement [10,12];10 not_operator [11];11 identifier [] allow_uninitialized;12 block...
Returns a knowledgebase from an rdf client object.
0 module [1];1 function_definition [2,3,8];2 function_name [] hkm_fc;3 parameters [4,5,6,7];4 identifier [] fdata;5 identifier [] Nmax;6 identifier [] m;7 identifier [] s;8 block [9,17,23,32,38,52,70,88,99,110,129];9 expression_statement [10];10 assignment [11,12];11 identifier [] f;12 subscript [13,14,16];13 identifie...
Assume fdata has even rows
0 module [1];1 function_definition [2,3,5];2 function_name [] _looks_like_lru_cache;3 parameters [4];4 identifier [] node;5 block [6,14,42];6 if_statement [7,11];7 not_operator [8];8 attribute [9,10];9 identifier [] node;10 identifier [] decorators;11 block [12];12 return_statement [13];13 False [];14 for_statement [15...
Check if the given function node is decorated with lru_cache.
0 module [1];1 function_definition [2,3,5];2 function_name [] _score_for_model;3 parameters [4];4 identifier [] meta;5 block [6,12,18,24,38,59,84];6 expression_statement [7];7 assignment [8,9];8 identifier [] mean_acc;9 call [10,11];10 identifier [] list;11 argument_list [];12 expression_statement [13];13 assignment [1...
Returns mean score between tasks in pipeline that can be used for early stopping.