(self, obj: Object)
return f'root.{_OBJ_ID_MAP[obj.obj_type]}.{obj.name}'
Deterministically generate a unique file ID for the Object.

            This ID determines where the object will be inserted in the sitemap.
Deterministically generate a unique file ID for the Object.
Deterministically generate a unique file ID for the Object .
def _gen_object_file_id(self, obj: Object) -> str:
        '''
            Deterministically generate a unique file ID for the Object.

            This ID determines where the object will be inserted in the sitemap.
        '''
        if obj.obj_type == ObjectType.RETURNED and obj.defined_by_module is not None:
            base = self._gen_object_file_id(obj.defined_by_module)
            return f'{base}.{obj.name}'
        return f'root.{_OBJ_ID_MAP[obj.obj_type]}.{obj.name}'
def _gen_object_file_id ( self , obj : Object ) -> str : if obj . obj_type == ObjectType . RETURNED and obj . defined_by_module is not None : base = self . _gen_object_file_id ( obj . defined_by_module ) return f'{base}.{obj.name}' return f'root.{_OBJ_ID_MAP[obj.obj_type]}.{obj.name}'