components/policy/tools/template_writers/writers/jamf_writer.py
def RecordKnownPropertyIds(self, obj, known_ids):
    '''Writes the a dictionary mapping ids of schemas properties that can be
       referred to by '$ref' to their schema.

    Args:
      obj: The object to scan for refs.
      known_ids: The dictionary and output of all the known ids.
    '''
    if type(obj) is not dict:
      return
    if 'id' in obj:
      known_ids[obj['id']] = obj
    for value in obj.values():
      self.RecordKnownPropertyIds(value, known_ids)
Writes the a dictionary mapping ids of schemas properties that can be
       referred to by '$ref' to their schema.

    Args:
      obj: The object to scan for refs.
      known_ids: The dictionary and output of all the known ids.
    
Writes the a dictionary mapping ids of schemas properties that can be
referred to by '$ref' to their schema.
Writes the a dictionary mapping ids of schemas properties that can be referred to by ' $ref ' to their schema .
def RecordKnownPropertyIds(self, obj, known_ids):
    if type(obj) is not dict:
      return
    if 'id' in obj:
      known_ids[obj['id']] = obj
    for value in obj.values():
      self.RecordKnownPropertyIds(value, known_ids)
def RecordKnownPropertyIds ( self , obj , known_ids ) : if type ( obj ) is not dict : return if 'id' in obj : known_ids [ obj [ 'id' ] ] = obj for value in obj . values ( ) : self . RecordKnownPropertyIds ( value , known_ids )
Writes the a dictionary mapping ids of schemas properties that can be
referred to by '$ref' to their schema.
Writes the a dictionary mapping ids of schemas properties that can be referred to by ' $ref ' to their schema .
'''Writes the a dictionary mapping ids of schemas properties that can be
       referred to by '$ref' to their schema.

    Args:
      obj: The object to scan for refs.
      known_ids: The dictionary and output of all the known ids.
    '''
self
obj
The object to scan for refs.
The object to scan for refs .
known_ids
The dictionary and output of all the known ids.
The dictionary and output of all the known ids .