def get_organization_number()

in common/api/resource_manager_api_adapter.py [0:0]


    def get_organization_number(self, project_id: str) -> str:
        ancestry = self.get_project_ancestry(project_id)

        for ancestry_type, resource_id in ancestry:
            if ancestry_type == Project.AncestryType.ORGANIZATION:
                return resource_id