code
stringlengths
3
6.57k
pulumi.get(self, "etag")
kind(self)
pulumi.get(self, "kind")
name(self)
pulumi.get(self, "name")
type(self)
pulumi.get(self, "type")
translate_output_property(self, prop)
_tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop)
translate_input_property(self, prop)
_tables.SNAKE_TO_CAMEL_CASE_TABLE.get(prop)
build(width, height, depth, classes)
Sequential()
K.image_data_format()
model.add(Conv2D(20, (5, 5)
model.add(Activation('relu')
model.add(MaxPooling2D(pool_size=(2, 2)
model.add(Conv2D(50, (5, 5)
model.add(Activation('relu')
model.add(MaxPooling2D(pool_size=(2, 2)
model.add(Flatten()
model.add(Dense(500)
model.add(Activation('relu')
model.add(Dense(classes)
model.add(Activation('softmax')
TestStream(Stream)
__init__(self, *args, **kwargs)
super()
Stream.__init__(self, *args, **kwargs)
str()
write(self, string, length)
writeln(self, string, length)
flush(self)
str(self)
os.path.join(os.getcwd()
SourceFileLoader("module.name", config_file)
load_module()
del_none(d)
list(d.items()
isinstance(value, dict)
del_none(value)
multiple_line_items()
orderInformationLineItems.append(orderInformationLineItems1.__dict__)
orderInformationLineItems.append(orderInformationLineItems2.__dict__)
del_none(requestObj.__dict__)
json.dumps(requestObj)
configuration.Configuration()
config_obj.get_configuration()
VerificationApi(client_config)
api_instance.verify_customer_address(requestObj)
print("\nAPI RESPONSE CODE : ", status)
print("\nAPI RESPONSE BODY : ", body)
print("\nException when calling VerificationApi->verify_customer_address: %s\n" % e)
multiple_line_items()
int(input('Digite um valor: ')
principal.append(n)
par.append(n)
impar.append(n)
str(input('Quer continuar? [S/N]: ')
upper()
print('Opção inválida. Digite apenas S ou N')
print(f'Lista principal de números: {principal}')
print(f'Lista dos números pares: {par}')
print(f'Lista dos números impares: {impar}')
sys.path.append('../')
os.path.dirname(os.path.normpath(__file__)
os.path.join(BASE_PATH, 'templates')
_prepare_docstring(value)
value.split('\n')
unicode(value)
strip()
_render_and_save_template(path, dest, context)
os.path.join(TEMPLATES_PATH, path + '.tpl')
os.path.join(BASE_PATH, dest + '.md')
open(destination_path, 'wt')
Template(open(template_path)
read()
render(context)
generate_api_reference()
generate_steps_reference()
generate_steps_reference()
step_module.__name__.split('.')
os.path.join(BASE_PATH, 'steps/')
os.path.exists(steps_dir)
os.makedirs(steps_dir)
Copyright (c)
WalletHDTest(MichaellaoliuTestFramework)
set_test_params(self)
run_test (self)
self.stop_node(1)
self.assert_start_raises_init_error(1, ['-usehd=0'], 'already existing HD wallet')
self.start_node(1)
connect_nodes_bi(self.nodes, 0, 1)
getwalletinfo()
assert_equal(len(masterkeyid)
getrawchangeaddress()
validateaddress(change_addr)
assert_equal(change_addrV["hdkeypath"], "m/0'/1'/0'")
getnewaddress()
importprivkey(self.nodes[0].dumpprivkey(non_hd_add)