You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But as only defined keys are written in the Utils._write_complex_object(...) method and the id property is not defined there it will not be transmitted:
class Application(object):
"""Data contract class for type Application.
"""
_defaults = collections.OrderedDict([
('ai.application.ver', None)
])
...
def write(self):
"""Writes the contents of this object and returns the content as a dict object.
Returns:
(dict). the object that represents the same data as the current instance.
"""
return _write_complex_object(self._defaults, self._values)
...
def _write_complex_object(defaults, values):
output = collections.OrderedDict()
for key in defaults.keys():
default = defaults[key]
if key in values:
Is the documentation wrong or is the id property missing?
The text was updated successfully, but these errors were encountered:
In the documentation you set up the telemetry context in the following way and pass an id to the application object:
But as only defined keys are written in the
Utils._write_complex_object(...)
method and the id property is not defined there it will not be transmitted:Is the documentation wrong or is the id property missing?
The text was updated successfully, but these errors were encountered: