sequence
stringlengths
388
5.57k
docstring
stringlengths
11
171
0 module [1];1 function_definition [2,3,5];2 function_name [] create_report;3 parameters [4];4 identifier [] self;5 block [6,14,49,60,67,80,112];6 expression_statement [7];7 assignment [8,9];8 identifier [] data;9 call [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] create_data;13 argument_list [];1...
Generate json dumped report for coveralls api.
0 module [1];1 function_definition [2,3,11];2 function_name [] open;3 parameters [4,5,8];4 identifier [] self;5 default_parameter [6,7];6 identifier [] user;7 None [];8 default_parameter [9,10];9 identifier [] repo;10 None [];11 block [12];12 expression_statement [13];13 call [14,17];14 attribute [15,16];15 identifier ...
Open the URL of a repository in the user's browser
0 module [1];1 function_definition [2,3,9];2 function_name [] put;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] key;6 identifier [] value;7 list_splat_pattern [8];8 identifier [] args;9 block [10,18];10 expression_statement [11];11 assignment [12,17];12 subscript [13,16];13 attribute [14,15];14 identifier...
Edits a data entry.
0 module [1];1 function_definition [2,3,14];2 function_name [] step;3 parameters [4,8,12];4 typed_parameter [5,6];5 identifier [] h1;6 type [7];7 identifier [] Histogram1D;8 typed_parameter [9,10];9 identifier [] ax;10 type [11];11 identifier [] Axes;12 dictionary_splat_pattern [13];13 identifier [] kwargs;14 block [15...
Step line-plot of 1D histogram.
0 module [1];1 function_definition [2,3,5];2 function_name [] _repr_html_;3 parameters [4];4 identifier [] self;5 block [6,10,25];6 expression_statement [7];7 assignment [8,9];8 identifier [] nbreset;9 string [] f'<style>{css_nbreset}</style>';10 expression_statement [11];11 assignment [12,13];12 identifier [] resource...
Jupyter Notebook hook to print this element as HTML.
0 module [1];1 function_definition [2,3,6];2 function_name [] valid_substitution;3 parameters [4,5];4 identifier [] strlen;5 identifier [] index;6 block [7,13];7 expression_statement [8];8 assignment [9,10];9 identifier [] values;10 subscript [11,12];11 identifier [] index;12 integer [] 0;13 return_statement [14];14 ca...
skip performing substitutions that are outside the bounds of the string
0 module [1];1 function_definition [2,3,9];2 function_name [] admin_url;3 parameters [4,5,6];4 identifier [] model;5 identifier [] url;6 default_parameter [7,8];7 identifier [] object_id;8 None [];9 block [10,16,33,37,47];10 expression_statement [11];11 assignment [12,13];12 identifier [] opts;13 attribute [14,15];14 i...
Returns the URL for the given model and admin url name.
0 module [1];1 function_definition [2,3,6];2 function_name [] addImg;3 parameters [4,5];4 identifier [] self;5 identifier [] img;6 block [7,18,28,39,70];7 expression_statement [8];8 assignment [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] img;12 call [13,14];13 identifier [] imread;14 argument_list ...
add one chessboard image for detection lens distortion
0 module [1];1 function_definition [2,3,5];2 function_name [] wkhtmltopdf_args_mapping;3 parameters [4];4 identifier [] data;5 block [6,19];6 expression_statement [7];7 assignment [8,9];8 identifier [] mapping;9 dictionary [10,13,16];10 pair [11,12];11 string [] cookies;12 string [] cookie;13 pair [14,15];14 string [] ...
fix our names to wkhtmltopdf's args
0 module [1];1 function_definition [2,3,7];2 function_name [] _css_background;3 parameters [4,5];4 identifier [] self;5 dictionary_splat_pattern [6];6 identifier [] kwargs;7 block [8,20,24,44];8 expression_statement [9];9 assignment [10,14];10 pattern_list [11,12,13];11 identifier [] img_1x;12 identifier [] img_2x;13 i...
Get the CSS specifiers for this as a hidpi-capable background image
0 module [1];1 function_definition [2,3,5];2 function_name [] authentication_url;3 parameters [4];4 identifier [] self;5 block [6,25];6 expression_statement [7];7 assignment [8,9];8 identifier [] params;9 dictionary [10,15,20];10 pair [11,12];11 string [] client_id;12 attribute [13,14];13 identifier [] self;14 identifi...
Redirect your users to here to authenticate them.
0 module [1];1 function_definition [2,3,5];2 function_name [] album_to_ref;3 parameters [4];4 identifier [] album;5 block [6,10,34,47,64];6 expression_statement [7];7 assignment [8,9];8 identifier [] name;9 string [];10 for_statement [11,12,15];11 identifier [] artist;12 attribute [13,14];13 identifier [] album;14 iden...
Convert a mopidy album to a mopidy ref.
0 module [1];1 function_definition [2,3,5];2 function_name [] pulse;3 parameters [4];4 identifier [] self;5 block [6,14,22,40,46,52];6 expression_statement [7];7 assignment [8,9];8 identifier [] new_b_value;9 attribute [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] gpio_b;13 identifier [] is_active...
Calls when_rotated callback if detected changes
0 module [1];1 function_definition [2,3,8];2 function_name [] cio_open;3 parameters [4,5];4 identifier [] cinfo;5 default_parameter [6,7];6 identifier [] src;7 None [];8 block [9,25,33,46,64,86];9 expression_statement [10];10 assignment [11,12];11 identifier [] argtypes;12 list [13,19,22] [ctypes.POINTER(CommonStructTy...
Wrapper for openjpeg library function opj_cio_open.
0 module [1];1 function_definition [2,3,7];2 function_name [] handle_read;3 parameters [4,5];4 identifier [] repo;5 dictionary_splat_pattern [6];6 identifier [] kwargs;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 binary...
handles reading repo information
0 module [1];1 function_definition [2,3,6];2 function_name [] expand_families;3 parameters [4,5];4 identifier [] self;5 identifier [] stmts;6 block [7,11,150];7 expression_statement [8];8 assignment [9,10];9 identifier [] new_stmts;10 list [] [];11 for_statement [12,13,14];12 identifier [] stmt;13 identifier [] stmts;1...
Generate statements by expanding members of families and complexes.
0 module [1];1 function_definition [2,3,5];2 function_name [] com;3 parameters [4];4 identifier [] self;5 block [6,31];6 if_statement [7,12];7 comparison_operator [8,11] is;8 attribute [9,10];9 identifier [] self;10 identifier [] _com;11 None [];12 block [13];13 expression_statement [14];14 assignment [15,18];15 attrib...
Center of mass, calculated from the mean of the PMT positions
0 module [1];1 function_definition [2,3,5];2 function_name [] sitemap_index;3 parameters [4];4 identifier [] request;5 block [6,10,71,80,86,92,98,106];6 expression_statement [7];7 assignment [8,9];8 identifier [] sitemaps;9 list [] [];10 with_statement [11,19];11 with_clause [12];12 with_item [13];13 as_pattern [14,17]...
Return a sitemap index xml file for search engines.
0 module [1];1 function_definition [2,3,10];2 function_name [] makeSer;3 parameters [4,5,6,7,8,9];4 identifier [] segID;5 identifier [] N;6 identifier [] CA;7 identifier [] C;8 identifier [] O;9 identifier [] geo;10 block [11,17,23,29,35,41,47,59,73,85,99,111,118,125,132,139,146,153];11 expression_statement [12];12 ass...
Creates a Serine residue
0 module [1];1 function_definition [2,3,9];2 function_name [] make_skiplist;3 parameters [4,6];4 list_splat_pattern [5];5 identifier [] args;6 default_parameter [7,8];7 identifier [] use_fallback;8 False [];9 block [10,19];10 expression_statement [11];11 assignment [12,13];12 identifier [] sl;13 conditional_expression ...
Create a new skiplist
0 module [1];1 function_definition [2,3,5];2 function_name [] read_inquiry_mode;3 parameters [4];4 identifier [] sock;5 block [6,21,29,43,53,63,71,84,97,106,118,128,141];6 expression_statement [7];7 assignment [8,9];8 identifier [] old_filter;9 call [10,13];10 attribute [11,12];11 identifier [] sock;12 identifier [] ge...
returns the current mode, or -1 on failure
0 module [1];1 function_definition [2,3,5];2 function_name [] args;3 parameters [4];4 identifier [] self;5 block [6,10,54,67,78];6 expression_statement [7];7 assignment [8,9];8 identifier [] arglist;9 list [] [];10 for_statement [11,14,24];11 pattern_list [12,13];12 identifier [] k;13 identifier [] v;14 call [15,18];15...
Returns an array of args to pass to the job.
0 module [1];1 function_definition [2,3,5];2 function_name [] create_file;3 parameters [4];4 identifier [] self;5 block [6,14,43];6 expression_statement [7];7 assignment [8,9];8 identifier [] src;9 call [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] get_current_path;13 argument_list [];14 expressio...
Creates a file under the current directory.
0 module [1];1 function_definition [2,3,6];2 function_name [] locate;3 parameters [4,5];4 identifier [] self;5 identifier [] path;6 block [7];7 return_statement [8];8 call [9,10];9 identifier [] Zconfig;10 argument_list [11,20];11 call [12,15];12 attribute [13,14];13 identifier [] lib;14 identifier [] zconfig_locate;15...
Find a config item along a path; leading slash is optional and ignored.
0 module [1];1 function_definition [2,3,6];2 function_name [] multiply;3 parameters [4,5];4 identifier [] self;5 identifier [] number;6 block [7];7 return_statement [8];8 call [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] from_list;12 argument_list [13];13 list_comprehension [14,17];14 binary_operat...
Return a Vector as the product of the vector and a real number.
0 module [1];1 function_definition [2,3,8];2 function_name [] _make_scatter_logfile_name;3 parameters [4,5,6,7];4 identifier [] cls;5 identifier [] key;6 identifier [] linkname;7 identifier [] job_config;8 block [9,26];9 expression_statement [10];10 assignment [11,12];11 identifier [] logfile;12 call [13,16];13 attribu...
Hook to inster the name of a logfile into the input config
0 module [1];1 function_definition [2,3,6];2 function_name [] _organize_variants;3 parameters [4,5];4 identifier [] samples;5 identifier [] batch_id;6 block [7,21,30,53,59,63,107];7 expression_statement [8];8 assignment [9,10];9 identifier [] caller_names;10 list_comprehension [11,14];11 subscript [12,13];12 identifier...
Retrieve variant calls for all samples, merging batched samples into single VCF.
0 module [1];1 function_definition [2,3,8,10];2 function_name [] watch_dir;3 parameters [4];4 typed_parameter [5,6];5 identifier [] path;6 type [7];7 identifier [] str;8 type [9];9 None [];10 block [11,15];11 expression_statement [12];12 call [13,14];13 identifier [] _compile_exclude_patterns;14 argument_list [];15 if_...
Add ``path`` to watch for autoreload.
0 module [1];1 function_definition [2,3,5];2 function_name [] _permute_aux_specs;3 parameters [4];4 identifier [] self;5 block [6,16,22,35,43,64];6 expression_statement [7];7 assignment [8,9];8 identifier [] calc_aux_mapping;9 call [10,15];10 attribute [11,14];11 attribute [12,13];12 identifier [] self;13 identifier []...
Generate all permutations of the non-core specifications.
0 module [1];1 function_definition [2,3,8,26];2 function_name [] read_dates_by_service_ids;3 parameters [4];4 typed_parameter [5,6];5 identifier [] path;6 type [7];7 identifier [] str;8 type [9];9 generic_type [10,11];10 identifier [] Dict;11 type_parameter [12,18];12 type [13];13 generic_type [14,15];14 identifier [] ...
Find dates with identical service
0 module [1];1 function_definition [2,3,4];2 function_name [] patch_sys_version;3 parameters [];4 block [5];5 if_statement [6,11];6 comparison_operator [7,8] in;7 string [] |;8 attribute [9,10];9 identifier [] sys;10 identifier [] version;11 block [12,23];12 expression_statement [13];13 assignment [14,15];14 identifier...
Remove Continuum copyright statement to avoid parsing errors in IDLE
0 module [1];1 function_definition [2,3,5];2 function_name [] _convert_hex_str_to_int;3 parameters [4];4 identifier [] val;5 block [6,13,21,30,36];6 if_statement [7,10];7 comparison_operator [8,9] is;8 identifier [] val;9 None [];10 block [11];11 return_statement [12];12 None [];13 expression_statement [14];14 assignme...
Convert hexadecimal formatted ids to signed int64
0 module [1];1 function_definition [2,3,5];2 function_name [] yum_search;3 parameters [4];4 identifier [] packages;5 block [6,10,16,41,51,60,75];6 expression_statement [7];7 assignment [8,9];8 identifier [] output;9 dictionary [];10 expression_statement [11];11 assignment [12,13];12 identifier [] cmd;13 list [14,15] ['...
Search for a package.
0 module [1];1 function_definition [2,3,9];2 function_name [] threadProfileCode;3 parameters [4,5,7];4 identifier [] func;5 list_splat_pattern [6];6 identifier [] args;7 dictionary_splat_pattern [8];8 identifier [] kwargs;9 block [10,12];10 expression_statement [11];11 string [] Toplevel thread profile wrapper.;12 with...
Toplevel thread profile wrapper.
0 module [1];1 function_definition [2,3,8];2 function_name [] _dasd_reverse_conversion;3 parameters [4,5,6];4 identifier [] cls;5 identifier [] val;6 dictionary_splat_pattern [7];7 identifier [] kwargs;8 block [9];9 if_statement [10,13,62];10 comparison_operator [11,12] is not;11 identifier [] val;12 None [];13 block [...
converts DASD String values to the reg_sz value
0 module [1];1 function_definition [2,3,5];2 function_name [] _sanity_check_coerce_type_outside_of_fold;3 parameters [4];4 identifier [] ir_blocks;5 block [6,10];6 expression_statement [7];7 assignment [8,9];8 identifier [] is_in_fold;9 False [];10 for_statement [11,14,18];11 pattern_list [12,13];12 identifier [] first...
Ensure that CoerceType not in a @fold are followed by a MarkLocation or Filter block.
0 module [1];1 function_definition [2,3,9];2 function_name [] functionFactory;3 parameters [4,5,6,7,8];4 identifier [] in_code;5 identifier [] name;6 identifier [] defaults;7 identifier [] globals_;8 identifier [] imports;9 block [10,15,26,32,38,52,95];10 function_definition [11,12,13];11 function_name [] generatedFunc...
Creates a function at runtime using binary compiled inCode
0 module [1];1 function_definition [2,3,9];2 function_name [] forward_state;3 parameters [4,5,6];4 identifier [] self;5 identifier [] sequence;6 default_parameter [7,8];7 identifier [] state;8 None [];9 block [10,29,38,42,125,139,151];10 if_statement [11,14];11 comparison_operator [12,13] is;12 identifier [] state;13 N...
Forward propagate a sequence through the network accounting for the state
0 module [1];1 function_definition [2,3,6];2 function_name [] _is_at_qry_end;3 parameters [4,5];4 identifier [] self;5 identifier [] nucmer_hit;6 block [7,15];7 expression_statement [8];8 assignment [9,10];9 identifier [] hit_coords;10 call [11,14];11 attribute [12,13];12 identifier [] nucmer_hit;13 identifier [] qry_c...
Returns True iff the hit is "close enough" to the end of the query sequence
0 module [1];1 function_definition [2,3,13];2 function_name [] collect_metrics;3 parameters [4,7,10];4 default_parameter [5,6];5 identifier [] local_evaluator;6 None [];7 default_parameter [8,9];8 identifier [] remote_evaluators;9 list [] [];10 default_parameter [11,12];11 identifier [] timeout_seconds;12 integer [] 18...
Gathers episode metrics from PolicyEvaluator instances.
0 module [1];1 function_definition [2,3,6];2 function_name [] request_headers;3 parameters [4,5];4 identifier [] self;5 identifier [] request;6 block [7,11,20,64];7 expression_statement [8];8 assignment [9,10];9 identifier [] headers;10 dictionary [];11 expression_statement [12];12 assignment [13,14];13 identifier [] a...
Generate standard request headers
0 module [1];1 function_definition [2,3,5];2 function_name [] generate_checks;3 parameters [4];4 identifier [] fact;5 block [6,15,19,84];6 expression_statement [7];7 yield [8];8 call [9,10];9 identifier [] TypeCheck;10 argument_list [11];11 call [12,13];12 identifier [] type;13 argument_list [14];14 identifier [] fact;...
Given a fact, generate a list of Check objects for checking it.
0 module [1];1 function_definition [2,3,5];2 function_name [] target_to_ipv4_short;3 parameters [4];4 identifier [] target;5 block [6,15,25,57,75,90,107];6 expression_statement [7];7 assignment [8,9];8 identifier [] splitted;9 call [10,13];10 attribute [11,12];11 identifier [] target;12 identifier [] split;13 argument_...
Attempt to return a IPv4 short range list from a target string.
0 module [1];1 function_definition [2,3,5];2 function_name [] format_rst;3 parameters [4];4 identifier [] self;5 block [6,10,19,23,50,54,69,73,100,104,132,159,163];6 expression_statement [7];7 assignment [8,9];8 identifier [] res;9 string [];10 expression_statement [11];11 assignment [12,13];12 identifier [] num_cols;1...
return table in RST format
0 module [1];1 function_definition [2,3,6];2 function_name [] delete_network_subname;3 parameters [4,5];4 identifier [] self;5 identifier [] sub_name;6 block [7];7 try_statement [8,58];8 block [9,13,26];9 expression_statement [10];10 assignment [11,12];11 identifier [] body;12 dictionary [];13 expression_statement [14]...
Delete the network by part of its name, use with caution.
0 module [1];1 function_definition [2,3,12];2 function_name [] uniform;3 parameters [4,5,6,9];4 identifier [] self;5 identifier [] key;6 default_parameter [7,8];7 identifier [] min_value;8 float [] 0.;9 default_parameter [10,11];10 identifier [] max_value;11 float [] 1.;12 block [13];13 return_statement [14];14 binary_...
Returns a random number between min_value and max_value
0 module [1];1 function_definition [2,3,10];2 function_name [] _calc_strain;3 parameters [4,5,6,7,8];4 identifier [] self;5 identifier [] loc_input;6 identifier [] loc_layer;7 identifier [] motion;8 list_splat_pattern [9];9 identifier [] args;10 block [11,24];11 expression_statement [12];12 assignment [13,14];13 identi...
Compute the strain used for iterations of material properties.
0 module [1];1 function_definition [2,3,5];2 function_name [] functions;3 parameters [4];4 identifier [] self;5 block [6];6 return_statement [7];7 list_comprehension [8,9,18];8 identifier [] v;9 for_in_clause [10,11];10 identifier [] v;11 call [12,17];12 attribute [13,16];13 attribute [14,15];14 identifier [] self;15 i...
A list of functions declared or defined in this module.
0 module [1];1 function_definition [2,3,7];2 function_name [] add_tenant_to_flavor;3 parameters [4,5,6];4 identifier [] request;5 identifier [] flavor;6 identifier [] tenant;7 block [8];8 return_statement [9];9 call [10,20];10 attribute [11,19];11 attribute [12,18];12 call [13,16];13 attribute [14,15];14 identifier [] ...
Add a tenant to the given flavor access list.
0 module [1];1 function_definition [2,3,5];2 function_name [] paramsarraybounds;3 parameters [4];4 identifier [] self;5 block [6,10,71,89,101];6 expression_statement [7];7 assignment [8,9];8 identifier [] bounds;9 list [] [];10 for_statement [11,14,21];11 tuple_pattern [12,13];12 identifier [] i;13 identifier [] param;...
Bounds for parameters in `paramsarray`.
0 module [1];1 function_definition [2,3,5];2 function_name [] _append_pairs;3 parameters [4];4 identifier [] new_pairs;5 block [6,14,18,35];6 expression_statement [7];7 assignment [8,9];8 identifier [] desired_pairs;9 boolean_operator [10,13] or;10 call [11,12];11 identifier [] restore_pairs;12 argument_list [];13 list...
Load the pairlist, add new stuff, save it out
0 module [1];1 function_definition [2,3,5];2 function_name [] _add_minimization_vars;3 parameters [4];4 identifier [] self;5 block [6,26,41,56];6 expression_statement [7];7 assignment [8,11];8 attribute [9,10];9 identifier [] self;10 identifier [] _z;11 call [12,17];12 attribute [13,16];13 attribute [14,15];14 identifi...
Add variables and constraints for L1 norm minimization.
0 module [1];1 function_definition [2,3,5];2 function_name [] _find_usage_subnets;3 parameters [4];4 identifier [] self;5 block [6,10,17,47,70];6 expression_statement [7];7 assignment [8,9];8 identifier [] subnet_to_az;9 dictionary [];10 expression_statement [11];11 assignment [12,13];12 identifier [] subnets;13 call [...
find usage for Subnets; return dict of SubnetId to AZ
0 module [1];1 function_definition [2,3,11];2 function_name [] jsk_vc_pause;3 parameters [4,5];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 block [12,20,35,41];12 expression_statement [13];13 assignment [14,15];14 ide...
Pauses a running audio source, if there is one.
0 module [1];1 function_definition [2,3,5,7];2 function_name [] _queue_processor;3 parameters [4];4 identifier [] self;5 type [6];6 None [];7 block [8,10];8 expression_statement [9];9 string [] Processes queued up write requests asynchronously to Tensorboard.;10 while_statement [11,19];11 not_operator [12];12 call [13,...
Processes queued up write requests asynchronously to Tensorboard.
0 module [1];1 function_definition [2,3,4];2 function_name [] _get_token;3 parameters [];4 block [5,21,37,41,81,88];5 expression_statement [6];6 assignment [7,8];7 identifier [] username;8 call [9,18];9 attribute [10,17];10 call [11,14];11 attribute [12,13];12 identifier [] __opts__;13 identifier [] get;14 argument_lis...
Get an auth token
0 module [1];1 function_definition [2,3,11];2 function_name [] _cached_request;3 parameters [4,5,6,7,8,9];4 identifier [] self;5 identifier [] base_url;6 identifier [] client_id;7 identifier [] client_secret;8 identifier [] parameters;9 dictionary_splat_pattern [10];10 identifier [] kwargs;11 block [12,26,38,83,96];12 ...
Cache the token request and use cached responses if available
0 module [1];1 function_definition [2,3,5];2 function_name [] generate_token;3 parameters [4];4 identifier [] self;5 block [6,14,20];6 expression_statement [7];7 assignment [8,9];8 identifier [] response;9 call [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] _make_request;13 argument_list [];14 expr...
Make request in API to generate a token.
0 module [1];1 function_definition [2,3,10];2 function_name [] ext_pillar;3 parameters [4,5,6,7];4 identifier [] minion_id;5 identifier [] pillar;6 identifier [] conf;7 default_parameter [8,9];8 identifier [] nesting_key;9 None [];10 block [11,19,34,48,52,140,150];11 expression_statement [12];12 assignment [13,14];13 i...
Get pillar data from Vault for the configuration ``conf``.
0 module [1];1 function_definition [2,3,5];2 function_name [] pre_init_process;3 parameters [4];4 identifier [] self;5 block [6,14,55,71];6 expression_statement [7];7 call [8,13];8 attribute [9,12];9 attribute [10,11];10 identifier [] db;11 identifier [] connections;12 identifier [] close_all;13 argument_list [];14 exp...
will be executed after process fork
0 module [1];1 function_definition [2,3,9];2 function_name [] _wait_execute;3 parameters [4,5,6,7,8];4 identifier [] self;5 identifier [] address;6 identifier [] command;7 identifier [] args;8 identifier [] kw;9 block [10,21];10 expression_statement [11];11 assignment [12,13];12 identifier [] conn;13 await [14];14 call...
Acquire connection and execute command.
0 module [1];1 function_definition [2,3,6];2 function_name [] _attr_display;3 parameters [4,5];4 identifier [] value;5 identifier [] html_element;6 block [7];7 if_statement [8,11,20,33];8 comparison_operator [9,10] ==;9 identifier [] value;10 string [] block;11 block [12];12 expression_statement [13];13 assignment [14,...
Set the display value
0 module [1];1 function_definition [2,3,7];2 function_name [] write_file;3 parameters [4,5,6];4 identifier [] self;5 identifier [] target_path;6 identifier [] html;7 block [8,23];8 expression_statement [9];9 call [10,13];10 attribute [11,12];11 identifier [] logger;12 identifier [] debug;13 argument_list [14];14 call [...
Writes out the provided HTML to the provided path.
0 module [1];1 function_definition [2,3,5];2 function_name [] getApplications;3 parameters [4];4 identifier [] self;5 block [6,10,43];6 expression_statement [7];7 assignment [8,9];8 identifier [] res;9 list [] [];10 for_statement [11,12,15];11 identifier [] f;12 attribute [13,14];13 identifier [] self;14 identifier [] ...
Return a list of Application with the specified apps in this system.
0 module [1];1 function_definition [2,3,6];2 function_name [] byPromissor;3 parameters [4,5];4 identifier [] self;5 identifier [] ID;6 block [7,11,31];7 expression_statement [8];8 assignment [9,10];9 identifier [] res;10 list [] [];11 for_statement [12,13,16];12 identifier [] direction;13 attribute [14,15];14 identifie...
Returns all directions to a promissor.
0 module [1];1 function_definition [2,3,6];2 function_name [] OnExitSelectionMode;3 parameters [4,5];4 identifier [] self;5 identifier [] event;6 block [7,15,24];7 expression_statement [8];8 assignment [9,14];9 attribute [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] grid;13 identifier [] sel_mode_...
Event handler for leaving selection mode, enables cell edits
0 module [1];1 function_definition [2,3,8];2 function_name [] render_as_text;3 parameters [4,5];4 identifier [] self;5 default_parameter [6,7];6 identifier [] limit;7 None [];8 block [9,31];9 expression_statement [10];10 assignment [11,12];11 identifier [] lines;12 call [13,16];13 attribute [14,15];14 identifier [] tra...
Return a string with the traceback.
0 module [1];1 function_definition [2,3,5];2 function_name [] on_shutdown;3 parameters [4];4 identifier [] self;5 block [6,13,19];6 expression_statement [7];7 await [8];8 call [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] _unregister_subscriptions;12 argument_list [];13 expression_statement [14];14 ...
Cleans up any outstanding subscriptions.
0 module [1];1 function_definition [2,3,8];2 function_name [] __doQuery;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] query;6 identifier [] format;7 identifier [] convert;8 block [9,16,25,54];9 expression_statement [10];10 call [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] __getForma...
Inner method that does the actual query
0 module [1];1 function_definition [2,3,4];2 function_name [] gnupg_home;3 parameters [];4 block [5];5 if_statement [6,11,40];6 comparison_operator [7,8] in;7 string [] GNUPGHOME;8 attribute [9,10];9 identifier [] os;10 identifier [] environ;11 block [12,20,36];12 expression_statement [13];13 assignment [14,15];14 iden...
Returns appropriate arguments if GNUPGHOME is set
0 module [1];1 function_definition [2,3,5];2 function_name [] parse_devices;3 parameters [4];4 identifier [] self;5 block [6,10,34];6 expression_statement [7];7 assignment [8,9];8 identifier [] devices;9 list [] [];10 for_statement [11,12,17];11 identifier [] device;12 subscript [13,16];13 attribute [14,15];14 identifi...
Creates an array of Device objects from the channel
0 module [1];1 function_definition [2,3,7];2 function_name [] defadj;3 parameters [4,5,6];4 identifier [] self;5 identifier [] singular;6 identifier [] plural;7 block [8,15,22,33];8 expression_statement [9];9 call [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] checkpat;13 argument_list [14];14 iden...
Set the adjective plural of singular to plural.
0 module [1];1 function_definition [2,3,32];2 function_name [] pycbc_compile_function;3 parameters [4,5,6,7,8,9,12,15,18,21,24,27,30];4 identifier [] code;5 identifier [] arg_names;6 identifier [] local_dict;7 identifier [] global_dict;8 identifier [] module_dir;9 default_parameter [10,11];10 identifier [] compiler;11 ...
Dummy wrapper around scipy weave compile to implement file locking
0 module [1];1 function_definition [2,3,8,16];2 function_name [] compute_gas_limit_bounds;3 parameters [4];4 typed_parameter [5,6];5 identifier [] parent;6 type [7];7 identifier [] BlockHeader;8 type [9];9 generic_type [10,11];10 identifier [] Tuple;11 type_parameter [12,14];12 type [13];13 identifier [] int;14 type [1...
Compute the boundaries for the block gas limit based on the parent block.
0 module [1];1 function_definition [2,3,6];2 function_name [] delete;3 parameters [4,5];4 identifier [] self;5 identifier [] tweet_id;6 block [7,17,42,56,70,88,106,115,123];7 expression_statement [8];8 assignment [9,10];9 identifier [] c;10 call [11,16];11 attribute [12,15];12 attribute [13,14];13 identifier [] self;14...
Deletes a tweet from the list with the given id
0 module [1];1 function_definition [2,3,8];2 function_name [] print_step_table;3 parameters [4,5];4 identifier [] self;5 default_parameter [6,7];6 identifier [] dataset_number;7 None [];8 block [9,18,30,40];9 expression_statement [10];10 assignment [11,12];11 identifier [] dataset_number;12 call [13,16];13 attribute [1...
Print the step table.
0 module [1];1 function_definition [2,3,12];2 function_name [] recommend_for_record;3 parameters [4,5,6,9];4 identifier [] self;5 identifier [] record_id;6 default_parameter [7,8];7 identifier [] depth;8 integer [] 4;9 default_parameter [10,11];10 identifier [] num_reco;11 integer [] 10;12 block [13,25];13 expression_s...
Calculate recommendations for record.
0 module [1];1 function_definition [2,3,5];2 function_name [] _create_user;3 parameters [4];4 identifier [] ctx;5 block [6,29,54,82,88,94];6 expression_statement [7];7 assignment [8,11];8 pattern_list [9,10];9 identifier [] username;10 identifier [] passhash;11 call [12,13];12 identifier [] _get_credentials;13 argument...
Internal method to create a normal user
0 module [1];1 function_definition [2,3,9];2 function_name [] _q;3 parameters [4,5,6];4 identifier [] self;5 identifier [] number;6 default_parameter [7,8];7 identifier [] precision;8 string [] .00001;9 block [10];10 if_statement [11,17,22];11 call [12,15];12 attribute [13,14];13 identifier [] np;14 identifier [] isinf...
quantiztion of BSSEval values
0 module [1];1 function_definition [2,3,6];2 function_name [] default_freq;3 parameters [4];4 dictionary_splat_pattern [5];5 identifier [] indexer;6 block [7,11,50];7 expression_statement [8];8 assignment [9,10];9 identifier [] freq;10 string [] AS-JAN;11 if_statement [12,13];12 identifier [] indexer;13 block [14,27];1...
Return the default frequency.
0 module [1];1 function_definition [2,3,8];2 function_name [] build_from_bases;3 parameters [4,5,6,7];4 identifier [] bases;5 identifier [] classdict;6 identifier [] attr;7 identifier [] attr_dict;8 block [9,15,21,25,90,128,144,151];9 expression_statement [10];10 assignment [11,12];11 identifier [] output;12 call [13,1...
Helper function to build private HasProperties attributes
0 module [1];1 function_definition [2,3,5];2 function_name [] _remove_network;3 parameters [4];4 identifier [] network;5 block [6,24,28,114,130,187];6 expression_statement [7];7 assignment [8,9];8 identifier [] ret;9 dictionary [10,15,18,21];10 pair [11,12];11 string [] name;12 subscript [13,14];13 identifier [] networ...
Remove network, including all connected containers
0 module [1];1 function_definition [2,3,5];2 function_name [] run;3 parameters [4];4 identifier [] self;5 block [6,13,41,69,82,90,123,153];6 expression_statement [7];7 call [8,11];8 attribute [9,10];9 identifier [] self;10 identifier [] print_message;11 argument_list [12];12 string [] \nBeginning database replacement p...
Replace a database with the data from the specified source.
0 module [1];1 function_definition [2,3,7];2 function_name [] ProcessRequest;3 parameters [4,5,6];4 identifier [] self;5 identifier [] method_config;6 identifier [] request;7 block [8,27];8 if_statement [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] log_request;12 block [13];13 expression_statement [...
Hook for pre-processing of requests.
0 module [1];1 function_definition [2,3,5];2 function_name [] delete;3 parameters [4];4 identifier [] self;5 block [6,14];6 expression_statement [7];7 call [8,13];8 attribute [9,12];9 call [10,11];10 identifier [] super;11 argument_list [];12 identifier [] delete;13 argument_list [];14 expression_statement [15];15 call...
Remove myself from the world model immediately.
0 module [1];1 function_definition [2,3,5];2 function_name [] loads;3 parameters [4];4 identifier [] string;5 block [6,13];6 expression_statement [7];7 assignment [8,9];8 identifier [] d;9 call [10,11];10 identifier [] _loads;11 argument_list [12];12 identifier [] string;13 for_statement [14,17,22];14 pattern_list [15,...
Loads the filters dictionary given a string.
0 module [1];1 function_definition [2,3,6];2 function_name [] _setbin_safe;3 parameters [4,5];4 identifier [] self;5 identifier [] binstring;6 block [7,14,24];7 expression_statement [8];8 assignment [9,10];9 identifier [] binstring;10 call [11,12];11 identifier [] tidy_input_string;12 argument_list [13];13 identifier [...
Reset the bitstring to the value given in binstring.
0 module [1];1 function_definition [2,3,6];2 function_name [] traverse_until_fixpoint;3 parameters [4,5];4 identifier [] predicate;5 identifier [] tree;6 block [7,11,18,51];7 expression_statement [8];8 assignment [9,10];9 identifier [] old_tree;10 None [];11 expression_statement [12];12 assignment [13,14];13 identifier...
Traverses the tree again and again until it is not modified.
0 module [1];1 function_definition [2,3,7];2 function_name [] same_content;3 parameters [4,5,6];4 identifier [] ref_source;5 identifier [] test_source;6 identifier [] allow_removed_final_blank_line;7 block [8,15,21,29,37,43,55];8 if_statement [9,12];9 comparison_operator [10,11] ==;10 identifier [] ref_source;11 identi...
Is the content of two cells the same, except for an optional final blank line?
0 module [1];1 function_definition [2,3,7];2 function_name [] search_meta_tag;3 parameters [4,5,6];4 identifier [] html_doc;5 identifier [] prefix;6 identifier [] code;7 block [8,18,36,45,80];8 expression_statement [9];9 assignment [10,11];10 identifier [] regex;11 call [12,15];12 attribute [13,14];13 string [] <meta\s...
Checks whether the html_doc contains a meta matching the prefix & code
0 module [1];1 function_definition [2,3,5];2 function_name [] comments;3 parameters [4];4 identifier [] case_id;5 block [6,14,25,36,47,63];6 expression_statement [7];7 assignment [8,9];8 identifier [] text;9 subscript [10,13];10 attribute [11,12];11 identifier [] request;12 identifier [] form;13 string [] text;14 expre...
Upload a new comment.
0 module [1];1 function_definition [2,3,7];2 function_name [] open;3 parameters [4,5];4 identifier [] cls;5 dictionary_splat_pattern [6];6 identifier [] kwargs;7 block [8,18,40,56,62,68];8 expression_statement [9];9 assignment [10,11];10 identifier [] handle_iter;11 call [12,15];12 attribute [13,14];13 identifier [] cl...
See iter_open, but raises if multiple or no matches found.
0 module [1];1 function_definition [2,3,6];2 function_name [] send;3 parameters [4,5];4 identifier [] self;5 identifier [] message;6 block [7,24,42];7 if_statement [8,22];8 boolean_operator [9,16] or;9 boolean_operator [10,12] or;10 not_operator [11];11 identifier [] message;12 not_operator [13];13 attribute [14,15];14...
Write a message to the gateway.
0 module [1];1 function_definition [2,3,9];2 function_name [] _draw_error_underline;3 parameters [4,5,6,7,8];4 identifier [] self;5 identifier [] ptx;6 identifier [] pango_layout;7 identifier [] start;8 identifier [] stop;9 block [10,18,29,37,50,54,161,174];10 expression_statement [11];11 call [12,17];12 attribute [13,...
Draws an error underline
0 module [1];1 function_definition [2,3,7];2 function_name [] getstr_data;3 parameters [4,5,6];4 identifier [] self;5 identifier [] name;6 identifier [] vals;7 block [8,18];8 expression_statement [9];9 assignment [10,11];10 identifier [] fld2val;11 call [12,15];12 attribute [13,14];13 identifier [] self;14 identifier [...
Return stats data string in markdown style.
0 module [1];1 function_definition [2,3,6];2 function_name [] _get_argument;3 parameters [4,5];4 identifier [] self;5 identifier [] argument_node;6 block [7,13,31,49,65,79];7 expression_statement [8];8 assignment [9,10];9 identifier [] argument;10 call [11,12];11 identifier [] FritzActionArgument;12 argument_list [];13...
Returns a FritzActionArgument instance for the given argument_node.
0 module [1];1 function_definition [2,3,6];2 function_name [] kwargs_as_assignments;3 parameters [4,5];4 identifier [] call_node;5 identifier [] parent;6 block [7,22,37];7 if_statement [8,16];8 not_operator [9];9 call [10,11];10 identifier [] isinstance;11 argument_list [12,13];12 identifier [] call_node;13 attribute [...
Yield NoDeclAssign nodes from kwargs in a Call node.
0 module [1];1 function_definition [2,3,5];2 function_name [] getResetsIndices;3 parameters [4];4 identifier [] networkDataFile;5 block [6];6 try_statement [7,84];7 block [8];8 with_statement [9,18];9 with_clause [10];10 with_item [11];11 as_pattern [12,16];12 call [13,14];13 identifier [] open;14 argument_list [15];15...
Returns the indices at which the data sequences reset.
0 module [1];1 function_definition [2,3,14];2 function_name [] push;3 parameters [4,5,8,11];4 identifier [] self;5 default_parameter [6,7];6 identifier [] metric_name;7 None [];8 default_parameter [9,10];9 identifier [] metric_value;10 None [];11 default_parameter [12,13];12 identifier [] volume;13 None [];14 block [15...
Ship that shit off to graphite broski
0 module [1];1 function_definition [2,3,6];2 function_name [] bySignificator;3 parameters [4,5];4 identifier [] self;5 identifier [] ID;6 block [7,11,31];7 expression_statement [8];8 assignment [9,10];9 identifier [] res;10 list [] [];11 for_statement [12,13,16];12 identifier [] direction;13 attribute [14,15];14 identi...
Returns all directions to a significator.