I think bundles are dynamic. I see
with translate_error(): try: for (name, properties, dynamic) in ( (CHARM, charm_properties, False), (BUNDLE, bundle_properties, True)): self._client.put_mapping(self.index_name, name, { name: { 'type': 'object', 'dynamic': dynamic, 'properties': properties, } })
I suspect that we can change bundled to dynamic=False, or remove the opportunity to accidentally pass dynamic=True:
with translate_error(): try: for (name, properties) in ( (CHARM, charm_properties,), (BUNDLE, bundle_properties)): self._client.put_mapping(self.index_name, name, { name: { 'type': 'object', 'dynamic': False, 'properties': properties, } })
I think bundles are dynamic. I see
with translate_error():
(CHARM, charm_properties, False),
(BUNDLE, bundle_properties, True)):
self. _client. put_mapping( self.index_ name, name, {
name: {
'type': 'object',
'dynamic' : dynamic,
'properties' : properties,
}
} )
try:
for (name, properties, dynamic) in (
I suspect that we can change bundled to dynamic=False, or remove the opportunity to accidentally pass dynamic=True:
with translate_error():
(CHARM, charm_properties,),
(BUNDLE, bundle_ properties) ):
self. _client. put_mapping( self.index_ name, name, {
name: {
'type': 'object',
'dynamic' : False,
'properties' : properties,
}
} )
try:
for (name, properties) in (