sequence
stringlengths
388
5.57k
docstring
stringlengths
11
171
0 module [1];1 function_definition [2,3,6];2 function_name [] _write_xml;3 parameters [4,5];4 identifier [] xmlfile;5 identifier [] srcs;6 block [7,16,24,35,43];7 expression_statement [8];8 assignment [9,10];9 identifier [] root;10 call [11,14];11 attribute [12,13];12 identifier [] ElementTree;13 identifier [] Element;...
Save the ROI model as an XML
0 module [1];1 function_definition [2,3,11];2 function_name [] viewlog;3 parameters [4,5,8];4 identifier [] calc_id;5 default_parameter [6,7];6 identifier [] host;7 string [] localhost;8 default_parameter [9,10];9 identifier [] port;10 integer [] 8000;11 block [12,20,24,28];12 expression_statement [13];13 assignment [1...
Extract the log of the given calculation ID from the WebUI
0 module [1];1 function_definition [2,3,9,19];2 function_name [] validate_url;3 parameters [4,5];4 identifier [] cls;5 typed_parameter [6,7];6 identifier [] url;7 type [8];8 identifier [] str;9 type [10];10 generic_type [11,12];11 identifier [] Optional;12 type_parameter [13];13 type [14];14 generic_type [15,16];15 ide...
Check if the Extractor can handle the given url.
0 module [1];1 function_definition [2,3,6];2 function_name [] filter_batch;3 parameters [4,5];4 identifier [] self;5 identifier [] batch;6 block [7];7 for_statement [8,9,10];8 identifier [] item;9 identifier [] batch;10 block [11,39,45];11 if_statement [12,18,22];12 call [13,16];13 attribute [14,15];14 identifier [] se...
Receives the batch, filters it, and returns it.
0 module [1];1 function_definition [2,3,7];2 function_name [] _first_expander;3 parameters [4,5,6];4 identifier [] fringe;5 identifier [] iteration;6 identifier [] viewer;7 block [8,14,25,39];8 expression_statement [9];9 assignment [10,11];10 identifier [] current;11 subscript [12,13];12 identifier [] fringe;13 integer...
Expander that expands only the first node on the fringe.
0 module [1];1 function_definition [2,3,7];2 function_name [] _handle_units_placement;3 parameters [4,5,6];4 identifier [] changeset;5 identifier [] units;6 identifier [] records;7 block [8];8 for_statement [9,12,24];9 pattern_list [10,11];10 identifier [] service_name;11 identifier [] service;12 call [13,14];13 identi...
Ensure that requires and placement directives are taken into account.
0 module [1];1 function_definition [2,3,9];2 function_name [] ms_cutall;3 parameters [4,5,6,7,8];4 identifier [] self;5 identifier [] viewer;6 identifier [] event;7 identifier [] data_x;8 identifier [] data_y;9 block [10,18,29,98];10 if_statement [11,15];11 not_operator [12];12 attribute [13,14];13 identifier [] self;1...
An interactive way to set the low AND high cut levels.
0 module [1];1 function_definition [2,3,25];2 function_name [] _new_cls_attr;3 parameters [4,5,6,7,10,13,16,19,22];4 identifier [] self;5 identifier [] clazz;6 identifier [] name;7 default_parameter [8,9];8 identifier [] cls;9 None [];10 default_parameter [11,12];11 identifier [] mult;12 identifier [] MULT_ONE;13 defau...
Creates new meta attribute of this class.
0 module [1];1 function_definition [2,3,12,18];2 function_name [] find_deprecated_usages;3 parameters [4,8];4 typed_parameter [5,6];5 identifier [] schema;6 type [7];7 identifier [] GraphQLSchema;8 typed_parameter [9,10];9 identifier [] ast;10 type [11];11 identifier [] DocumentNode;12 type [13];13 generic_type [14,15]...
Get a list of GraphQLError instances describing each deprecated use.
0 module [1];1 function_definition [2,3,5];2 function_name [] value;3 parameters [4];4 identifier [] self;5 block [6,15];6 import_from_statement [7,11];7 dotted_name [8,9,10];8 identifier [] abilian;9 identifier [] services;10 identifier [] repository;11 aliased_import [12,14];12 dotted_name [13];13 identifier [] sessi...
Remove value from repository.
0 module [1];1 function_definition [2,3,8];2 function_name [] deserialize;3 parameters [4,5,6];4 identifier [] self;5 identifier [] value;6 dictionary_splat_pattern [7];7 identifier [] kwargs;8 block [9,25,41,48,81,116];9 expression_statement [10];10 call [11,14];11 attribute [12,13];12 identifier [] kwargs;13 identifi...
Return a deserialized copy of the dict
0 module [1];1 function_definition [2,3,5];2 function_name [] _configure_logging;3 parameters [4];4 identifier [] self;5 block [6];6 if_statement [7,11,19];7 not_operator [8];8 attribute [9,10];9 identifier [] self;10 identifier [] LOGGING_CONFIG;11 block [12];12 expression_statement [13];13 call [14,15];14 identifier ...
Setting up logging from logging config in settings
0 module [1];1 function_definition [2,3,7];2 function_name [] visit_yield;3 parameters [4,5,6];4 identifier [] self;5 identifier [] node;6 identifier [] parent;7 block [8,23,45];8 expression_statement [9];9 assignment [10,11];10 identifier [] newnode;11 call [12,15];12 attribute [13,14];13 identifier [] nodes;14 identi...
visit a Yield node by returning a fresh instance of it
0 module [1];1 function_definition [2,3,6];2 function_name [] parents;3 parameters [4,5];4 identifier [] self;5 identifier [] vertex;6 block [7];7 return_statement [8];8 list_comprehension [9,15];9 call [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] tail;13 argument_list [14];14 identifier [] edge;...
Return the list of immediate parents of this vertex.
0 module [1];1 function_definition [2,3,6];2 function_name [] channel;3 parameters [4,5];4 identifier [] self;5 identifier [] match;6 block [7,33];7 if_statement [8,23];8 boolean_operator [9,15] and;9 comparison_operator [10,14] ==;10 call [11,12];11 identifier [] len;12 argument_list [13];13 identifier [] match;14 int...
Return Channel object for a given Slack ID or name
0 module [1];1 function_definition [2,3,5];2 function_name [] _initSwapInfo;3 parameters [4];4 identifier [] self;5 block [6,12,18];6 expression_statement [7];7 assignment [8,11];8 attribute [9,10];9 identifier [] self;10 identifier [] _swapList;11 list [] [];12 expression_statement [13];13 assignment [14,15];14 identi...
Initialize swap partition to device mappings.
0 module [1];1 function_definition [2,3,6];2 function_name [] extract_status;3 parameters [4,5];4 identifier [] self;5 identifier [] status_headers;6 block [7,17];7 expression_statement [8];8 assignment [9,12];9 subscript [10,11];10 identifier [] self;11 string [] status;12 call [13,16];13 attribute [14,15];14 identifi...
Extract status code only from status line
0 module [1];1 function_definition [2,3,7];2 function_name [] pub;3 parameters [4,5,6];4 identifier [] self;5 identifier [] topic;6 identifier [] message;7 block [8];8 return_statement [9];9 call [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] send;13 argument_list [14,24];14 call [15,18];15 attribu...
Publish to a topic
0 module [1];1 function_definition [2,3,9];2 function_name [] error;3 parameters [4,5,6];4 identifier [] self;5 identifier [] message;6 default_parameter [7,8];7 identifier [] code;8 integer [] 1;9 block [10,19];10 expression_statement [11];11 call [12,17];12 attribute [13,16];13 attribute [14,15];14 identifier [] sys;...
Prints the error, and exits with the given code.
0 module [1];1 function_definition [2,3,11];2 function_name [] send_sms_message;3 parameters [4,5,8];4 identifier [] sms_message;5 default_parameter [6,7];6 identifier [] backend;7 None [];8 default_parameter [9,10];9 identifier [] fail_silently;10 False [];11 block [12,38];12 with_statement [13,27];13 with_clause [14]...
Send an SMSMessage instance using a connection given by the specified `backend`.
0 module [1];1 function_definition [2,3,7];2 function_name [] related_obj_to_dict;3 parameters [4,5];4 identifier [] obj;5 dictionary_splat_pattern [6];6 identifier [] kwargs;7 block [8,16,26,36,45,57,142];8 expression_statement [9];9 call [10,13];10 attribute [11,12];11 identifier [] kwargs;12 identifier [] pop;13 arg...
Covert a known related object to a dictionary.
0 module [1];1 function_definition [2,3,4];2 function_name [] _netstat_route_netbsd;3 parameters [];4 block [5,9,13,25,74,78,90,139];5 expression_statement [6];6 assignment [7,8];7 identifier [] ret;8 list [] [];9 expression_statement [10];10 assignment [11,12];11 identifier [] cmd;12 string [] netstat -f inet -rn | ta...
Return netstat routing information for NetBSD
0 module [1];1 function_definition [2,3,10];2 function_name [] evaluate;3 parameters [4,5,6,7,8,9];4 identifier [] self;5 identifier [] x;6 identifier [] y;7 identifier [] flux;8 identifier [] x_0;9 identifier [] y_0;10 block [11,41,71];11 if_statement [12,17,24];12 comparison_operator [13,16] is;13 attribute [14,15];1...
The evaluation function for PRFAdapter.
0 module [1];1 function_definition [2,3,11];2 function_name [] merge_versioned;3 parameters [4,5,8];4 identifier [] releases;5 default_parameter [6,7];6 identifier [] schema;7 None [];8 default_parameter [9,10];9 identifier [] merge_rules;10 None [];11 block [12,23,29,167];12 if_statement [13,15];13 not_operator [14];1...
Merges a list of releases into a versionedRelease.
0 module [1];1 function_definition [2,3,5];2 function_name [] duration;3 parameters [4];4 identifier [] self;5 block [6,14,28,56];6 if_statement [7,11];7 not_operator [8];8 attribute [9,10];9 identifier [] self;10 identifier [] _loaded;11 block [12];12 return_statement [13];13 integer [] 0;14 expression_statement [15];...
Returns task's current duration in minutes.
0 module [1];1 function_definition [2,3,5];2 function_name [] only_self;3 parameters [4];4 identifier [] self;5 block [6,18];6 expression_statement [7];7 assignment [8,13];8 pattern_list [9,10];9 identifier [] others;10 attribute [11,12];11 identifier [] self;12 identifier [] others;13 expression_list [14,17];14 attrib...
Only match in self not others.
0 module [1];1 function_definition [2,3,5];2 function_name [] shutdown;3 parameters [4];4 identifier [] self;5 block [6,14,70,91];6 expression_statement [7];7 call [8,13];8 attribute [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] __should_stop;12 identifier [] set;13 argument_list [];14 if_statement ...
Shutdown the server and stop responding to requests.
0 module [1];1 function_definition [2,3,6];2 function_name [] predict;3 parameters [4,5];4 identifier [] self;5 identifier [] testing_features;6 block [7,21];7 if_statement [8,11];8 attribute [9,10];9 identifier [] self;10 identifier [] clean;11 block [12];12 expression_statement [13];13 assignment [14,15];14 identifie...
predict on a holdout data set.
0 module [1];1 function_definition [2,3,7];2 function_name [] start;3 parameters [4,5,6];4 identifier [] port;5 identifier [] root_directory;6 identifier [] bucket_depth;7 block [8,16,25,32];8 expression_statement [9];9 assignment [10,11];10 identifier [] application;11 call [12,13];12 identifier [] S3Application;13 ar...
Starts the mock S3 server on the given port at the given path.
0 module [1];1 function_definition [2,3,6];2 function_name [] AsyncResponseMiddleware;3 parameters [4,5];4 identifier [] environ;5 identifier [] resp;6 block [7,13,25];7 expression_statement [8];8 assignment [9,10];9 identifier [] future;10 call [11,12];11 identifier [] create_future;12 argument_list [];13 expression_s...
This is just for testing the asynchronous response middleware
0 module [1];1 function_definition [2,3,8];2 function_name [] inspect;3 parameters [4,5];4 identifier [] item;5 default_parameter [6,7];6 identifier [] maxchar;7 integer [] 80;8 block [9];9 for_statement [10,11,15];10 identifier [] i;11 call [12,13];12 identifier [] dir;13 argument_list [14];14 identifier [] item;15 bl...
Inspect the attributes of an item.
0 module [1];1 function_definition [2,3,9];2 function_name [] write_ha_config;3 parameters [4,5,6,7,8];4 identifier [] ip;5 identifier [] mac;6 identifier [] hass;7 identifier [] port;8 identifier [] id;9 block [10,19,23,71,93];10 expression_statement [11];11 call [12,15];12 attribute [13,14];13 identifier [] click;14 ...
Write the configuration for Home Assistant to a myStrom button.
0 module [1];1 function_definition [2,3,9];2 function_name [] spit_config;3 parameters [4,5,6];4 identifier [] self;5 identifier [] conf_file;6 default_parameter [7,8];7 identifier [] firstwordonly;8 False [];9 block [10,18,29,33,66,70,91];10 expression_statement [11];11 assignment [12,13];12 identifier [] cfg;13 call ...
conf_file a file opened for writing.
0 module [1];1 function_definition [2,3,5];2 function_name [] dump;3 parameters [4];4 identifier [] self;5 block [6,43,63];6 expression_statement [7];7 assignment [8,9];8 identifier [] data;9 call [10,11];10 identifier [] dict;11 argument_list [12,17,22,29,36];12 keyword_argument [13,14];13 identifier [] sessions_activ...
Return dictionary with current statistical information
0 module [1];1 function_definition [2,3,5];2 function_name [] configure_swagger;3 parameters [4];4 identifier [] graph;5 block [6,30,37,49];6 expression_statement [7];7 assignment [8,9];8 identifier [] ns;9 call [10,11];10 identifier [] Namespace;11 argument_list [12,21];12 keyword_argument [13,14];13 identifier [] sub...
Build a singleton endpoint that provides swagger definitions for all operations.
0 module [1];1 function_definition [2,3,7];2 function_name [] register_combo;3 parameters [4,5,6];4 identifier [] self;5 identifier [] parent;6 identifier [] legs;7 block [8,19,23,49];8 expression_statement [9];9 assignment [10,11];10 identifier [] parent;11 call [12,17];12 attribute [13,16];13 attribute [14,15];14 ide...
add contracts to groups
0 module [1];1 function_definition [2,3,5];2 function_name [] _is_good_file_for_multiqc;3 parameters [4];4 identifier [] fpath;5 block [6,17,24,38];6 expression_statement [7];7 assignment [8,11];8 tuple_pattern [9,10];9 identifier [] ftype;10 identifier [] encoding;11 call [12,15];12 attribute [13,14];13 identifier [] ...
Returns False if the file is binary or image.
0 module [1];1 function_definition [2,3,10];2 function_name [] disallow_positional_args;3 parameters [4,7];4 default_parameter [5,6];5 identifier [] wrapped;6 None [];7 default_parameter [8,9];8 identifier [] allowed;9 None [];10 block [11,26,69];11 if_statement [12,15];12 comparison_operator [13,14] is;13 identifier [...
Requires function to be called using keyword arguments.
0 module [1];1 function_definition [2,3,6];2 function_name [] wp_draw_callback;3 parameters [4,5];4 identifier [] self;5 identifier [] points;6 block [7,16,23,34,42,52,62,71,94,120];7 if_statement [8,14];8 comparison_operator [9,13] <;9 call [10,11];10 identifier [] len;11 argument_list [12];12 identifier [] points;13 ...
callback from drawing waypoints
0 module [1];1 function_definition [2,3,5];2 function_name [] connection;3 parameters [4];4 identifier [] self;5 block [6,106];6 if_statement [7,12];7 comparison_operator [8,11] is;8 attribute [9,10];9 identifier [] self;10 identifier [] _connection;11 None [];12 block [13,25,78,93];13 expression_statement [14];14 assi...
Connect to and return mongodb database object.
0 module [1];1 function_definition [2,3,5];2 function_name [] CreateHunt;3 parameters [4];4 identifier [] hunt_obj;5 block [6,15];6 expression_statement [7];7 call [8,13];8 attribute [9,12];9 attribute [10,11];10 identifier [] data_store;11 identifier [] REL_DB;12 identifier [] WriteHuntObject;13 argument_list [14];14 ...
Creates a hunt using a given hunt object.
0 module [1];1 function_definition [2,3,6];2 function_name [] user_exists;3 parameters [4,5];4 identifier [] self;5 identifier [] name;6 block [7,15,28];7 expression_statement [8];8 assignment [9,10];9 identifier [] users;10 subscript [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] data;14 string []...
Check if a given user exists.
0 module [1];1 function_definition [2,3,9];2 function_name [] register;3 parameters [4,5,7];4 identifier [] cls;5 list_splat_pattern [6];6 identifier [] args;7 dictionary_splat_pattern [8];8 identifier [] kwargs;9 block [10,28];10 if_statement [11,16];11 comparison_operator [12,15] is;12 attribute [13,14];13 identifier...
Register view to handler.
0 module [1];1 function_definition [2,3,5];2 function_name [] _merge_default_values;3 parameters [4];4 identifier [] self;5 block [6,14];6 expression_statement [7];7 assignment [8,9];8 identifier [] values;9 call [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] _get_default_values;13 argument_list []...
Merge default values with resource data.
0 module [1];1 function_definition [2,3,5];2 function_name [] _mainthread_accept_clients;3 parameters [4];4 identifier [] self;5 block [6];6 try_statement [7,63];7 block [8];8 if_statement [9,21];9 call [10,15];10 attribute [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] _accept_selector;14 identifi...
Accepts new clients and sends them to the to _handle_accepted within a subthread
0 module [1];1 function_definition [2,3,8];2 function_name [] init_exporter;3 parameters [4,5,6];4 identifier [] extract_images;5 identifier [] execute;6 dictionary_splat_pattern [7];7 identifier [] exporter_config;8 block [9,18,22,32,42,50,59];9 expression_statement [10];10 assignment [11,12];11 identifier [] config;1...
Returns an initialized exporter.
0 module [1];1 function_definition [2,3,7];2 function_name [] update_security_of_project;3 parameters [4,5,6];4 identifier [] self;5 identifier [] ID;6 identifier [] data;7 block [8,19];8 expression_statement [9];9 call [10,13];10 attribute [11,12];11 identifier [] log;12 identifier [] info;13 argument_list [14];14 bin...
Update security of project.
0 module [1];1 function_definition [2,3,5];2 function_name [] key_add;3 parameters [4];4 identifier [] self;5 block [6,13,31,40];6 import_from_statement [7,11];7 relative_import [8,9];8 import_prefix [];9 dotted_name [10];10 identifier [] main;11 dotted_name [12];12 identifier [] add_api_key;13 expression_statement [14...
Adds the current API key to the bot's data
0 module [1];1 function_definition [2,3,10];2 function_name [] draw_rect;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] color;6 identifier [] world_rect;7 default_parameter [8,9];8 identifier [] thickness;9 integer [] 0;10 block [11,28,45,57];11 expression_statement [12];12 assignment [13,14];13 identifier...
Draw a rectangle using world coordinates.
0 module [1];1 function_definition [2,3,7];2 function_name [] update;3 parameters [4,5];4 identifier [] self;5 dictionary_splat_pattern [6];6 identifier [] kwargs;7 block [8,10,30,38];8 expression_statement [9];9 string [] Update document not update index.;10 expression_statement [11];11 assignment [12,13];12 identifie...
Update document not update index.
0 module [1];1 function_definition [2,3,5];2 function_name [] color_parts;3 parameters [4];4 identifier [] parts;5 block [6];6 return_statement [7];7 call [8,11];8 attribute [9,10];9 identifier [] parts;10 identifier [] _replace;11 argument_list [12,25];12 keyword_argument [13,14];13 identifier [] title;14 binary_opera...
Adds colors to each part of the citation
0 module [1];1 function_definition [2,3,7];2 function_name [] lowpass;3 parameters [4,5,6];4 identifier [] var;5 identifier [] key;6 identifier [] factor;7 block [8,10,41];8 global_statement [9];9 identifier [] lowpass_data;10 if_statement [11,15,22];11 not_operator [12];12 comparison_operator [13,14] in;13 identifier ...
a simple lowpass filter
0 module [1];1 function_definition [2,3,7];2 function_name [] _hash;3 parameters [4,5,6];4 identifier [] self;5 identifier [] string;6 identifier [] hash_type;7 block [8,24,28,32,99];8 expression_statement [9];9 assignment [10,11];10 identifier [] hash_types;11 dictionary [12,15,18,21];12 pair [13,14];13 string [] TABL...
Hash a string using MPQ's hash function.
0 module [1];1 function_definition [2,3,7];2 function_name [] http;3 parameters [4];4 default_parameter [5,6];5 identifier [] container;6 None [];7 block [8,10,50];8 expression_statement [9];9 string [] wrap a WSGI-style class method to a HTTPRequest event handler;10 function_definition [11,12,14];11 function_name [] d...
wrap a WSGI-style class method to a HTTPRequest event handler
0 module [1];1 function_definition [2,3,5];2 function_name [] setup;3 parameters [4];4 identifier [] app;5 block [6,12,21,39,58,69,86,94,102,110,118,131];6 expression_statement [7];7 assignment [8,11];8 attribute [9,10];9 identifier [] sphinx_compatibility;10 identifier [] _app;11 identifier [] app;12 expression_statem...
Setup sphinx-gallery sphinx extension
0 module [1];1 function_definition [2,3,9];2 function_name [] save_model;3 parameters [4,5,6,7,8];4 identifier [] self;5 identifier [] request;6 identifier [] obj;7 identifier [] form;8 identifier [] change;9 block [10,24,35];10 expression_statement [11];11 call [12,19];12 attribute [13,18];13 call [14,15];14 identifie...
Add an ObjectPosition to the object.
0 module [1];1 function_definition [2,3,5];2 function_name [] allow_role;3 parameters [4];4 identifier [] role;5 block [6,34];6 function_definition [7,8,11];7 function_name [] processor;8 parameters [9,10];9 identifier [] action;10 identifier [] argument;11 block [12];12 expression_statement [13];13 call [14,19];14 att...
Allow a role identified by an email address.
0 module [1];1 function_definition [2,3,5];2 function_name [] _logger_fh;3 parameters [4];4 identifier [] self;5 block [6,26,35,42,51,60];6 expression_statement [7];7 assignment [8,9];8 identifier [] logfile;9 call [10,15];10 attribute [11,14];11 attribute [12,13];12 identifier [] os;13 identifier [] path;14 identifier...
Add File logging handler.
0 module [1];1 function_definition [2,3,5];2 function_name [] unscale_dict_wet;3 parameters [4];4 identifier [] C;5 block [6];6 return_statement [7];7 dictionary_comprehension [8,15];8 pair [9,10];9 identifier [] k;10 binary_operator [11,14] *;11 subscript [12,13];12 identifier [] _scale_dict;13 identifier [] k;14 iden...
Undo the scaling applied in `scale_dict_wet`.
0 module [1];1 function_definition [2,3,8];2 function_name [] from_iterable;3 parameters [4,5,6,7];4 identifier [] cls;5 identifier [] target_types;6 identifier [] address_mapper;7 identifier [] adaptor_iter;8 block [9,17,23,43,50];9 expression_statement [10];10 assignment [11,12];11 identifier [] inst;12 call [13,14];...
Create a new DependentGraph from an iterable of TargetAdaptor subclasses.
0 module [1];1 function_definition [2,3,7];2 function_name [] _finish;3 parameters [4,5,6];4 identifier [] self;5 identifier [] update_ops;6 identifier [] name_scope;7 block [8,16,26,148];8 expression_statement [9];9 assignment [10,11];10 identifier [] iter_;11 call [12,15];12 attribute [13,14];13 identifier [] self;14...
Updates beta_power variables every n batches and incrs counter.
0 module [1];1 function_definition [2,3,6];2 function_name [] make_quantile_df;3 parameters [4,5];4 identifier [] data;5 identifier [] draw_quantiles;6 block [7,25,38,45,60,75,120];7 expression_statement [8];8 assignment [9,10];9 identifier [] dens;10 binary_operator [11,18] /;11 call [12,17];12 attribute [13,16];13 su...
Return a dataframe with info needed to draw quantile segments
0 module [1];1 function_definition [2,3,5];2 function_name [] _generator_file;3 parameters [4];4 identifier [] self;5 block [6];6 for_statement [7,8,11];7 identifier [] path;8 attribute [9,10];9 identifier [] self;10 identifier [] paths;11 block [12];12 if_statement [13,21,49];13 call [14,19];14 attribute [15,18];15 at...
Generator for `self.filetype` of 'file
0 module [1];1 function_definition [2,3,6];2 function_name [] instruction;3 parameters [4,5];4 identifier [] self;5 identifier [] val;6 block [7,13];7 expression_statement [8];8 assignment [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] _instruction;12 identifier [] val;13 if_statement [14,19,53];14 c...
Set the action and command from an instruction
0 module [1];1 function_definition [2,3,6];2 function_name [] pathExists;3 parameters [4,5];4 identifier [] self;5 identifier [] path;6 block [7,19];7 function_definition [8,9,11];8 function_name [] commandComplete;9 parameters [10];10 identifier [] cmd;11 block [12];12 return_statement [13];13 not_operator [14];14 cal...
test whether path exists
0 module [1];1 function_definition [2,3,5];2 function_name [] values;3 parameters [4];4 identifier [] self;5 block [6,10,27];6 expression_statement [7];7 assignment [8,9];8 identifier [] values;9 list [] [];10 for_statement [11,14,19];11 pattern_list [12,13];12 identifier [] __;13 identifier [] data;14 call [15,18];15 ...
return a list of all state values
0 module [1];1 function_definition [2,3,8];2 function_name [] coth;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 [] BigF...
Return the hyperbolic cotangent of x.
0 module [1];1 function_definition [2,3,7];2 function_name [] cli;3 parameters [4,5,6];4 identifier [] yamlfile;5 identifier [] format;6 identifier [] context;7 block [8];8 expression_statement [9];9 call [10,11];10 identifier [] print;11 argument_list [12];12 call [13,20];13 attribute [14,19];14 call [15,16];15 identi...
Generate JSONLD file from biolink schema
0 module [1];1 function_definition [2,3,10];2 function_name [] printData;3 parameters [4,5];4 identifier [] self;5 default_parameter [6,7];6 identifier [] output;7 attribute [8,9];8 identifier [] sys;9 identifier [] stdout;10 block [11,22,33,44,55,66,77,88,99,110,121];11 expression_statement [12];12 call [13,16];13 att...
Output all the file data to be written to any writable output
0 module [1];1 function_definition [2,3,10];2 function_name [] register;3 parameters [4,5,6,8];4 identifier [] self;5 identifier [] f;6 list_splat_pattern [7];7 identifier [] args;8 dictionary_splat_pattern [9];9 identifier [] kwargs;10 block [11];11 expression_statement [12];12 call [13,18];13 attribute [14,17];14 att...
Register a function and arguments to be called later.
0 module [1];1 function_definition [2,3,7];2 function_name [] usernameAvailable;3 parameters [4,5,6];4 identifier [] self;5 identifier [] username;6 identifier [] domain;7 block [8,20,35,52,65,95];8 if_statement [9,15];9 comparison_operator [10,14] <;10 call [11,12];11 identifier [] len;12 argument_list [13];13 identif...
Check to see if a username is available for the user to select.
0 module [1];1 function_definition [2,3,8];2 function_name [] extern_create_exception;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] context_handle;6 identifier [] msg_ptr;7 identifier [] msg_len;8 block [9,20,30];9 expression_statement [10];10 assignment [11,12];11 identifier [] c;12 call [13,18];13 attri...
Given a utf8 message string, create an Exception object.
0 module [1];1 function_definition [2,3,5];2 function_name [] detect_metadata_url_scheme;3 parameters [4];4 identifier [] url;5 block [6,10,18,35,86];6 expression_statement [7];7 assignment [8,9];8 identifier [] scheme;9 None [];10 expression_statement [11];11 assignment [12,13];12 identifier [] url_lower;13 call [14,1...
detect whether a url is a Service type that HHypermap supports
0 module [1];1 function_definition [2,3,5];2 function_name [] init_fundamental_types;3 parameters [4];4 identifier [] self;5 block [6];6 for_statement [7,8,13];7 identifier [] _id;8 call [9,10];9 identifier [] range;10 argument_list [11,12];11 integer [] 2;12 integer [] 25;13 block [14];14 expression_statement [15];15 ...
Registers all fundamental typekind handlers
0 module [1];1 function_definition [2,3,10];2 function_name [] fail;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] reason;6 identifier [] obj;7 default_parameter [8,9];8 identifier [] pointer;9 None [];10 block [11,18,27,45];11 expression_statement [12];12 assignment [13,14];13 identifier [] pointer;14 cal...
Called when validation fails.
0 module [1];1 function_definition [2,3,5];2 function_name [] map_wrap;3 parameters [4];4 identifier [] f;5 block [6,30];6 decorated_definition [7,14];7 decorator [8];8 call [9,12];9 attribute [10,11];10 identifier [] functools;11 identifier [] wraps;12 argument_list [13];13 identifier [] f;14 function_definition [15,1...
Wrap standard function to easily pass into 'map' processing.
0 module [1];1 function_definition [2,3,7];2 function_name [] replace_cells;3 parameters [4,5,6];4 identifier [] self;5 identifier [] key;6 identifier [] sorted_row_idxs;7 block [8,15,19,23,35,106,121];8 expression_statement [9];9 assignment [10,14];10 pattern_list [11,12,13];11 identifier [] row;12 identifier [] col;1...
Replaces cells in current selection so that they are sorted
0 module [1];1 function_definition [2,3,5];2 function_name [] fwd_chunk;3 parameters [4];4 identifier [] self;5 block [6];6 raise_statement [7];7 call [8,9];8 identifier [] NotImplementedError;9 argument_list [10];10 binary_operator [11,12] %;11 string [] %s not implemented for %s;12 tuple [13,20];13 attribute [14,19];...
Returns the chunk following this chunk in the list of free chunks.
0 module [1];1 function_definition [2,3,9];2 function_name [] on_step_end;3 parameters [4,5,6];4 identifier [] self;5 identifier [] step;6 default_parameter [7,8];7 identifier [] logs;8 dictionary [];9 block [10];10 for_statement [11,12,15];11 identifier [] callback;12 attribute [13,14];13 identifier [] self;14 identif...
Called at end of each step for each callback in callbackList
0 module [1];1 function_definition [2,3,8];2 function_name [] show_image;3 parameters [4,5];4 identifier [] kwargs;5 default_parameter [6,7];6 identifier [] call;7 None [];8 block [9,21,33,39,50,65,69,78,95,106,143];9 if_statement [10,13];10 comparison_operator [11,12] !=;11 identifier [] call;12 string [] function;13 ...
Show the details from aliyun image
0 module [1];1 function_definition [2,3,6];2 function_name [] known;3 parameters [4,5];4 identifier [] self;5 identifier [] object;6 block [7];7 try_statement [8,23];8 block [9,15,21];9 expression_statement [10];10 assignment [11,12];11 identifier [] md;12 attribute [13,14];13 identifier [] object;14 identifier [] __me...
get the type specified in the object's metadata
0 module [1];1 function_definition [2,3,6];2 function_name [] link_markdown_cells;3 parameters [4,5];4 identifier [] cells;5 identifier [] modules;6 block [7,9];7 expression_statement [8];8 string [] Create documentation links for all cells in markdown with backticks.;9 for_statement [10,13,17];10 pattern_list [11,12];...
Create documentation links for all cells in markdown with backticks.
0 module [1];1 function_definition [2,3,5];2 function_name [] character_span;3 parameters [4];4 identifier [] self;5 block [6,14];6 expression_statement [7];7 assignment [8,11];8 pattern_list [9,10];9 identifier [] begin;10 identifier [] end;11 attribute [12,13];12 identifier [] self;13 identifier [] token_span;14 retu...
Returns the character span of the token
0 module [1];1 function_definition [2,3,9];2 function_name [] timeline;3 parameters [4,5,6,7,8];4 identifier [] self;5 identifier [] request;6 identifier [] drip_id;7 identifier [] into_past;8 identifier [] into_future;9 block [10,18,28,32,38,111];10 import_from_statement [11,14,16];11 dotted_name [12,13];12 identifier...
Return a list of people who should get emails.
0 module [1];1 function_definition [2,3,6];2 function_name [] __default;3 parameters [4,5];4 identifier [] self;5 identifier [] ast_token;6 block [7];7 if_statement [8,13,49];8 comparison_operator [9,12] ==;9 attribute [10,11];10 identifier [] self;11 identifier [] list_level;12 integer [] 1;13 block [14];14 if_stateme...
Handle tokens inside the list or outside the list.
0 module [1];1 function_definition [2,3,6];2 function_name [] remove;3 parameters [4,5];4 identifier [] self;5 identifier [] key;6 block [7,13,29,39];7 expression_statement [8];8 assignment [9,10];9 identifier [] copydict;10 call [11,12];11 identifier [] ImmutableDict;12 argument_list [];13 expression_statement [14];14...
Returns a new ImmutableDict with the given key removed.
0 module [1];1 function_definition [2,3,16];2 function_name [] jsk_debug;3 parameters [4,5,11,12];4 identifier [] self;5 typed_parameter [6,7];6 identifier [] ctx;7 type [8];8 attribute [9,10];9 identifier [] commands;10 identifier [] Context;11 keyword_separator [];12 typed_parameter [13,14];13 identifier [] command_s...
Run a command timing execution and catching exceptions.
0 module [1];1 function_definition [2,3,6];2 function_name [] checkoutbranch;3 parameters [4,5];4 identifier [] accountable;5 identifier [] options;6 block [7,16,26,42];7 expression_statement [8];8 assignment [9,10];9 identifier [] issue;10 call [11,14];11 attribute [12,13];12 identifier [] accountable;13 identifier []...
Create a new issue and checkout a branch named after it.
0 module [1];1 function_definition [2,3,8];2 function_name [] delete_intf_router;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] tenant_id;6 identifier [] tenant_name;7 identifier [] router_id;8 block [9,18,27,33,40,47,57,96];9 expression_statement [10];10 assignment [11,12];11 identifier [] in_sub;12 call ...
Routine to delete the router.
0 module [1];1 function_definition [2,3,5];2 function_name [] add_cancel_button;3 parameters [4];4 identifier [] self;5 block [6,16,27];6 expression_statement [7];7 assignment [8,9];8 identifier [] button_box;9 call [10,11];10 identifier [] QDialogButtonBox;11 argument_list [12,15];12 attribute [13,14];13 identifier []...
Add a cancel button at the bottom of the dialog window.
0 module [1];1 function_definition [2,3,5];2 function_name [] reset;3 parameters [4];4 identifier [] self;5 block [6,10,95,105];6 expression_statement [7];7 assignment [8,9];8 identifier [] paths;9 list [] [];10 for_statement [11,12,20];11 identifier [] filename;12 call [13,16];13 attribute [14,15];14 identifier [] os;...
Initialize the remote Git repository.
0 module [1];1 function_definition [2,3,7];2 function_name [] load_config;3 parameters [4];4 default_parameter [5,6];5 identifier [] config_file;6 string [] ~/.stancache.ini;7 block [8,32,40,47,66,87];8 if_statement [9,18];9 not_operator [10];10 call [11,16];11 attribute [12,15];12 attribute [13,14];13 identifier [] os...
Load config file into default settings
0 module [1];1 function_definition [2,3,4];2 function_name [] syntax_check;3 parameters [];4 block [5];5 with_statement [6,14];6 with_clause [7];7 with_item [8];8 call [9,10];9 identifier [] fab_settings;10 argument_list [11];11 keyword_argument [12,13];12 identifier [] warn_only;13 True [];14 block [15];15 for_stateme...
Runs flake8 against the codebase.
0 module [1];1 function_definition [2,3,5];2 function_name [] server;3 parameters [4];4 identifier [] self;5 block [6];6 try_statement [7,39];7 block [8,19,27];8 expression_statement [9];9 assignment [10,11];10 identifier [] tar;11 call [12,15];12 attribute [13,14];13 identifier [] urllib2;14 identifier [] urlopen;15 a...
Returns the size of remote files
0 module [1];1 function_definition [2,3,8];2 function_name [] view;3 parameters [4,5];4 identifier [] self;5 default_parameter [6,7];6 identifier [] cls;7 None [];8 block [9,17,25];9 expression_statement [10];10 assignment [11,12];11 identifier [] result;12 call [13,16];13 attribute [14,15];14 identifier [] self;15 ide...
this is defined as a copy with the same identity
0 module [1];1 function_definition [2,3,5];2 function_name [] timed;3 parameters [4];4 identifier [] function;5 block [6,73];6 decorated_definition [7,12];7 decorator [8];8 call [9,10];9 identifier [] wraps;10 argument_list [11];11 identifier [] function;12 function_definition [13,14,20];13 function_name [] function_wr...
Decorator timing the method call and printing the result to `stdout`
0 module [1];1 function_definition [2,3,9];2 function_name [] load_config_file;3 parameters [4,5,6];4 identifier [] self;5 identifier [] path;6 default_parameter [7,8];7 identifier [] profile;8 None [];9 block [10,18];10 expression_statement [11];11 assignment [12,13];12 identifier [] config_cls;13 call [14,17];14 attr...
Load the standard config file.
0 module [1];1 function_definition [2,3,5];2 function_name [] use_any_status_sequence_rule_enabler_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 [] sequence_...
Pass through to provider SequenceRuleEnablerLookupSession.use_any_status_sequence_rule_enabler_view
0 module [1];1 function_definition [2,3,5];2 function_name [] _start_console;3 parameters [4];4 identifier [] self;5 block [6,67,75,81,96,124,145,153,168];6 class_definition [7,8];7 identifier [] InputStream;8 block [9,20,32];9 function_definition [10,11,13];10 function_name [] __init__;11 parameters [12];12 identifier...
Start streaming the console via telnet
0 module [1];1 function_definition [2,3,5];2 function_name [] _sincedb_init;3 parameters [4];4 identifier [] self;5 block [6,13];6 if_statement [7,11];7 not_operator [8];8 attribute [9,10];9 identifier [] self;10 identifier [] _sincedb_path;11 block [12];12 return_statement [];13 if_statement [14,25];14 not_operator [1...
Initializes the sincedb schema in an sqlite db