-
Notifications
You must be signed in to change notification settings - Fork 48
/
data_ps.declarations.valid
2000 lines (2000 loc) · 99 KB
/
data_ps.declarations.valid
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
def _block2d_to_blocknd(values, placement, shape, labels, ref_items):
def create_cow_image(backing_file, path, size=None):
def reload_config():
def encode_morse(msg, sep='|', mapping=None):
def test_boolean_field_choices_with_real_model_instances():
def p_constant_expression(t):
def nsmallest(arr, n, keep='first'):
def consolidate_hashes(partition_dir):
def get_BAIDUID():
def cg_has_volumes_filter(attached_or_with_snapshots=False):
def url_is_from_spider(url, spider):
def dup_spherical_bessel_fn_minus(n, K):
def _toggle_proj(event, params):
def restore_ring(output, coord, width, dense_input, start_idx):
def negate_real(builder, val):
def smoothness_p(n, m=(-1), power=0, visual=None):
def download_zlib(dest_dir, version):
def build_auxiliary_node_connectivity(G):
def get_mem_info_linux():
def get_service(hass, config, discovery_info=None):
def reverse_course_url(handler_name, course_key, kwargs=None):
def _mask_to_limits(a, limits, inclusive):
def _split_digest_auth(data):
def getPathByKey(key, xmlElement):
def check_named(option, opt, value):
def connections_support_transactions():
@pytest.fixture(autouse=True) DCNL def _annotate_environment(request):
def escape_sql_like_special_characters(term, escape='\\'):
def strip_version(idstr):
@lru_cache(maxsize=1024) DCNL def extract_real_url_from_embedded_url(embedded_url):
def fetch_20newsgroups(data_home=None, subset='train', categories=None, shuffle=True, random_state=42, remove=(), download_if_missing=True):
def get_body_region(defined):
def open_tasks_for_project():
def get_node_host(name, region=None, key=None, keyid=None, profile=None):
def __virtual__():
def _enum_to_int(value):
def winsorize(a, limits=None, inclusive=(True, True), inplace=False, axis=None):
def maybe_add_auth(url, auth, force=False):
def date_range(start=None, end=None, periods=None, freq='D', tz=None, normalize=False, name=None, closed=None, **kwargs):
def p_external_declaration_2(t):
def update_cached_instance(sender, instance, **kwargs):
def capfirst(value):
def blank_lines(logical_line, blank_lines, indent_level, line_number, previous_logical):
def setup_scanner(hass, config, see):
def is_monotonic(Z):
def _create_trigger(trigger_type):
def sdm_LC(f, K):
def compile_file(fullname, ddir=None, force=0, rx=None, quiet=0):
def hrm_human_resource_controller(extra_filter=None):
def getLoopsWithCorners(corners, importRadius, loops, pointTable):
def validate(obj, obj_type):
@retry(exception=(EnvironmentError, AssertionError), logfun=None, timeout=GLOBAL_TIMEOUT, interval=0.001) DCNL def wait_for_file(fname, delete_file=True, empty=False):
def py_encode_basestring_ascii(s):
def load(f, persistent_load=PersistentNdarrayLoad):
def linear_transform_weights(input_dim, output_dim, param_list=None, name=''):
def bfs_beam_edges(G, source, value, width=None):
def repeat(sequence):
def dump_and_add_to_dump(object_, file_, parameters=None, to_add=None, use_cpickle=False, protocol=DEFAULT_PROTOCOL, **kwargs):
def write_file(filename, contents):
def _tgrep_nltk_tree_pos_action(_s, _l, tokens):
def filter_factory(global_conf, **local_conf):
def createBrushMask(shape, style='Round', offset=(0, 0, 0), box=None, chance=100, hollow=False):
def get_ordered_categories():
def getCraftedTextFromText(gcodeText, towerRepository=None):
@handle_response_format DCNL @treeio_login_required DCNL def service_add(request, response_format='html'):
def nlargest(n, iterable, key=None):
def active(display_progress=False):
def openshift_deploy_canceller(registry, xml_parent, data):
@with_open_mode('r') DCNL @with_sizes('medium') DCNL def seek_forward_blockwise(f):
@register.filter DCNL @stringfilter DCNL def cut(value, arg):
def format_source_url(url):
def string_escape(text):
def _list_files(path, suffix=''):
def parse(handle, **kwargs):
@datastore_rpc._positional(1) DCNL def inject_results(query, updated_entities=None, deleted_keys=None):
def encoded_hash(sha):
def cos(x):
def getRadiusAverage(radiusComplex):
def test_lambda(n):
def simplefilter(f):
def returner(ret):
def decode_byte_list(byte_list):
def organization_purge(context, data_dict):
def tests_get_by_job_idx(job_idx):
def mod_aggregate(low, chunks, running):
def xsym(sym):
def require(divisions, parts, required=None):
def separate_users(node, user_ids):
def hash_of_file(path):
@protocol.commands.add(u'rescan') DCNL def rescan(context, uri=None):
def test_record_good():
def docker_custom_build_env(registry, xml_parent, data):
def _SecToUsec(t):
def auth(username, password, **kwargs):
def MapItemsIterator(function, items):
def _revs_equal(rev1, rev2, rev_type):
def check_virtualserver(lb, name):
def cpu_freq():
def add_permission(user, model, permission_codename):
def git(registry, xml_parent, data):
def preserve_value(namespace, name):
def to_marshallable_type(obj):
def random_shift(x, wrg, hrg, row_axis=1, col_axis=2, channel_axis=0, fill_mode='nearest', cval=0.0):
def build_repository_type_select_field(trans, repository=None, name='repository_type'):
def dict_factory(cursor, row):
@cinder_utils.trace_method DCNL @cinder_utils.synchronized('map_es_volume') DCNL def map_volume_to_single_host(client, volume, eseries_vol, host, vol_map, multiattach_enabled):
def get_dependencies():
def save_sent_email(crispin_client, account_id, message_id):
def polygamma(n, x):
def safe_minidom_parse_string(xml_string):
def add_indep(x, varnames, dtype=None):
def prompt_n(msg, inputs):
def run(app=None, server='wsgiref', host='127.0.0.1', port=8080, interval=1, reloader=False, quiet=False, plugins=None, debug=None, config=None, **kargs):
def _check_for_exception_catch(evaluator, jedi_obj, exception, payload=None):
def dent(individual, lambda_=0.85):
def hours(h):
def test_retry_on_normal_error(collect):
def createFactoryCopy(state):
def clone(git_path, module, repo, dest, remote, depth, version, bare, reference, refspec, verify_commit):
def send_email(subject=None, recipients=[], html=''):
def load_pandas():
def schedule_delayed_delete_from_backend(context, image_id, location):
def cache_page(*args, **kwargs):
def _warn_node(self, msg, node, *args, **kwargs):
def to_string(ip):
def setup_masquerade(request, course_key, staff_access=False, reset_masquerade_data=False):
def init_widgets():
def get_client(env):
def is_internal_attribute(obj, attr):
def all_pairs_shortest_path(G, cutoff=None):
def get_type_hints(obj, globalns=None, localns=None):
def _section_certificates(course):
def ms_payload(payload):
def extract(path, to_path=''):
def parse_field_path(field_path):
def stub_set_host_enabled(context, host_name, enabled):
def secgroup_create(name, description, profile=None):
@nottest DCNL def _get_tests(fname, selector=None, nose_params=NOSE_COLLECT_PARAMS):
@check_feature_enabled(feature_name='ENTRANCE_EXAMS') DCNL def create_entrance_exam(request, course_key, entrance_exam_minimum_score_pct):
def request_authenticate(request, username, password):
def siva(x, y):
def servicegroup_add(sg_name, sg_type='HTTP', **connection_args):
def _is_ipv4_like(s):
def parsehttpdate(string_):
def unsafe_eval_enabled(response):
def _to_micropennies_per_op(pennies, per):
def find_xpath_with_wait(context, id_str, **kwargs):
def subscribe(hass, callback):
def _current_component(view_func, dashboard=None, panel=None):
def modify_profile(hostname, username, password, profile_type, name, **kwargs):
def is_string_secure(string):
def _try_all(image, methods=None, figsize=None, num_cols=2, verbose=True):
def size(N):
def _media_path_url_from_info(root_desc, path_url):
def test_json():
def convertFsDirWavToWav(dirName, Fs, nC):
def parse_as_json(lines):
def _read_signify_ed25519_signature(signature_file):
def glob_escape(input_string):
def get_info(process=None, interval=0, with_childs=False):
def delete_blob(bucket_name, blob_name):
@must_be_valid_project DCNL @must_be_contributor_or_public DCNL @must_not_be_registration DCNL def togglewatch_post(auth, node, **kwargs):
def formatstring(cols, colwidth=_colwidth, spacing=_spacing):
def import_library(taglib_module):
def fdr_correction(pvals, alpha=0.05, method='indep'):
def p_namespace_scope(p):
def waist2rayleigh(w, wavelen):
def count_sprintf_parameters(string):
def GetBatchJob(client, batch_job_id):
def reverse_url(handler_name, key_name=None, key_value=None, kwargs=None):
def isInIOThread():
def scan_postfix_cleanup_line(date, _, collector):
def test_different_caller():
def fuse_getitem(dsk, func, place):
def find_dataset_changes(uuid, current_state, desired_state):
def test_all_fields(script):
def neg_sampling(W_list, b_list, nsamples, beta=1.0, pa_bias=None, marginalize_odd=True, theano_rng=None):
def roundrobin(iterables):
def _pipeline_present_with_definition(name, expected_pipeline_objects, expected_parameter_objects, expected_parameter_values, region, key, keyid, profile):
@require_admin_context DCNL def instance_type_access_add(context, flavor_id, project_id):
def parse_inlinefunc(string, strip=False, **kwargs):
def _log(msg, facility, loglevel):
def update_single(f, new):
def p_expression_uminus(p):
def convert_case(s):
def normal(state, text, i, formats, user_data):
def istraceback(object):
def list_of_array_equal(s, t):
def merge_ownership_periods(mappings):
def _key_split(matchobj):
@require_POST DCNL def post_receive_hook_close_submitted(request, local_site_name=None, repository_id=None, hosting_service_id=None, hooks_uuid=None):
@require_context DCNL def group_types_get_by_name_or_id(context, group_type_list):
def setup_logging(args):
def mixing_dict(xy, normalized=False):
def move_by_taskmap(map, **kwargs):
def gen_preprocess_options(macros, include_dirs):
def convert_time_to_utc(timestr):
def share_db():
def comparison_type(logical_line, noqa):
def create_patch_ports(source, destination):
@image_comparison(baseline_images=[u'colorbar_extensions_uniform', u'colorbar_extensions_proportional'], extensions=[u'png']) DCNL def test_colorbar_extension_length():
def vpn_ping(address, port, timeout=0.05, session_id=None):
def get_documentation():
def httpdate(date_obj):
def cmServiceRequest(PriorityLevel_presence=0):
def get_ring():
def skill_type():
def running(ctid_or_name):
def get_int(int_str, default=_no_default):
def is_color_like(c):
def getEvaluatorSplitWords(value):
@dispatch(object) DCNL def shape(expr):
def sample(prediction):
def systemd_result_parser(command):
def _get_lut():
def page_not_found(request, template_name='404.html'):
def test_show_verbose_installer(script, data):
def rsolve_poly(coeffs, f, n, **hints):
def base64_encodestring(instr):
def cmd_map(args):
def get_disable_keyboard_on_lock():
def course_detail(request, username, course_key):
def extended_linecache_checkcache(filename=None, orig_checkcache=linecache.checkcache):
def convertSP(pySp, newSeed):
def pop(queue, quantity=1):
def add_resource_manager_extra_kwargs_hook(f, hook):
def test_barn_prefixes():
@treeio_login_required DCNL def ajax_location_lookup(request, response_format='html'):
def ping(host=None, port=None, db=None, password=None):
def create_resource():
def do_cli(manager, options):
@catch_error('queue DCSP the DCSP specified DCSP image DCSP for DCSP caching') DCNL def queue_image(options, args):
def __virtual__():
def hex_digest(x):
def starts_with(text, substring):
def minimum(image, selem, out=None, mask=None, shift_x=False, shift_y=False):
def entropy_of_byte(packets, position):
def hrm_competency_list_layout(list_id, item_id, resource, rfields, record):
@pytest.fixture(scope='session') DCNL def stubs():
def get_repository_file_contents(app, file_path, repository_id, is_admin=False):
def read_stored_checksum(target, timestamped=True):
def _enable_libraries(libraries):
@util.positional(2) DCNL def new_webhook_channel(url, token=None, expiration=None, params=None):
def main():
def showroom_get_roomid_by_room_url_key(room_url_key):
def deserialize(collection, topological=True):
def get_rules():
def group_membership():
def mu_law_encode(audio, quantization_channels):
def location_to_query(location, wildcard=True, tag='i4x'):
def _dict_to_list_ids(objects):
def profile_get(user, default_hidden=True):
def avail_locations(call=None):
def size(key, shape):
def format_html(format_string, *args, **kwargs):
def chfullname(name, fullname):
@export_as_api DCNL def update_universe(id_or_symbols):
def get_deleted_objects(objs, opts, user, admin_site, using):
def _interpolate_bads_eeg(inst):
def beacons(opts, functions, context=None):
def find_vpc(module, vpc_conn, vpc_id=None, cidr=None):
@attr('root') DCNL def onlyroot(meth):
def alter_db(name, character_set=None, collate=None, **connection_args):
def extract_javascript_msgids(source):
def filter_on_wire_representation(ava, acs, required=None, optional=None):
def server_cert_absent(name, region=None, key=None, keyid=None, profile=None):
def generate_timestamp():
def _initial_nodes_a(n, k):
def _handle_zeros_in_scale(scale, copy=True):
def _incs_list_to_string(incs):
def _dnsmasq_pid_for(dev):
def ipNum(w, x, y, z):
def create_figure():
def getOnePayload(results):
@register.tag DCNL def url(parser, token):
def make_instance(klass, spec, base64encode=False):
def get_CC_operators():
def _ValidateSourcesForMSVSProject(spec, version):
def setup(hass, config):
def moment(a, moment=1, axis=0, nan_policy='propagate'):
def create(vm_):
def get_mem_info():
def get_resource_ignore_params(params):
def test_array___subclasshook__():
def get_nominal(attribute):
def derivation(p, DE, coefficientD=False, basic=False):
def clear_caches():
def get_issue(issue_number, repo_name=None, profile='github', output='min'):
def difference(G, H):
def check_uri_syntax(uri, host=None):
def get_course_info_section_module(request, user, course, section_key):
def force_release(hosts_to_release, username=None):
def benchmark():
@intercept_errors(UserAPIInternalError, ignore_errors=[UserAPIRequestError]) DCNL def delete_user_preference(requesting_user, preference_key, username=None):
def delete_disk(kwargs=None, conn=None, call=None):
def failing_job():
def mkXRDTag(t):
def mkfs(device, fs_type, **kwargs):
def _enqueue(revent):
def nanmax(a, axis=None, out=None, keepdims=False):
def pager(text):
def get_browse_partitioned_table_limit():
def shorten_paths(path_list, is_unsaved):
def dnslib_record2iplist(record):
def install_setuptools(python_cmd='python', use_sudo=True):
def collect_error_snapshots():
def patch_tpool_proxy():
def auto_reconnect_connection(func):
def _getExcelCellName(col, row):
def target_info_from_filename(filename):
def warn(msg):
def same_file(a, b):
def client_generator(port=5557, host='localhost', hwm=20):
def dmp_mul_ground(f, c, u, K):
def build_title(title_dict, canonical=None, canonicalSeries=None, canonicalEpisode=None, ptdf=0, lang=None, _doYear=1, _emptyString=u'', appendKind=True):
def BoundedSemaphore(value=1):
def no_such_executable_logged(case, logger):
def substitute_bindings(fstruct, bindings, fs_class=u'default'):
def createModel(modelParams):
def make_pidlockfile_scenarios():
def getBevelPath(begin, center, close, end, radius):
def test_dont_break_imports_without_namespaces():
def _make_req(node, part, method, path, _headers, stype, conn_timeout=5, response_timeout=15):
def build_model(vectors, shape, settings):
def main():
def parse_alpha(args):
def _statsmodels_univariate_kde(data, kernel, bw, gridsize, cut, clip, cumulative=False):
def version(parser, token):
@xmlrpc_func(returns='string', args=['string', 'string', 'string', 'struct', 'boolean']) DCNL def new_post(blog_id, username, password, post, publish):
def checkCrash(player, upperPipes, lowerPipes):
def unpickle(fname):
def __virtual__():
def _write_with_fallback(s, write, fileobj):
def check_existing(package, pkg_files, formula_def, conn=None):
def test_give_classifier_obj():
@core_helper DCNL def nav_link(text, *args, **kwargs):
def role_list():
def claim_build(registry, xml_parent, data):
@register.simple_tag(takes_context=True) DCNL def locale_js_include(context):
def _raise_document_too_large(operation, doc_size, max_size):
def create_model(session, forward_only):
def setup_platform(hass, config, add_devices, discovery_info=None):
def create_credential_resolver(session):
@cli.command() DCNL def edit():
def test_randomize_corrmat_dist():
def to_str_py27(value):
def _nonlinear_3eq_order1_type5(x, y, t, eq):
def folders_at_path(path, include_parent=False, show_hidden=False):
def getGaleraFile():
def test_pick_bio():
def get_func_full_args(func):
def opening_tag(cdata_tags, state, text, i, formats, user_data):
@evalcontextfilter DCNL def do_replace(eval_ctx, s, old, new, count=None):
def html_unquote(s, encoding=None):
@check_is_trading DCNL @export_as_api DCNL @ExecutionContext.enforce_phase(EXECUTION_PHASE.HANDLE_BAR, EXECUTION_PHASE.SCHEDULED) DCNL def order_lots(id_or_ins, amount, style=None):
def test_basic_auth():
def build_flow_dict(G, R):
def detach_principal_policy(policyName, principal, region=None, key=None, keyid=None, profile=None):
def disabled(name):
def setup(hass, config):
def getfullargspec(func):
def group_create(context, data_dict):
def find_and_create_file_from_metadata(children, source, destination, destination_node, obj):
def generate_gantt_chart(logfile, cores, minute_scale=10, space_between_minutes=50, colors=[u'#7070FF', u'#4E4EB2', u'#2D2D66', u'#9B9BFF']):
def check_page_faults(con, host, port, warning, critical, perf_data):
def collect_emojis():
def abstract(cls):
@pytest.fixture(autouse=True) DCNL def mock_inline_css(monkeypatch):
def assert_json_response(response, status_code, body, headers=None, body_cmp=operator.eq):
def wait_for_volume_status(client, volume_id, status):
def between(expr, lower_bound, upper_bound, symmetric=False):
def new_figure_manager(num, *args, **kwargs):
def _abstractPath(case):
def set_review_unavailable(apps, schema_editor):
@dispatch(Expr, Mapping) DCNL def compute(expr, d, return_type=no_default, **kwargs):
def replace(old_value, new_value, full_match=False):
@verbose DCNL def read_epochs(fname, proj=True, preload=True, verbose=None):
def resource_create(context, data_dict):
@not_implemented_for('directed') DCNL @not_implemented_for('multigraph') DCNL def cycle_basis(G, root=None):
def computeEncryptionKey(password, dictOwnerPass, dictUserPass, dictOE, dictUE, fileID, pElement, dictKeyLength=128, revision=3, encryptMetadata=False, passwordType=None):
def redirect(uri, permanent=False, abort=False, code=None, body=None, request=None, response=None):
def _handleDescriptionFromFileOption(filename, outDir, usageStr, hsVersion, claDescriptionTemplateFile):
def get_create_test_view_sql():
def lv_check(vg_name, lv_name):
def raw_cron(user):
def create_logger(app):
def _parse_relators(rels):
def get_future_timestamp(idx, timestamps):
def get_pull_request(project, num, auth=False):
def shebang_matches(text, regex):
@cython.test_fail_if_path_exists('//ForInStatNode') DCNL def for_in_empty():
def theq(a, b):
def PrintUsageExit(code):
def shutdown(opts):
def process_mistral_config(config_path):
def upgrade_config(config, config_path=os.path.expanduser('~/.jrnl_conf')):
def get_klass_info(klass, max_depth=0, cur_depth=0, requested=None, only_load=None, from_parent=None):
def _install(quidditch, retries=5):
def _reorder_unifrac_res(unifrac_res, sample_names_in_desired_order):
def organisation():
def download_youtube_subs(youtube_id, video_descriptor, settings):
def _collapse_address_list_recursive(addresses):
def add_handlers(handler_list, subparsers):
def splitline(text):
def prism():
def _machinectl(cmd, output_loglevel='debug', ignore_retcode=False, use_vt=False):
def scott_bin_width(data, return_bins=False):
def _quoteattr(data, entities={}):
def default_key_func(key, key_prefix, version):
def get_host_numa_usage_from_instance(host, instance, free=False, never_serialize_result=False):
@protocol.commands.add(u'pause', state=protocol.BOOL) DCNL def pause(context, state=None):
def send_message(to, text, sender=None):
def validate(filename):
def __get_hosts_filename():
def collect_bears(bear_dirs, bear_globs, kinds, log_printer, warn_if_unused_glob=True):
def _format_content(password, salt, encrypt=True):
def _prep_stats_dict(values):
def metric_init(params):
def arcball_nearest_axis(point, axes):
def regions():
def contains_nan(arr, node=None, var=None):
def strip_html_tags(text):
def runtests(args=None):
def wait_for_free_port(host, port, timeout=None):
def _get_service_result_parser(run=utils.run):
def update(context, qos_specs_id, specs):
def handle_extensions(extensions=('html',), ignored=('py',)):
def dtlz7(ind, n_objs):
def offset_spines(offset=10, fig=None, ax=None):
@verbose DCNL def spatio_temporal_dist_connectivity(src, n_times, dist, verbose=None):
def security_group_rule_get_by_instance(context, instance_uuid):
def get_font(section='main', option='font', font_size_delta=0):
@pytest.mark.django_db DCNL def test_save_store_fs_bad_lang(po_directory, tp0_store_fs):
def flexible_boolean(boolean):
def get_all_remote_methods(resolver=None, ns_prefix=u''):
def removeGeneratedFiles():
def print_and_modify(obj, mods, dels):
def labeled_comprehension(input, labels, index, func, out_dtype, default, pass_positions=False):
def get_file_hash(filePath):
def backup_destroy(context, backup_id):
def __determine_resource_obj(service, resource):
def t_preprocessor(t):
def _list_designs(user, querydict, page_size, prefix='', is_trashed=False):
def _get_hold(line, pattern=__HOLD_PATTERN, full=True):
def boxplot_frame_groupby(grouped, subplots=True, column=None, fontsize=None, rot=0, grid=True, ax=None, figsize=None, layout=None, **kwds):
@login_required DCNL def delete_favorite(req, id):
def set_task_user(f):
@treeio_login_required DCNL @handle_response_format DCNL def ordered_product_add(request, order_id=None, response_format='html'):
@nx.utils.open_file(5, 'w') DCNL def view_pygraphviz(G, edgelabel=None, prog='dot', args='', suffix='', path=None):
def parseString(string, namespaces=True):
def getblock(lines):
def tolist(val):
def worker_destroy(context, **filters):
def get_output_volume():
@manager_config DCNL @no_xinerama DCNL def test_last_float_size(qtile):
def create_chunks(sequence, size):
def simplefilter(action, category=Warning, lineno=0, append=0):
def dont_import_local_tempest_into_lib(logical_line, filename):
def modify(name, **kwargs):
def task_upgrade_kernel(distribution):
@app.route('/delay/<delay>') DCNL def delay_response(delay):
def is_larger(unit_1, unit_2):
def requirement_available(requirement):
def _trace_D(gj, p_i, Dxtrav):
def launch(no_flow=False, network='192.168.0.0/24', first=1, last=None, count=None, ip='192.168.0.254', router=(), dns=()):
def getparser(use_datetime=0):
def detachAcceptMsOriginating():
def protected_view(context, request):
def parse_http_load(full_load, http_methods):
def long_to_bson_ts(val):
def run(cmd, cwd=None, stdin=None, runas=None, shell=DEFAULT_SHELL, python_shell=None, env=None, clean_env=False, template=None, rstrip=True, umask=None, output_loglevel='debug', log_callback=None, timeout=None, reset_system_locale=True, ignore_retcode=False, saltenv='base', use_vt=False, bg=False, password=None, encoded_cmd=False, **kwargs):
@core_helper DCNL def resource_preview(resource, package):
def keybinding(attr):
def forwards(apps, schema_editor):
def get_current_timezone():
def _get_lights():
def saltstack(parser, xml_parent, data):
def compile_file(filepath, libraries=None, combined='bin,abi', optimize=True, extra_args=None):
def test_try_finally_regression(c):
def send_notif_for_after_purchase(user, invoice_id, order_url):
def make_letterboxed_thumbnail(image, shape):
def threshold_minimum(image, nbins=256, bias='min', max_iter=10000):
def Pluralize(count, singular='', plural='s'):
@handle_response_format DCNL @treeio_login_required DCNL def index(request, response_format='html'):
def _ssh_slave_addresses(ssh_bin, master_address, ec2_key_pair_file):
def _algorithm_2_2(A, AT, t):
def get_user_api_key():
def pad_sequences(sequences, maxlen=None, dtype='int32', padding='post', truncating='pre', value=0.0):
def trim_lex(tokens):
def overwrite_from_dates(asof, dense_dates, sparse_dates, asset_idx, value):
def item_create(item, item_id, item_type, create='create', extra_args=None, cibfile=None):
def random_reduce(circuit, gate_ids, seed=None):
def _connect_user(request, facebook, overwrite=True):
def path_separator():
def write_cron_file(user, path):
def get_img_channel(image_path):
def get_partial_date_formats():
def _string_from_json(value, _):
def generate_cert(name):
def check_mount(root, drive):
def show(config_file=False):
def _step4(state):
def hook(ui, repo, **kwargs):
def is_coroutine(function):
def decompress(fileobj, path):
def nextLine():
def _ConvertToCygpath(path):
def load_werkzeug(path):
def signature(obj):
def set_server_setting(settings, server=_DEFAULT_SERVER):
def get_ip_version(network):
def task_accepted(request, _all_total_count=all_total_count, add_active_request=active_requests.add, add_to_total_count=total_count.update):
def ustr(value, hint_encoding='utf-8', errors='strict'):
def make_secret_key(project_directory):
def deprecatedModuleAttribute(version, message, moduleName, name):
def _tgrep_rel_disjunction_action(_s, _l, tokens):
def EnumTlbs(excludeFlags=0):
def samplesize_confint_proportion(proportion, half_length, alpha=0.05, method='normal'):
def test_resample():
@treeio_login_required DCNL def account_view(request, response_format='html'):
def _is_resumable(exc):
def get_pointer(ctypes_func):
def _invalidWin32App(pywinerr):
def _generate_meta():
def assert_array_list_equal(xlist, ylist, err_msg='', verbose=True):
def test_system_numerics_complex():
def _get_output_filename(dataset_dir, split_name):
@auth.route('/reset-password', methods=['GET', 'POST']) DCNL def forgot_password():
def request_elements(*args, **kwargs):
def lambdify(leaves, expr):
def test_escape_decode():
def CheckForFunctionLengths(filename, clean_lines, linenum, function_state, error):
def display_path(path):
def run_all(plugin, args=''):
def next_redirect(data, default, default_view, **get_kwargs):
def _iexp(x, M, L=8):
def ContactVCard(parent):
def safecall(func):
def quote_unix(value):
@LocalContext DCNL def unpack_many(data, word_size=None):
def prox_l21(Y, alpha, n_orient, shape=None, is_stft=False):
def interval_distance(label1, label2):
@_FFI.callback(u'Value(ExternContext*, DCSP uint8_t*, DCSP uint64_t)') DCNL def extern_create_exception(context_handle, msg_ptr, msg_len):
def deprecatedProperty(version, replacement=None):
def get_flow(db_api, image_service_api, availability_zones, create_what, scheduler_rpcapi=None, volume_rpcapi=None):
def ensure_completely_loaded(force=False):
def stub_out(test, funcs):
def _close_conn(conn):
def deleted(cond):
def run(command):
def decode_barcode_8(nt_barcode):
def gen_lower_listing(path=None):
def getmacbyip(ip, chainCC=0):
def RekallEProcessRenderer(x):
def requires_auth(f):
def test_get_editor_filter():
def build_docs(branch):
def global_subsystem_instance(subsystem_type, options=None):
def _check_surfaces(surfs):
def is_pidfile_stale(pidfile):
def _lookup_syslog_config(config):
def trimHistory():
def create_comment(request, comment_data):
@hook.command('scuser') DCNL def soundcloud_user(text):
def EMSA_PSS_ENCODE(mhash, emBits, randFunc, mgf, sLen):
@verbose DCNL def _apply_dics(data, info, tmin, forward, noise_csd, data_csd, reg, label=None, picks=None, pick_ori=None, verbose=None):
def spearmanr(a, b=None, axis=0, nan_policy='propagate'):
def get_default_gcs_bucket_name(deadline=None):
def notify_info_yielded(event):
def LoadSingleAppInfo(app_info):
def IDAnalyzer(lowercase=False):
def _CopyDocumentToProtocolBuffer(document, pb):
def buttap(N):
def _get_limit_param(request):
def _validate_snap_name(name, snap_name, strict=True, runas=None):
def read_font_record(data, extent=1040):
def create_version_h(svn_version):
@authenticated_json_view DCNL @has_request_variables DCNL def json_subscription_property(request, user_profile, subscription_data=REQ(validator=check_list(check_dict([('stream', check_string), ('property', check_string), ('value', check_variable_type([check_string, check_bool]))])))):
def process_options(arglist=None, parse_argv=False, config_file=None, parser=None):
def project_time_week(row):
def start_time(pid):
def init(mpstate):
def get_avg_dists(state1_samids, state2_samids, distdict):
@handle_response_format DCNL @treeio_login_required DCNL def project_edit(request, project_id, response_format='html'):
def _get_search_rank(collection_id):
def register():
def abspath(path):
def foldersAtPath(path, includeParent=False):
def in6_get6to4Prefix(addr):
def _aggr_mean(inList):
def copytree(src, dst, symlinks=False, ignore=None, copy_function=copy2, ignore_dangling_symlinks=False):
def test_zeros():
def append_slash_redirect(environ, code=301):
def javascript_catalog(request, domain='djangojs', packages=None):
def serialize(node, stream=None, Dumper=Dumper, **kwds):
def group_list_of_dict(array):
def log(s):
def bind_expression_to_resources(expr, resources):
@release.command() DCNL def changelog():
def test_sobel_h_horizontal():
def _other_endian(typ):
def farray(ptr, shape, dtype=None):
@protocol.commands.add(u'listmounts') DCNL def listmounts(context):
def cscore(v1, v2):
@verbose DCNL def source_induced_power(epochs, inverse_operator, frequencies, label=None, lambda2=(1.0 / 9.0), method='dSPM', nave=1, n_cycles=5, decim=1, use_fft=False, pick_ori=None, baseline=None, baseline_mode='logratio', pca=True, n_jobs=1, zero_mean=False, prepared=False, verbose=None):
def read_metadata_kfx(stream, read_cover=True):
def compute_grad(J, f):
def secgroup_info(call=None, kwargs=None):
def _make_complex_eigvecs(w, vin, dtype):
@conf.commands.register DCNL def corrupt_bits(s, p=0.01, n=None):
def require_module(module):
def bayesian_info_criterion_lsq(ssr, n_params, n_samples):
def sort_dependencies(app_list):
def _sig_key(key, date_stamp, regionName, serviceName):
def mask_secret_parameters(parameters, secret_parameters):
@mock_ec2 DCNL def test_eip_release_bogus_eip():
def validate_int_or_basestring(option, value):
def with_inline_css(html_without_css):
def track_distance(item, info):
def user(pid):
@testing.requires_testing_data DCNL @requires_fs_or_nibabel DCNL def test_vertex_to_mni():
def get_database_password(name):
def retrieve_token(userid, secret):
@testing.requires_testing_data DCNL def test_preload_modify():
def sample_content(name):
def parse229(resp, peer):
def set_(key, value, profile=None, ttl=None, directory=False):
@login_required DCNL def comment(request, pk):
def getFloatListListsByPaths(paths):
def write_trace(expt_dir, best_val, best_job, n_candidates, n_pending, n_complete):
def tag_item(item, search_artist=None, search_title=None, search_id=None):
@click.command(cls=ComplexCLI, context_settings=CONTEXT_SETTINGS) DCNL @click.option('--home', type=click.Path(exists=True, file_okay=False, resolve_path=True), help='Changes DCSP the DCSP folder DCSP to DCSP operate DCSP on.') DCNL @click.option('-v', '--verbose', is_flag=True, help='Enables DCSP verbose DCSP mode.') DCNL @pass_context DCNL def cli(ctx, verbose, home):
def main():
def get_engine():
def dictreverse(mapping):
def squared_loss(y_true, y_pred):
def GroupDecoder(field_number, is_repeated, is_packed, key, new_default):
def _get_pnics(host_reference):
def getFundamentalsPath(subName=''):
def loads(data, use_datetime=0):
def code_name(code, number=0):
def iriToURI(iri):
def pack_bitstring(bits):
def safe_walk(top, topdown=True, onerror=None, followlinks=True, _seen=None):
def get_introspection_module(namespace):
def generate_fused_type(codes):
@timefunc(1) DCNL def conesearch_timer(*args, **kwargs):
def to_unicode_optional_iterator(x):
def test_setitem(hist):
def run_bg(cmd, cwd=None, runas=None, shell=DEFAULT_SHELL, python_shell=None, env=None, clean_env=False, template=None, umask=None, timeout=None, output_loglevel='debug', log_callback=None, reset_system_locale=True, ignore_retcode=False, saltenv='base', password=None, **kwargs):
def mock_action(action_name):
def schema_create(dbname, name, owner=None, user=None, db_user=None, db_password=None, db_host=None, db_port=None):
def is_valid_connection_id(entry):
def generate_random_str(N):
def join_list(delimeter):
def get_elliptic_curves():
def upload_fileobj(self, Fileobj, Bucket, Key, ExtraArgs=None, Callback=None, Config=None):
def reset():
def escape4xml(value):
def make_cgi_application(global_conf, script, path=None, include_os_environ=None, query_string=None):
def owner(*paths):
def locks(registry, xml_parent, data):
def entity_to_unicode(match, exceptions=[], encoding='cp1252', result_exceptions={}):
@debug DCNL @timeit DCNL @cacheit DCNL def limitinf(e, x):
def connected(perspective):
def date_range(start_date, end_date=None, num=None, delta=None):
def set_default_etree(etree):
def create_pull_queue_tables(cluster, session):
def find_it():
def inroot_notwritable(prefix):
def find_tables(clause, check_columns=False, include_aliases=False, include_joins=False, include_selects=False, include_crud=False):
def p_additive_expression_1(t):
def _skip_bytes(f, n):
def locate(path, forceload=0):
def get_benchmark_returns(symbol, start_date, end_date):
def cheby2(N, rs, Wn, btype='low', analog=False, output='ba'):
def pick_disk_driver_name(hypervisor_version, is_block_dev=False):
def test_multi_explicit_fail():
def set_value(dictionary, keys, value):
@require_admin_context DCNL def instance_type_create(context, values):
@testing.requires_testing_data DCNL def test_sensitivity_maps():
def cmd_log(cmd, cwd):
def remove_invalid_options(context, search_options, allowed_search_options):
def set_date(name, date):
def get_os_vendor():
def ljust(value, arg):
def get_image_label(name, default='not_found.png'):
def path_to_local_track_uri(relpath):
def flatten_const_node_list(environment, node_list):
@contextmanager DCNL @deprecated(u'1.4.0', _deprecation_msg) DCNL def subsystem_instance(subsystem_type, scope=None, **options):
def count(s, *args):
@command(('rmp\\s*(\\d+|%s)' % WORD)) DCNL def playlist_remove(name):
def set_present(name, set_type, family='ipv4', **kwargs):
@must_be_valid_project DCNL @must_have_permission(ADMIN) DCNL @must_not_be_registration DCNL def project_contributors_post(auth, node, **kwargs):
def findController(controllers=DefaultControllers):
def port_create_vxlan(br, port, id, remote, dst_port=None):
def setup_redis():
def log_methods_calls(fname, some_class, prefix=None):
@hook.command('octopart', 'octo') DCNL def octopart(text, reply):
def create_config_file(watch, start_cmd, stop_cmd, ports, env_vars={}, max_memory=500, syslog_server='', host=None, upgrade_flag=False, match_cmd=''):
def save_categories(shop, categories_pk):
def proxy(base=None, local='X-Forwarded-Host', remote='X-Forwarded-For', scheme='X-Forwarded-Proto', debug=False):
def _strips(direction, text, remove):
def setAttributeDictionaryByArguments(argumentNames, arguments, xmlElement):
def expand_dimension_links(metadata):
@register.inclusion_tag(u'generic/includes/comment.html', takes_context=True) DCNL def comment_thread(context, parent):
def listify_value(arg, split=None):
def temp_fail_retry(error, fun, *args):
def paginated(model, query=None, increment=200, each=True):
def power_divergence(f_obs, f_exp=None, ddof=0, axis=0, lambda_=None):
def get_version():
def to_dict(sequences, key_function=None):
def get_best_language(accept_lang):
def certificate():
def diff(*paths):
def base64_decode(input, errors='strict'):
def metric_cleanup():
def search(request):
def initialize():
def shlex_quote(s):
def simple_norm(data, stretch='linear', power=1.0, asinh_a=0.1, min_cut=None, max_cut=None, min_percent=None, max_percent=None, percent=None, clip=True):
def get_role_permissions(meta, user=None, verbose=False):
def evaluation(y_test=None, y_predict=None, n_classes=None):
def auto_fields(resource):
def use_setuptools(version=DEFAULT_VERSION, download_base=DEFAULT_URL, to_dir=os.curdir):
def setup(**attrs):
def get_messages(request):
def __virtual__():
def document_batch_action(section, resource_name, event_emitter, batch_action_model, service_model, collection_model, include_signature=True):
def tuple2str(tagged_token, sep='/'):
def close_enough(sa, sb):
def SynthesizeUserId(email):
def get_cache():
def set_store(store, key=_store_registry_key, app=None):
def get_server_info(request=None):
def holdings_cover_maked_nextbar(data, cover_entries, capital, short_margin, volume_multiple):
def flatten(x, outdim=1):
def distros_for_filename(filename, metadata=None):
def _parseTCP(factory, port, interface='', backlog=50):
def show_snapshot(kwargs=None, call=None):
def diff_jid(jid, config='root'):
def _is_host_full(client, host):
def get_xstatic_dirs(XSTATIC_MODULES, HORIZON_CONFIG):
def dict_subset(d, keys):
def Repr(class_instance, ordered_dictionary):
def team_absent(name, profile='github', **kwargs):
def count(typename, objects=None):
def _split_symbol_mappings(df):
def set_cache_under_settings(destination, setting, key_prefix, value, ttl, list_=False):
def _getPlatformString(dist=None):
@snippet DCNL def topic_publish_messages(client, to_delete):
def simulate_head(app, path, **kwargs):
def extract_lsq_problems():
def test_cons_correct():
def remove_file(source):
def is_operator(element):
def should_use_rendered(doc, params, html=None):
@pytest.mark.parametrize('parallel', [True, False]) DCNL def test_not_enough_cols(parallel, read_csv):
@memoize(maxsize=None) DCNL def find(name, namespace=u'celery'):
def expand_dims(a, axis):
def delete_volume(target, stop=True):
def simple_seq(seq):
def tree(node):
def join():
def RunInTransactionCustomRetries(retries, function, *args, **kwargs):
def calculateNonce(realm, algorithm=MD5):
def confirm(question, error_response='Valid DCSP options DCSP : DCSP yes DCSP or DCSP no'):
def asStructuredText(I, munge=0):
def install_packages_from_file(packages_to_install):
def restoreConfigZip(archive, targetDir):
def load(config_string, default_name=None):
@verbose DCNL def gamma_map(evoked, forward, noise_cov, alpha, loose=0.2, depth=0.8, xyz_same_gamma=True, maxit=10000, tol=1e-06, update_mode=1, gammas=None, pca=True, return_residual=False, verbose=None):
def set_hostname(hostname=None, commit_change=True):
def with_backing_lock(method):
def build_function(name, args=None, defaults=None, flag=0, doc=None):
def js_escaped_string(string_for_js):
def reset_extensions_translations_locales(apps, schema_editor):
def listen(description, factory, default=None):
def test_ros_fit_sample():
def _check_storage_models(current_release):
def get_help():
def metric_to_Christoffel_2nd(expr):
def _generic_factor_list(expr, gens, args, method):
@register(u'accept-line') DCNL def accept_line(event):
def log_loss(y_true, y_prob):
def start(hass, server_config):
def export_to_zip_file(exploration_id, version=None):
def convolution_nd(x, W, b=None, stride=1, pad=0, use_cudnn=True, cover_all=False):
def normpath(path):
def select(start, end):
def log_mean_exp(a):
def fullmatch(pattern, string, flags=0):
def _variable_with_weight_decay(name, shape, stddev, wd):
def lookupNamingAuthorityPointer(name, timeout=None):
def db_exists(name, **client_args):
def build_auxiliary_edge_connectivity(G):
def build_graph(git_dir, roles_dirs, aws_play_dirs, docker_play_dirs):
def change_state(api_url, post_data):
def test_factory(support_as_data=True):
def get_error_page(status, **kwargs):
def run_convert_to_html(output_dir):
def _chunk_write(chunk, local_file, progress):
def get_features():
def _plot_topomap_multi_cbar(data, pos, ax, title=None, unit=None, vmin=None, vmax=None, cmap=None, outlines='head', colorbar=False, cbar_fmt='%3.3f'):
def rectangle(width, height, dtype=np.uint8):
def tokenize_annotated(doc, annotation):
def _is_hierarchical(x):
def listen(opts):
def column_index_from_string(column, fast=False):
def quietRun(cmd, **kwargs):
def dup_random(n, a, b, K):
def reconstruct_interp_matrix(idx, proj):
def no_4byte_params(f):
def device_exists_with_ips_and_mac(device_name, ip_cidrs, mac, namespace=None):
def index_alt():
def get_indices(expr):
def WriteXmlIfChanged(content, path, encoding='utf-8', pretty=False, win32=False):
def ansible_dict_to_boto3_filter_list(filters_dict):
def _hide_frame(ax):
def _auth_from_available(le_client, config, domains=None, certname=None, lineage=None):
def renyientropy(px, alpha=1, logbase=2, measure='R'):
@pytest.mark.parametrize((u'expr', u'result'), [((lambda x, y: (x + y)), [5.0, 5.0]), ((lambda x, y: (x - y)), [(-1.0), (-1.0)]), ((lambda x, y: (x * y)), [6.0, 6.0]), ((lambda x, y: (x / y)), [(2.0 / 3.0), (2.0 / 3.0)]), ((lambda x, y: (x ** y)), [8.0, 8.0])]) DCNL def test_model_set_raises_value_error(expr, result):
def websettings():
def check_chain(table='filter', chain=None, family='ipv4'):
def parse_format_method_string(format_string):
def internalerror():
def GetFlavor(params):
def proportions_chisquare_pairscontrol(count, nobs, value=None, multitest_method='hs', alternative='two-sided'):
def regions():
def upsample_2d(incoming, kernel_size, name='UpSample2D'):
def getAllDirectoriesWithFile(path, filename, excludeDirs):
def plot_scatter(fig, x, y, x2, y2, binnum):
def getTestOutput():
@hook.command('feed', 'rss', 'news') DCNL def rss(text):
@require_role('admin') DCNL def group_list(request):
def load_plain_keyfile(filename):
def create_subnet_group(name, description, subnet_ids=None, subnet_names=None, tags=None, region=None, key=None, keyid=None, profile=None):
def update(kernel=False):
def default_locale(category=None, aliases=LOCALE_ALIASES):
def get_sequential_open_distrib(course_id):
def highlight(code, lexer, formatter, outfile=None):
def write_rels(worksheet, comments_id=None, vba_controls_id=None):
def test_ecliptic_heliobary():
def plot_img_and_hist(img, axes, bins=256):
def load_overrides(file_path, loaded_config=config):
@intercept_errors(UserAPIInternalError, ignore_errors=[UserAPIRequestError]) DCNL def set_user_preference(requesting_user, preference_key, preference_value, username=None):
def _process_node(node, aliases, duplicates):
@register.filter(is_safe=False) DCNL def yesno(value, arg=None):
def get_res_pool_ref(session, cluster):
def verify(user, password):
def basic_auth(realm, users, encrypt=None, debug=False):
def url_replace_param(url, name, value):
def _contains(exp, cls):
def libvlc_hex_version():
def index_alt():
def render_openid_request(request, openid_request, return_to, trust_root=None):
def _unwrap_stream(uri, timeout, scanner, requests_session):
def _read_ch_info_struct(fid, tag, shape, rlims):
@require_POST DCNL def request_permissions(request):
def _load_editor(caller):
def get_redirects(redirects_filename):
def looks_like_a_tool(path, invalid_names=[], enable_beta_formats=False):
def bin_constructor(func):
@commands(u'title') DCNL @example(u'.title DCSP http://google.com', u'[ DCSP Google DCSP ] DCSP - DCSP google.com') DCNL def title_command(bot, trigger):
def find_playlist_changes(orig_tracks, modified_tracks):
def _find_vpcs(vpc_id=None, vpc_name=None, cidr=None, tags=None, region=None, key=None, keyid=None, profile=None):
def is_threshold_sequence(degree_sequence):
def inception_v3(inputs, num_classes=1000, is_training=True, dropout_keep_prob=0.8, min_depth=16, depth_multiplier=1.0, prediction_fn=slim.softmax, spatial_squeeze=True, reuse=None, scope='InceptionV3'):
def cmServiceAccept():
def get_resampler_for_grouping(groupby, rule, how=None, fill_method=None, limit=None, kind=None, **kwargs):
@celery.task(name='redash.tasks.refresh_schemas', base=BaseTask) DCNL def refresh_schemas():
def load_config(config_file):
def path_tail(apath, bpath):
def _url_replace_regex(prefix):
def _check_user(user, group):
def rmtree(path, ignore_errors=False, onerror=auto_chmod):
def debug(*args, **kwargs):
def frame_msg(body, header=None, raw_body=False):
def _update_secret(namespace, name, data, apiserver_url):
def all_argmax(x):
def course():
def friedmanchisquare(*args):
def list_catalogs(results=30, start=0):
def render(hjson_data, saltenv='base', sls='', **kws):
def version(contact_points=None, port=None, cql_user=None, cql_pass=None):
def tick2period(code, period, start, end):
def test_simple_create():
def make_routine(name, expr, argument_sequence=None, global_vars=None, language='F95'):
@contextmanager DCNL def temporary_folder():
def __determine_before_str(options):
def get_next_page_of_all_feedback_messages(page_size=feconf.FEEDBACK_TAB_PAGE_SIZE, urlsafe_start_cursor=None):
def footnotes(document):
def main(argv=None):
def group_remove(groupname, user=None, host=None, port=None, maintenance_db=None, password=None, runas=None):
def sem(a, axis=0, ddof=1, nan_policy='propagate'):
def safe_open_w(path):
def _get_data_volumes(vm_):
def encode_notifications(tokens, notifications):
def _upgrade_from_setuptools(python_cmd, use_sudo):
def fnames_presuffix(fnames, prefix=u'', suffix=u'', newpath=None, use_ext=True):
@ensure_csrf_cookie DCNL @cache_control(no_cache=True, no_store=True, must_revalidate=True) DCNL @coach_dashboard DCNL def dashboard(request, course, ccx=None):
def publish_progress(*args, **kwargs):
def _url_as_string(url):
def remove_elasticbeanstalk():
def _poll_for(fd, readable, writable, error, timeout):
def use_resources(num_threads, num_gb):
@requires_good_network DCNL def test_megsim():
def get_async_pillar(opts, grains, minion_id, saltenv=None, ext=None, funcs=None, pillar=None, pillarenv=None):
def __virtual__():
def generate_jmx_configs(agentConfig, hostname, checknames=None):
def parse_propspec(propspec):
def NormalizeString(value):
def create_index():
def geoserver_pre_delete(instance, sender, **kwargs):
def read_valuation(s, encoding=None):
def _context_dict_to_string(context):
def addElementToPixelList(element, pixelDictionary, x, y):
def _get_address_binary(address):
def is_enabled(iface):
def adjacency_data(G, attrs=_attrs):
def network_delete_safe(context, network_id):
def _check_cron(user, path, mask, cmd):
def frozen(*args):
@permission_required([('Apps', 'ReadAbuse')]) DCNL def queue_abuse(request):
def api_get_manageable_volumes(*args, **kwargs):
def numpy_cupy_array_less(err_msg='', verbose=True, name='xp', type_check=True, accept_error=False):
def custom_verify_access_cookie(zmirror_verify_cookie, flask_request):
def releaseMsToNet(Cause_presence=0, Cause_presence1=0, Facility_presence=0, UserUser_presence=0, SsVersionIndicator_presence=0):
def printExc(msg='', indent=4, prefix='|'):
def makeMissingCustomDataframe(nrows, ncols, density=0.9, random_state=None, c_idx_names=True, r_idx_names=True, c_idx_nlevels=1, r_idx_nlevels=1, data_gen_f=None, c_ndupe_l=None, r_ndupe_l=None, dtype=None, c_idx_type=None, r_idx_type=None):
def get_review_type(file_):
def postreleaser_middle(data):
def idle(priority=0):
def test_run_srs(*sr_names):
def document_custom_method(section, method_name, method):
def make_rng(rng_or_seed=None, default_seed=None, which_method=None, constructor=None):
def invert(d):
@yield_once DCNL def _iter_choices(pattern):
def tags_for(cls, model, instance=None, **extra_filters):
def register_babel(app):
def _extend_mode_to_code(mode):
def make_nditer_cls(nditerty):
def null_javascript_catalog(request, domain=None, packages=None):
@lru_cache(1000) DCNL def traversal_path_info(path):
def test_ada_wrong_nn_obj():
@utils.arg('monitor_id', metavar='<monitor-id>', help='ID DCSP of DCSP the DCSP monitor DCSP to DCSP snapshot') DCNL @utils.arg('--force', metavar='<True|False>', help="Optional DCSP flag DCSP to DCSP indicate DCSP whether DCSP to DCSP snapshot DCSP a DCSP monitor DCSP even DCSP if DCSP it's DCSP attached DCSP to DCSP an DCSP instance. DCSP (Default=False)", default=False) DCNL @utils.arg('--display-name', metavar='<display-name>', default=None, help='Optional DCSP snapshot DCSP name. DCSP (Default=None)') DCNL @utils.arg('--display_name', help=argparse.SUPPRESS) DCNL @utils.arg('--display-description', metavar='<display-description>', default=None, help='Optional DCSP snapshot DCSP description. DCSP (Default=None)') DCNL @utils.arg('--display_description', help=argparse.SUPPRESS) DCNL @utils.service_type('monitor') DCNL def do_snapshot_create(cs, args):
def get(key, default='', delimiter=DEFAULT_TARGET_DELIM, ordered=True):
def breakfast():
@register.tag DCNL def comment(parser, token):
def get_field(data, param, linestart='', sep=' DCSP '):
def GetVersionObject():
def configure_sc_logging(use_syslog=False):
def validate_color(s):
def dict_error_formatting(errors, index=None):
def main(args=None):
def make_zipfile(zip_filename, base_dir, verbose=0, dry_run=0, compress=None, mode='w'):
def timeBoundExecution(algo, maxtime):
def update_hash_dict(filehash, filename):
def _manageRoles(mo):
@deprecated(u'1.0', message=DEPRECATION_MESSAGE) DCNL def join(left, right, keys=None, join_type=u'inner', uniq_col_name=u'{col_name}_{table_name}', table_names=[u'1', u'2'], col_name_map=None):
@gof.local_optimizer([AdvancedIncSubtensor1], inplace=True) DCNL def local_inplace_incsubtensor1(node):
def scan(entry, max_depth=3, scan_filter=None, depth=0):
def resnet_v2_101(inputs, num_classes=None, is_training=True, global_pool=True, output_stride=None, reuse=None, scope='resnet_v2_101'):
def list_option(option, opt, value, parser):
def is_primary_language(language=None):
def make_filter(name, op, values):
def effective_request_host(request):
def enabled(name='allprofiles'):
@step(u'{word:w} DCSP step DCSP fails DCSP with DCSP "{message}"') DCNL def step_fails_with_message(context, word, message):
def deploy_application(war_file, webapp_path=None):
def except_keyword(source, start, keyword):
def _resolve(name):
def graphsize_args_report(unique_kmers, fp_rate):
def _euclidean_algorithm(f, g, minpoly, p):
def log(txt):
def _draw_epochs_axes(epoch_idx, good_ch_idx, bad_ch_idx, data, times, axes, title_str, axes_handler):
def check_cuda(feature_name='You DCSP are DCSP using DCSP code DCSP that DCSP relies DCSP on DCSP cuda-convnet. DCSP Cuda-convnet', check_enabled=True):
def install(packages, update=False, options=None):
def token_get(profile=None, **connection_args):
def patch_vary_headers(response, newheaders):
def vertical_flip(image_data, output_encoding=PNG, quality=None, correct_orientation=UNCHANGED_ORIENTATION, rpc=None, transparent_substitution_rgb=None):
@receiver(post_save, sender=settings.AUTH_USER_MODEL) DCNL def user_post_save(sender, **kwargs):
def compare_code_with_srcfile(pyc_filename, src_filename):
def _plot_option_logic(plot_options_from_call_signature):
def _parse_tdim(tdim):
@atomic DCNL def create_version_for_upload(addon, upload, channel):
def _list_removed(old, new):
@requires_segment_info DCNL def workspace(pl, segment_info, workspace=None, strip=False):
def write_feed(file_obj):
def nextprime(n, ith=1):
def process_files_and_demultiplex_sequences(mapping_file, fasta_files, qual_files, output_dir='./', keep_barcode=False, barcode_type='golay_12', max_bc_errors=0.5, start_index=1, write_unassigned_reads=False, disable_bc_correction=False, added_demultiplex_field=None, save_barcode_frequencies=False):
def prompt_for_password(args):
def make_ip_network(port, network):
def makeUnicode(text):
def beacon(config):
@cli.command() DCNL @click.argument('url') DCNL def locate(url):
def wait_for_login(client, host, port, username, password, prompt, linesep='\n', log_filename=None, timeout=240, internal_timeout=10, interface=None):
@cli.command() DCNL @click.argument('result-file', type=click.Path(exists=True), required=True) DCNL def plot(result_file):
def get_service(hass, config, discovery_info=None):
def package_data(pkg, root_list):