sequence
stringlengths
388
5.57k
docstring
stringlengths
11
171
0 module [1];1 function_definition [2,3,10];2 function_name [] list_pools;3 parameters [4,5,8];4 identifier [] self;5 default_parameter [6,7];6 identifier [] retrieve_all;7 True [];8 dictionary_splat_pattern [9];9 identifier [] _params;10 block [11];11 return_statement [12];12 call [13,16];13 attribute [14,15];14 ident...
Fetches a list of all load balancer pools for a project.
0 module [1];1 function_definition [2,3,5];2 function_name [] cli;3 parameters [4];4 identifier [] obj;5 block [6,12,20,36,59];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 identifie...
Display API server uptime in days, hours.
0 module [1];1 function_definition [2,3,5];2 function_name [] resources;3 parameters [4];4 identifier [] self;5 block [6,10,53];6 expression_statement [7];7 assignment [8,9];8 identifier [] resources;9 list [] [];10 for_statement [11,12,15];11 identifier [] endpoint;12 attribute [13,14];13 identifier [] self;14 identif...
Return list of all registered resources.
0 module [1];1 function_definition [2,3,6];2 function_name [] filter;3 parameters [4,5];4 identifier [] self;5 identifier [] names;6 block [7,14,18,44];7 expression_statement [8];8 assignment [9,10];9 identifier [] names;10 call [11,12];11 identifier [] list_strings;12 argument_list [13];13 identifier [] names;14 expre...
Returns a list with the names matching the pattern.
0 module [1];1 function_definition [2,3,5];2 function_name [] nt;3 parameters [4];4 identifier [] graph;5 block [6,11,19,27];6 import_from_statement [7,9];7 dotted_name [8];8 identifier [] rdflib;9 dotted_name [10];10 identifier [] ConjunctiveGraph;11 import_from_statement [12,15,17];12 dotted_name [13,14];13 identifie...
Format graph as n-tuples.
0 module [1];1 function_definition [2,3,7];2 function_name [] dms2dd;3 parameters [4,5,6];4 identifier [] d;5 identifier [] m;6 identifier [] s;7 block [8,24,51];8 if_statement [9,12,18];9 comparison_operator [10,11] <;10 identifier [] d;11 integer [] 0;12 block [13];13 expression_statement [14];14 assignment [15,16];1...
Convert degrees, minutes, seconds to decimal degrees
0 module [1];1 function_definition [2,3,5];2 function_name [] dump_database;3 parameters [4];4 identifier [] id;5 block [6,11,15,19,31,49,61,75,89,104,109,114,126,152];6 expression_statement [7];7 call [8,9];8 identifier [] log;9 argument_list [10];10 string [] Generating a backup of the database on Heroku...;11 expres...
Backup the Postgres database locally.
0 module [1];1 function_definition [2,3,5];2 function_name [] read_local_manifest;3 parameters [4];4 identifier [] self;5 block [6,36,52];6 expression_statement [7];7 assignment [8,9];8 identifier [] manifest;9 call [10,11];10 identifier [] file_or_default;11 argument_list [12,20,33];12 call [13,16];13 attribute [14,15...
Read the file manifest, or create a new one if there isn't one already
0 module [1];1 function_definition [2,3,5];2 function_name [] badge;3 parameters [4];4 identifier [] pipeline_id;5 block [6,21,30,34,121];6 if_statement [7,14];7 not_operator [8];8 call [9,12];9 attribute [10,11];10 identifier [] pipeline_id;11 identifier [] startswith;12 argument_list [13];13 string [] ./;14 block [15...
An individual pipeline status
0 module [1];1 function_definition [2,3,5];2 function_name [] search_string;3 parameters [4];4 identifier [] self;5 block [6,12,28,34,43,50,56,65,76,87,98,109,120];6 expression_statement [7];7 call [8,11];8 attribute [9,10];9 identifier [] self;10 identifier [] __normalize;11 argument_list [];12 expression_statement [1...
Returns the JSON string that LendingClub expects for it's search
0 module [1];1 function_definition [2,3,5];2 function_name [] crl;3 parameters [4];4 identifier [] self;5 block [6,14,22,35,83];6 expression_statement [7];7 assignment [8,9];8 identifier [] revoked_certs;9 call [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] get_revoked_certs;13 argument_list [];14 ...
Returns up to date CRL of this CA
0 module [1];1 function_definition [2,3,5];2 function_name [] _pypi_head_package;3 parameters [4];4 identifier [] dependency;5 block [6,52,60,72,101];6 if_statement [7,10,37];7 attribute [8,9];8 identifier [] dependency;9 identifier [] specs;10 block [11,21];11 expression_statement [12];12 assignment [13,16];13 pattern...
Hit pypi with a http HEAD to check if pkg_name exists.
0 module [1];1 function_definition [2,3,5];2 function_name [] _create_cached_iter;3 parameters [4];4 identifier [] self;5 block [6];6 for_statement [7,8,11];7 identifier [] scn;8 attribute [9,10];9 identifier [] self;10 identifier [] _scene_gen;11 block [12,21];12 expression_statement [13];13 call [14,19];14 attribute ...
Iterate over the provided scenes, caching them for later.
0 module [1];1 function_definition [2,3,7];2 function_name [] _make_path;3 parameters [4,5,6];4 identifier [] self;5 identifier [] path;6 identifier [] name;7 block [8,26,46];8 if_statement [9,18];9 not_operator [10];10 call [11,16];11 attribute [12,15];12 attribute [13,14];13 identifier [] os;14 identifier [] path;15 ...
Makes directories as needed
0 module [1];1 function_definition [2,3,11,13];2 function_name [] dump_map;3 parameters [4];4 typed_default_parameter [5,6,8];5 identifier [] file;6 type [7];7 identifier [] TextIO;8 attribute [9,10];9 identifier [] sys;10 identifier [] stdout;11 type [12];12 None [];13 block [14,28,36];14 expression_statement [15];15 ...
Prints the JSON "registered types" map to the specified file.
0 module [1];1 function_definition [2,3,10];2 function_name [] save_catalog;3 parameters [4,5,6,8];4 identifier [] self;5 identifier [] catalog_form;6 list_splat_pattern [7];7 identifier [] args;8 dictionary_splat_pattern [9];9 identifier [] kwargs;10 block [11];11 if_statement [12,17,29];12 call [13,16];13 attribute [...
Pass through to provider CatalogAdminSession.update_catalog
0 module [1];1 function_definition [2,3,8];2 function_name [] add_annotation;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] entity;6 identifier [] annotation;7 identifier [] value;8 block [9,17,44];9 expression_statement [10];10 assignment [11,12];11 identifier [] url;12 binary_operator [13,16] +;13 attrib...
Adds an annotation proprty to existing entity
0 module [1];1 function_definition [2,3,6];2 function_name [] hook;3 parameters [4,5];4 identifier [] self;5 identifier [] name;6 block [7,24];7 function_definition [8,9,11];8 function_name [] wrapper;9 parameters [10];10 identifier [] func;11 block [12,22];12 expression_statement [13];13 call [14,19];14 attribute [15,...
Return a decorator that attaches a callback to a hook.
0 module [1];1 function_definition [2,3,6];2 function_name [] _hm_send_msg;3 parameters [4,5];4 identifier [] self;5 identifier [] message;6 block [7,40,51,58];7 try_statement [8,22];8 block [9,13];9 expression_statement [10];10 assignment [11,12];11 identifier [] serial_message;12 identifier [] message;13 expression_s...
This is the only interface to the serial connection.
0 module [1];1 function_definition [2,3,5];2 function_name [] _prevent_core_dump;3 parameters [4];4 identifier [] cls;5 block [6];6 try_statement [7,17,21];7 block [8];8 expression_statement [9];9 call [10,13];10 attribute [11,12];11 identifier [] resource;12 identifier [] getrlimit;13 argument_list [14];14 attribute [...
Prevent the process from generating a core dump.
0 module [1];1 function_definition [2,3,7];2 function_name [] _recursive_matches;3 parameters [4,5,6];4 identifier [] self;5 identifier [] nodes;6 identifier [] count;7 block [8,14,26];8 assert_statement [9];9 comparison_operator [10,13] is not;10 attribute [11,12];11 identifier [] self;12 identifier [] content;13 None...
Helper to recursively yield the matches.
0 module [1];1 function_definition [2,3,8];2 function_name [] ConnectHandler;3 parameters [4,6];4 list_splat_pattern [5];5 identifier [] args;6 dictionary_splat_pattern [7];7 identifier [] kwargs;8 block [9,28,37];9 if_statement [10,15];10 comparison_operator [11,14] not in;11 subscript [12,13];12 identifier [] kwargs;...
Factory function selects the proper class and creates object based on device_type.
0 module [1];1 function_definition [2,3,6];2 function_name [] divide;3 parameters [4,5];4 identifier [] n;5 identifier [] m;6 block [7,16,24,37,62];7 expression_statement [8];8 assignment [9,10];9 identifier [] avg;10 call [11,12];11 identifier [] int;12 argument_list [13];13 binary_operator [14,15] /;14 identifier [] ...
Divide integer n to m chunks
0 module [1];1 function_definition [2,3,6];2 function_name [] delta;3 parameters [4,5];4 identifier [] self;5 identifier [] signature;6 block [7,9];7 expression_statement [8];8 string [] Generates delta for remote file via API using local file's signature.;9 return_statement [10];10 call [11,16];11 attribute [12,15];12...
Generates delta for remote file via API using local file's signature.
0 module [1];1 function_definition [2,3,7];2 function_name [] _renderBlockDevice;3 parameters [4,5,6];4 identifier [] self;5 identifier [] block_device;6 identifier [] build;7 block [8,18,53];8 expression_statement [9];9 assignment [10,11];10 identifier [] rendered_block_device;11 yield [12];12 call [13,16];13 attribut...
Render all of the block device's values.
0 module [1];1 function_definition [2,3,5];2 function_name [] value;3 parameters [4];4 identifier [] self;5 block [6,17];6 expression_statement [7];7 assignment [8,9];8 identifier [] length;9 call [10,15];10 attribute [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] _value;14 identifier [] find;15 ar...
Field value as an ascii encoded string.
0 module [1];1 function_definition [2,3,5];2 function_name [] state_reachable;3 parameters [4];4 identifier [] subsystem;5 block [6,17,30];6 expression_statement [7];7 assignment [8,9];8 identifier [] tpm;9 subscript [10,13,14];10 attribute [11,12];11 identifier [] subsystem;12 identifier [] tpm;13 ellipsis [] ...;14 a...
Return whether a state can be reached according to the network's TPM.
0 module [1];1 function_definition [2,3,7];2 function_name [] _structure_set;3 parameters [4,5,6];4 identifier [] self;5 identifier [] obj;6 identifier [] cl;7 block [8];8 if_statement [9,21,27];9 boolean_operator [10,14] or;10 call [11,12];11 identifier [] is_bare;12 argument_list [13];13 identifier [] cl;14 compariso...
Convert an iterable into a potentially generic set.
0 module [1];1 function_definition [2,3,5];2 function_name [] next;3 parameters [4];4 identifier [] self;5 block [6,24];6 if_statement [7,13];7 not_operator [8];8 call [9,10];9 identifier [] hasattr;10 argument_list [11,12];11 identifier [] self;12 string [] _iter;13 block [14];14 expression_statement [15];15 assignmen...
Retrieve the next row.
0 module [1];1 function_definition [2,3,5];2 function_name [] sampling_volume_value;3 parameters [4];4 identifier [] self;5 block [6,14,22];6 expression_statement [7];7 assignment [8,9];8 identifier [] svi;9 attribute [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] pdx;13 identifier [] SamplingVolum...
Returns the device samping volume value in m.
0 module [1];1 function_definition [2,3,5];2 function_name [] _get_default_projection;3 parameters [4];4 identifier [] cls;5 block [6,10,14,18,62,81];6 expression_statement [7];7 assignment [8,9];8 identifier [] projected;9 list [] [];10 expression_statement [11];11 assignment [12,13];12 identifier [] neutral;13 list [...
Construct the default projection document.
0 module [1];1 function_definition [2,3,5];2 function_name [] AC;3 parameters [4];4 identifier [] self;5 block [6,16,28];6 try_statement [7,12];7 block [8];8 return_statement [9];9 attribute [10,11];10 identifier [] self;11 identifier [] _AC;12 except_clause [13,14];13 identifier [] AttributeError;14 block [15];15 pass...
Vertices A and C, list.
0 module [1];1 function_definition [2,3,8];2 function_name [] LabelValueTable;3 parameters [4,5];4 identifier [] self;5 default_parameter [6,7];6 identifier [] keys;7 None [];8 block [9,17];9 expression_statement [10];10 assignment [11,12];11 identifier [] keys;12 boolean_operator [13,14] or;13 identifier [] keys;14 at...
Return LabelValue with FSM derived keys.
0 module [1];1 function_definition [2,3,4];2 function_name [] print_help_fields;3 parameters [];4 block [5,15,25,30,35,76,81,86,115,120];5 function_definition [6,7,8];6 function_name [] custom_manifold;7 parameters [];8 block [9,11];9 expression_statement [10];10 string [] named rTorrent custom attribute, e.g. 'custom_...
Print help about fields and field formatters.
0 module [1];1 function_definition [2,3,6];2 function_name [] manifest_parse;3 parameters [4,5];4 identifier [] self;5 identifier [] path;6 block [7,12,23];7 expression_statement [8];8 call [9,10];9 identifier [] print;10 argument_list [11];11 string [] fw: parsing manifests;12 expression_statement [13];13 assignment [...
parse manifest at path, return JSON object
0 module [1];1 function_definition [2,3,5];2 function_name [] _parse_read_preference;3 parameters [4];4 identifier [] options;5 block [6,15,25,32,41,52];6 if_statement [7,10];7 comparison_operator [8,9] in;8 string [] read_preference;9 identifier [] options;10 block [11];11 return_statement [12];12 subscript [13,14];13...
Parse read preference options.
0 module [1];1 function_definition [2,3,5];2 function_name [] competence;3 parameters [4];4 identifier [] stochastic;5 block [6];6 if_statement [7,12,15,26,50];7 comparison_operator [8,11] in;8 attribute [9,10];9 identifier [] stochastic;10 identifier [] dtype;11 identifier [] bool_dtypes;12 block [13];13 return_statem...
The competence function for Binary One-At-A-Time Metropolis
0 module [1];1 function_definition [2,3,7];2 function_name [] interface_lookup;3 parameters [4,5,6];4 identifier [] interfaces;5 identifier [] hwaddr;6 identifier [] address_type;7 block [8];8 for_statement [9,10,15];9 identifier [] interface;10 call [11,14];11 attribute [12,13];12 identifier [] interfaces;13 identifie...
Search the address within the interface list.
0 module [1];1 function_definition [2,3,7];2 function_name [] unsubscribe;3 parameters [4,5,6];4 identifier [] self;5 identifier [] socket_id;6 identifier [] channel;7 block [8,20,34];8 expression_statement [9];9 assignment [10,11];10 identifier [] con;11 call [12,15];12 attribute [13,14];13 identifier [] self;14 ident...
Unsubscribes a socket from a channel.
0 module [1];1 function_definition [2,3,7];2 function_name [] reload_all_plugins;3 parameters [4,5];4 identifier [] self;5 list_splat_pattern [6];6 identifier [] args;7 block [8];8 for_statement [9,10,16];9 identifier [] manifest;10 subscript [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] _manifest...
Reloads all initialized plugins
0 module [1];1 function_definition [2,3,5];2 function_name [] ignore;3 parameters [4];4 identifier [] mapping;5 block [6,34];6 if_statement [7,12,18];7 call [8,9];8 identifier [] isinstance;9 argument_list [10,11];10 identifier [] mapping;11 identifier [] Mapping;12 block [13];13 return_statement [14];14 call [15,16];1...
Use ignore to prevent a mapping from being mapped to a namedtuple.
0 module [1];1 function_definition [2,3,5];2 function_name [] read_piezo_tensor;3 parameters [4];4 identifier [] self;5 block [6,12,26,30,44];6 expression_statement [7];7 assignment [8,9];8 identifier [] header_pattern;9 concatenated_string [10,11];10 string [] r"PIEZOELECTRIC TENSOR for field in x, y, ";11 string [] ...
Parse the piezo tensor data
0 module [1];1 function_definition [2,3,7];2 function_name [] fromConfigFile;3 parameters [4];4 default_parameter [5,6];5 identifier [] filename;6 identifier [] DEFAULT_CONFIG_FILE;7 block [8,14,18,25,35,45,55,65,75,85];8 expression_statement [9];9 assignment [10,11];10 identifier [] parser;11 call [12,13];12 identifie...
Read settings from configuration file
0 module [1];1 function_definition [2,3,5];2 function_name [] extract_summary;3 parameters [4];4 identifier [] obj;5 block [6,29,48,74,88,189];6 try_statement [7,22];7 block [8];8 expression_statement [9];9 assignment [10,11];10 identifier [] doc;11 call [12,20];12 attribute [13,19];13 call [14,17];14 attribute [15,16]...
Extract summary from docstring.
0 module [1];1 function_definition [2,3,10];2 function_name [] list_address_scopes;3 parameters [4,5,8];4 identifier [] self;5 default_parameter [6,7];6 identifier [] retrieve_all;7 True [];8 dictionary_splat_pattern [9];9 identifier [] _params;10 block [11];11 return_statement [12];12 call [13,16];13 attribute [14,15]...
Fetches a list of all address scopes for a project.
0 module [1];1 function_definition [2,3,5];2 function_name [] _github_ssh_key_exists;3 parameters [4];4 identifier [] cls;5 block [6,25,29,45,94];6 expression_statement [7];7 assignment [8,9];8 identifier [] remote_keys;9 call [10,11];10 identifier [] map;11 argument_list [12,18];12 lambda [13,15];13 lambda_parameters ...
Returns True if any key on Github matches a local key, else False.
0 module [1];1 function_definition [2,3,8];2 function_name [] translate_sbml_reaction;3 parameters [4,5,6,7];4 identifier [] entry;5 identifier [] new_id;6 identifier [] compartment_map;7 identifier [] compound_map;8 block [9,19,100,127];9 expression_statement [10];10 assignment [11,12];11 identifier [] new_entry;12 ca...
Translate SBML reaction entry.
0 module [1];1 function_definition [2,3,5];2 function_name [] copy;3 parameters [4];4 identifier [] self;5 block [6,17,26];6 expression_statement [7];7 assignment [8,9];8 identifier [] new_dict;9 call [10,11];10 identifier [] IDict;11 argument_list [12];12 keyword_argument [13,14];13 identifier [] std;14 attribute [15,...
Return a copy of ourself.
0 module [1];1 function_definition [2,3,6];2 function_name [] pack_chunk;3 parameters [4,5];4 identifier [] tag;5 identifier [] data;6 block [7,13];7 expression_statement [8];8 assignment [9,10];9 identifier [] to_check;10 binary_operator [11,12] +;11 identifier [] tag;12 identifier [] data;13 return_statement [14];14 ...
Pack a PNG chunk for serializing to disk
0 module [1];1 function_definition [2,3,26];2 function_name [] registerTrailingStop;3 parameters [4,5,6,9,12,15,18,21,24];4 identifier [] self;5 identifier [] tickerId;6 default_parameter [7,8];7 identifier [] orderId;8 integer [] 0;9 default_parameter [10,11];10 identifier [] quantity;11 integer [] 1;12 default_parame...
adds trailing stop to monitor list
0 module [1];1 function_definition [2,3,5];2 function_name [] _handle_no_candidates;3 parameters [4];4 identifier [] self;5 block [6];6 if_statement [7,19,51];7 boolean_operator [8,13] and;8 comparison_operator [9,12] is not;9 attribute [10,11];10 identifier [] self;11 identifier [] dom;12 None [];13 call [14,15];14 id...
If we fail to find a good candidate we need to find something else.
0 module [1];1 function_definition [2,3,5];2 function_name [] bytes_to_c_array;3 parameters [4];4 identifier [] data;5 block [6,25];6 expression_statement [7];7 assignment [8,9];8 identifier [] chars;9 list_comprehension [10,19];10 call [11,14];11 attribute [12,13];12 string [] '{}';13 identifier [] format;14 argument_...
Make a C array using the given string.
0 module [1];1 function_definition [2,3,5];2 function_name [] clear_all;3 parameters [4];4 identifier [] self;5 block [6,23,37];6 for_statement [7,8,15];7 identifier [] urlpath;8 call [9,14];9 attribute [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] _metadata;13 identifier [] keys;14 argument_list ...
Clears all cache and metadata.
0 module [1];1 function_definition [2,3,6];2 function_name [] _print_command;3 parameters [4,5];4 identifier [] self;5 identifier [] cmd;6 block [7,16,25];7 expression_statement [8];8 assignment [9,10];9 identifier [] text;10 call [11,14];11 attribute [12,13];12 identifier [] helpers;13 identifier [] repr_bytes;14 argu...
Wrapper to avoid adding unnecessary blank lines.
0 module [1];1 function_definition [2,3,13,15];2 function_name [] send_method_request;3 parameters [4,5,9];4 identifier [] self;5 typed_parameter [6,7];6 identifier [] method;7 type [8];8 identifier [] str;9 typed_parameter [10,11];10 identifier [] method_params;11 type [12];12 identifier [] dict;13 type [14];14 identi...
Sends user-defined method and method params
0 module [1];1 function_definition [2,3,6];2 function_name [] updateButtonText;3 parameters [4,5];4 identifier [] self;5 identifier [] lst;6 block [7,11,24];7 expression_statement [8];8 assignment [9,10];9 identifier [] axis_txt;10 string [];11 for_statement [12,13,14];12 identifier [] e;13 identifier [] lst;14 block [...
Update the list of selected axes in the menu button
0 module [1];1 function_definition [2,3,6];2 function_name [] resolve;3 parameters [4,5];4 identifier [] self;5 identifier [] client;6 block [7,20];7 expression_statement [8];8 assignment [9,10];9 identifier [] resolve_method;10 call [11,12];11 identifier [] getattr;12 argument_list [13,14];13 identifier [] client;14 c...
Resolves Link to a specific Resource
0 module [1];1 function_definition [2,3,5];2 function_name [] _extract_number_of_taxa;3 parameters [4];4 identifier [] self;5 block [6,12,41,61];6 expression_statement [7];7 assignment [8,9];8 identifier [] n_taxa;9 call [10,11];10 identifier [] dict;11 argument_list [];12 for_statement [13,14,17];13 identifier [] i;14...
sets `self.number_taxa` to the number of taxa as string
0 module [1];1 function_definition [2,3,5];2 function_name [] user_has_email;3 parameters [4];4 identifier [] username;5 block [6,19,42];6 expression_statement [7];7 assignment [8,9];8 identifier [] user;9 call [10,15];10 attribute [11,14];11 attribute [12,13];12 identifier [] api;13 identifier [] user;14 identifier []...
make sure, that given user has an email associated
0 module [1];1 function_definition [2,3,8,10];2 function_name [] prepare;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] engine;6 identifier [] mode;7 identifier [] items;8 type [9];9 None [];10 block [11,30,36,42,48];11 expression_statement [12];12 assignment [13,16];13 attribute [14,15];14 identifier [] s...
Create a unique transaction id and dumps the items into a cached request object.
0 module [1];1 function_definition [2,3,5];2 function_name [] save_optimizer_for_phase;3 parameters [4];4 identifier [] phase;5 block [6];6 with_statement [7,20];7 with_clause [8];8 with_item [9];9 as_pattern [10,18];10 call [11,12];11 identifier [] open;12 argument_list [13,17];13 call [14,15];14 identifier [] make_op...
Save the optimizer associated with the phase as a pickle
0 module [1];1 function_definition [2,3,7];2 function_name [] _calculate_day_cost;3 parameters [4,5,6];4 identifier [] self;5 identifier [] plan;6 identifier [] period;7 block [8,24,28,46,68];8 expression_statement [9];9 assignment [10,11];10 identifier [] plan_pricings;11 call [12,22];12 attribute [13,21];13 call [14,...
Finds most fitted plan pricing for a given period, and calculate day cost
0 module [1];1 function_definition [2,3,6];2 function_name [] impute_data;3 parameters [4,5];4 identifier [] self;5 identifier [] x;6 block [7,22];7 expression_statement [8];8 assignment [9,10];9 identifier [] imp;10 call [11,12];11 identifier [] Imputer;12 argument_list [13,16,19];13 keyword_argument [14,15];14 identi...
Imputes data set containing Nan values
0 module [1];1 function_definition [2,3,9];2 function_name [] _get_dotgraphs;3 parameters [4,5,6,7,8];4 identifier [] self;5 identifier [] hdrgo;6 identifier [] usrgos;7 identifier [] pltargs;8 identifier [] go2parentids;9 block [10,22,34];10 expression_statement [11];11 assignment [12,13];12 identifier [] gosubdagplot...
Get a GO DAG in a dot-language string for a single Group of user GOs.
0 module [1];1 function_definition [2,3,7];2 function_name [] _symbol_in;3 parameters [4,5,6];4 identifier [] self;5 identifier [] symbol;6 identifier [] name;7 block [8,16,24];8 expression_statement [9];9 assignment [10,11];10 identifier [] lsymbol;11 call [12,15];12 attribute [13,14];13 identifier [] symbol;14 identi...
Checks whether the specified symbol is part of the name for completion.
0 module [1];1 function_definition [2,3,5];2 function_name [] _any_source_silent;3 parameters [4];4 identifier [] sources;5 block [6];6 return_statement [7];7 call [8,11];8 attribute [9,10];9 identifier [] np;10 identifier [] any;11 argument_list [12];12 call [13,16];13 attribute [14,15];14 identifier [] np;15 identifi...
Returns true if the parameter sources has any silent first dimensions
0 module [1];1 function_definition [2,3,8];2 function_name [] _update_port_group_info;3 parameters [4,5];4 identifier [] self;5 default_parameter [6,7];6 identifier [] switches;7 None [];8 block [9,24];9 if_statement [10,13];10 comparison_operator [11,12] is;11 identifier [] switches;12 None [];13 block [14];14 express...
Refresh data on switch interfaces' port group membership
0 module [1];1 function_definition [2,3,5];2 function_name [] prepare_recently_opened_state_machines_list_for_storage;3 parameters [4];4 identifier [] self;5 block [6,13,22,32];6 import_from_statement [7,11];7 dotted_name [8,9,10];8 identifier [] rafcon;9 identifier [] gui;10 identifier [] singleton;11 dotted_name [12]...
Reduce number of paths in the recent opened state machines to limit from gui config
0 module [1];1 function_definition [2,3,5];2 function_name [] reload;3 parameters [4];4 identifier [] self;5 block [6,12,17,23,38];6 expression_statement [7];7 assignment [8,9];8 identifier [] enum;9 attribute [10,11];10 identifier [] self;11 identifier [] _enum;12 if_statement [13,15];13 not_operator [14];14 identifie...
Reloads the contents for this box.
0 module [1];1 function_definition [2,3,8];2 function_name [] _trim_config;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] b_config;6 identifier [] mod;7 identifier [] key;8 block [9,46];9 if_statement [10,17,28];10 call [11,12];11 identifier [] isinstance;12 argument_list [13,16];13 subscript [14,15];14 id...
Take a beacon configuration and strip out the interval bits
0 module [1];1 function_definition [2,3,6];2 function_name [] _is_significant;3 parameters [4,5];4 identifier [] change;5 identifier [] significance;6 block [7,32];7 try_statement [8,27];8 block [9,18];9 expression_statement [10];10 assignment [11,12];11 identifier [] a;12 call [13,14];13 identifier [] float;14 argumen...
Return True if a change is genuinely significant given our tolerance.
0 module [1];1 function_definition [2,3,6];2 function_name [] addField;3 parameters [4,5];4 identifier [] self;5 identifier [] field;6 block [7,29,46];7 if_statement [8,17];8 comparison_operator [9,14] in;9 call [10,13];10 attribute [11,12];11 identifier [] field;12 identifier [] lower;13 argument_list [];14 attribute ...
add a filed to the legend
0 module [1];1 function_definition [2,3,6];2 function_name [] setPgConfigOptions;3 parameters [4];4 dictionary_splat_pattern [5];5 identifier [] kwargs;6 block [7,30];7 for_statement [8,11,16];8 pattern_list [9,10];9 identifier [] key;10 identifier [] value;11 call [12,15];12 attribute [13,14];13 identifier [] kwargs;1...
Sets the PyQtGraph config options and emits a log message
0 module [1];1 function_definition [2,3,5];2 function_name [] throw_if_bad_response;3 parameters [4];4 identifier [] response;5 block [6];6 try_statement [7,14];7 block [8];8 expression_statement [9];9 call [10,13];10 attribute [11,12];11 identifier [] response;12 identifier [] raise_for_status;13 argument_list [];14 e...
Throw an exception if the Cerberus response is not successful.
0 module [1];1 function_definition [2,3,7];2 function_name [] remove_eoc_marker;3 parameters [4,5,6];4 identifier [] self;5 identifier [] text;6 identifier [] next_text;7 block [8,15,146];8 if_statement [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] cell_marker_start;12 block [13];13 return_statement...
Remove end of cell marker when next cell has an explicit start marker
0 module [1];1 function_definition [2,3,7];2 function_name [] _get_stats;3 parameters [4,5,6];4 identifier [] self;5 identifier [] url;6 identifier [] instance;7 block [8,22,32,45,49,68,94,100];8 expression_statement [9];9 call [10,15];10 attribute [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] log...
Hit a given URL and return the parsed json.
0 module [1];1 function_definition [2,3,5];2 function_name [] fmt_iso;3 parameters [4];4 identifier [] timestamp;5 block [6];6 try_statement [7,15];7 block [8];8 return_statement [9];9 call [10,13];10 attribute [11,12];11 identifier [] fmt;12 identifier [] iso_datetime;13 argument_list [14];14 identifier [] timestamp;1...
Format a UNIX timestamp to an ISO datetime string.
0 module [1];1 function_definition [2,3,14];2 function_name [] _resolve_call;3 parameters [4,5,6,9,12];4 identifier [] self;5 identifier [] table;6 default_parameter [7,8];7 identifier [] column;8 string [];9 default_parameter [10,11];10 identifier [] value;11 string [];12 dictionary_splat_pattern [13];13 identifier []...
Internal method to resolve the API wrapper call.
0 module [1];1 function_definition [2,3,9,15];2 function_name [] all_models;3 parameters [4,5];4 identifier [] self;5 typed_parameter [6,7];6 identifier [] alphabet;7 type [8];8 identifier [] _Alphabet;9 type [10];10 generic_type [11,12];11 identifier [] Set;12 type_parameter [13];13 type [14];14 identifier [] PLInterp...
Find all the possible interpretations given a set of symbols
0 module [1];1 function_definition [2,3,5];2 function_name [] cut_gmail_quote;3 parameters [4];4 identifier [] html_message;5 block [6,14];6 expression_statement [7];7 assignment [8,9];8 identifier [] gmail_quote;9 call [10,11];10 identifier [] cssselect;11 argument_list [12,13];12 string [] div.gmail_quote;13 identifi...
Cuts the outermost block element with class gmail_quote.
0 module [1];1 function_definition [2,3,8];2 function_name [] _filter_closest;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] lat;6 identifier [] lon;7 identifier [] stations;8 block [9,15,19,23,65];9 expression_statement [10];10 assignment [11,12];11 identifier [] current_location;12 tuple [13,14];13 ident...
Helper to filter the closest station to a given location.
0 module [1];1 function_definition [2,3,9];2 function_name [] stream_download;3 parameters [4,5,6];4 identifier [] url;5 identifier [] target_path;6 default_parameter [7,8];7 identifier [] verbose;8 False [];9 block [10,22,30,78,99];10 expression_statement [11];11 assignment [12,13];12 identifier [] response;13 call [1...
Download a large file without loading it into memory.
0 module [1];1 function_definition [2,3,8];2 function_name [] __init_keystone_session_v2;3 parameters [4,5];4 identifier [] self;5 default_parameter [6,7];6 identifier [] check;7 False [];8 block [9,16,25,53,71,150,157];9 import_from_statement [10,12];10 dotted_name [11];11 identifier [] keystoneauth1;12 aliased_import...
Create and return a session object using Keystone API v2.
0 module [1];1 function_definition [2,3,6];2 function_name [] wp_is_loiter;3 parameters [4,5];4 identifier [] self;5 identifier [] i;6 block [7,31,45];7 expression_statement [8];8 assignment [9,10];9 identifier [] loiter_cmds;10 list [11,16,21,26] [mavutil.mavlink.MAV_CMD_NAV_LOITER_UNLIM,\n mavutil.mavl...
return true if waypoint is a loiter waypoint
0 module [1];1 function_definition [2,3,6];2 function_name [] output;3 parameters [4,5];4 identifier [] self;5 identifier [] out_file;6 block [7,13,20,27,33];7 expression_statement [8];8 assignment [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] out_file;12 identifier [] out_file;13 expression_stateme...
Write the converted entries to out_file
0 module [1];1 function_definition [2,3,10];2 function_name [] filter_records;3 parameters [4,5,6,7];4 identifier [] root;5 identifier [] head;6 identifier [] update;7 default_parameter [8,9];8 identifier [] filters;9 tuple [];10 block [11,30,46];11 expression_statement [12];12 assignment [13,17];13 pattern_list [14,15...
Apply the filters to the records.
0 module [1];1 function_definition [2,3,5];2 function_name [] update_cognito_triggers;3 parameters [4];4 identifier [] self;5 block [6];6 if_statement [7,10];7 attribute [8,9];8 identifier [] self;9 identifier [] cognito;10 block [11,22,34,40,60];11 expression_statement [12];12 assignment [13,14];13 identifier [] user_...
Update any cognito triggers
0 module [1];1 function_definition [2,3,5];2 function_name [] _set_random_data;3 parameters [4];4 identifier [] self;5 block [6,15,25,34,43];6 expression_statement [7];7 assignment [8,9];8 identifier [] rdata;9 call [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] _load_response;13 argument_list [14]...
sets page data from random request
0 module [1];1 function_definition [2,3,6];2 function_name [] verify_password;3 parameters [4,5];4 identifier [] self;5 identifier [] password;6 block [7,16,24];7 if_statement [8,13];8 comparison_operator [9,12] is;9 attribute [10,11];10 identifier [] self;11 identifier [] password;12 None [];13 block [14];14 return_st...
Verify a given string for being valid password
0 module [1];1 function_definition [2,3,5];2 function_name [] condition_from_code;3 parameters [4];4 identifier [] condcode;5 block [6,42];6 if_statement [7,10];7 comparison_operator [8,9] in;8 identifier [] condcode;9 identifier [] __BRCONDITIONS;10 block [11,17];11 expression_statement [12];12 assignment [13,14];13 i...
Get the condition name from the condition code.
0 module [1];1 function_definition [2,3,11];2 function_name [] unstash_index;3 parameters [4,5,8];4 identifier [] self;5 default_parameter [6,7];6 identifier [] sync;7 False [];8 default_parameter [9,10];9 identifier [] branch;10 None [];11 block [12,26,39];12 expression_statement [13];13 assignment [14,15];14 identifi...
Returns an unstash index if one is available.
0 module [1];1 function_definition [2,3,5];2 function_name [] posts;3 parameters [4];4 identifier [] self;5 block [6,20,33];6 expression_statement [7];7 assignment [8,9];8 identifier [] rev;9 call [10,11];10 identifier [] int;11 argument_list [12];12 call [13,18];13 attribute [14,17];14 attribute [15,16];15 identifier ...
Get posts, reloading the site if needed.
0 module [1];1 function_definition [2,3,9];2 function_name [] parse;3 parameters [4,5,7];4 identifier [] content;5 list_splat_pattern [6];6 identifier [] args;7 dictionary_splat_pattern [8];8 identifier [] kwargs;9 block [10,12];10 global_statement [11];11 identifier [] MECAB_PYTHON3;12 if_statement [13,24,38];13 boole...
Use mecab-python3 by default to parse JP text. Fall back to mecab binary app if needed
0 module [1];1 function_definition [2,3,8];2 function_name [] _format_filename;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] prefix;6 identifier [] year;7 identifier [] week;8 block [9];9 return_statement [10];10 call [11,14];11 attribute [12,13];12 string [] {}{}_{}-{}.csv;13 identifier [] format;14 argu...
Construct the file name based on the path and options.
0 module [1];1 function_definition [2,3,6];2 function_name [] _check_rest_version;3 parameters [4,5];4 identifier [] self;5 identifier [] version;6 block [7,14,35,43,62];7 expression_statement [8];8 assignment [9,10];9 identifier [] version;10 call [11,12];11 identifier [] str;12 argument_list [13];13 identifier [] ver...
Validate a REST API version is supported by the library and target array.
0 module [1];1 function_definition [2,3,9];2 function_name [] header;3 parameters [4,5,6];4 identifier [] self;5 identifier [] method;6 default_parameter [7,8];7 identifier [] client;8 string [] htmlshark;9 block [10];10 return_statement [11];11 dictionary [12,21,24,31,42,49,52];12 pair [13,14];13 string [] token;14 ca...
generates Grooveshark API Json header
0 module [1];1 function_definition [2,3,5];2 function_name [] create_environment_dict;3 parameters [4];4 identifier [] overrides;5 block [6,16,25];6 expression_statement [7];7 assignment [8,9];8 identifier [] result;9 call [10,15];10 attribute [11,14];11 attribute [12,13];12 identifier [] os;13 identifier [] environ;14...
Create and return a copy of os.environ with the specified overrides
0 module [1];1 function_definition [2,3,5];2 function_name [] reset;3 parameters [4];4 identifier [] self;5 block [6,12,21,30];6 expression_statement [7];7 assignment [8,11];8 attribute [9,10];9 identifier [] self;10 identifier [] _count;11 integer [] 0;12 expression_statement [13];13 assignment [14,17];14 attribute [1...
Reset the time statistics data for the operation.
0 module [1];1 function_definition [2,3,7];2 function_name [] _send;3 parameters [4,5];4 identifier [] self;5 dictionary_splat_pattern [6];6 identifier [] kwargs;7 block [8];8 if_statement [9,17,28];9 comparison_operator [10,16] is not;10 call [11,14];11 attribute [12,13];12 identifier [] kwargs;13 identifier [] get;14...
Send a frame to either the local ZigBee or a remote device.
0 module [1];1 function_definition [2,3,8];2 function_name [] open;3 parameters [4,5];4 identifier [] self;5 default_parameter [6,7];6 identifier [] print_matlab_welcome;7 False [];8 block [9,28,59,75,94];9 if_statement [10,20];10 boolean_operator [11,14] and;11 attribute [12,13];12 identifier [] self;13 identifier [] ...
Opens the matlab process.