code
stringlengths
3
6.57k
read()
__init__(__self__, resource_name: str, *args, **kwargs)
_utilities.get_resource_args_opts(PolicyArgs, pulumi.ResourceOptions, *args, **kwargs)
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
__self__._internal_init(resource_name, *args, **kwargs)
pulumi.ResourceOptions()
isinstance(opts, pulumi.ResourceOptions)
TypeError('Expected resource options to be a ResourceOptions instance')
_utilities.get_version()
TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
PolicyArgs.__new__(PolicyArgs)
TypeError("Missing required property 'api_management_id'")
super(Policy, __self__)
pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)
_PolicyState.__new__(_PolicyState)
Policy(resource_name, opts=opts, __props__=__props__)
pulumi.getter(name="apiManagementId")
api_management_id(self)
pulumi.get(self, "api_management_id")
pulumi.getter(name="xmlContent")
xml_content(self)
pulumi.get(self, "xml_content")
pulumi.getter(name="xmlLink")
xml_link(self)
pulumi.get(self, "xml_link")
os.path.join(BASE_DIR, ...)
os.path.dirname(os.path.dirname(os.path.abspath(__file__)
do3(nbh)
os.path.join(BASE_DIR, 'db.sqlite3')
files (CSS, JavaScript, Images)
V1ListConnectionsResponse(object)
openapi_types (dict)
attribute_map (dict)
Configuration()
count(self)
count(self, count)
results(self)
results(self, results)
previous(self)
previous(self, previous)
next(self)
next(self, next)
to_dict(self)
six.iteritems(self.openapi_types)
getattr(self, attr)
isinstance(value, list)
map(lambda x: x.to_dict()
hasattr(x, "to_dict")
hasattr(value, "to_dict")
value.to_dict()
isinstance(value, dict)
to_dict()
hasattr(item[1], "to_dict")
value.items()
to_str(self)
pprint.pformat(self.to_dict()
__repr__(self)
self.to_str()
__eq__(self, other)
isinstance(other, V1ListConnectionsResponse)
self.to_dict()
other.to_dict()
__ne__(self, other)
isinstance(other, V1ListConnectionsResponse)
self.to_dict()
other.to_dict()
EditTests(TestCase)
setUp(self)
Trace(np.array([10, 20, 30, 40, 50], dtype=np.dtype("i1")
test_trim(self)
trim(self._trace, 2)
self.assertIsNotNone(result)
np.testing.assert_equal(result.samples, np.array([30, 40, 50], dtype=np.dtype("i1")
trim(self._trace, end=3)
self.assertIsNotNone(result)
np.testing.assert_equal(result.samples, np.array([10, 20, 30], dtype=np.dtype("i1")
self.assertRaises(ValueError)
trim(self._trace, 5, 1)
test_reverse(self)
reverse(self._trace)
self.assertIsNotNone(result)
np.array([50, 40, 30, 20, 10], dtype=np.dtype("i1")
test_pad(self)
pad(self._trace, 2)
self.assertIsNotNone(result)
np.array([0, 0, 10, 20, 30, 40, 50, 0, 0], dtype=np.dtype("i1")
pad(self._trace, (1, 3)
self.assertIsNotNone(result)
np.array([0, 10, 20, 30, 40, 50, 0, 0, 0], dtype=np.dtype("i1")
Copyright (C)
or (at your option)
ellipsis(object)
__repr__(self)
ellipsis()
type(None)
TypeVar("_S")
len(struct.pack("L", 1)
_NotCalled(str)
__repr__(self)
format(type(self)