code: def _run_post_processing(spec):
      visited_models = {}
  
      def _call_post_process_spec(spec_dict):
          # Discover all the models in spec_dict
          _post_process_spec(
              spec_dict=spec_dict,
              spec_resolver=spec.resolver,
              on_container_callbacks=[
                  functools.partial(
                      _tag_models,
                      visited_models=visited_models,
                      swagger_spec=spec,
                  ),
                  functools.partial(
                      _bless_models,
                      visited_models=visited_models,
                      swagger_spec=spec,
                  ),
                  functools.partial(
                      _collect_models,
                      models=spec.definitions,
                      swagger_spec=spec,
                  ),
              ],
          )
  
      # Post process specs to identify models
      _call_post_process_spec(spec.spec_dict)
  
      processed_uris = {
          uri
          for uri in spec.resolver.store
          if uri == spec.origin_url
          or re.match(
              r"http(s)?://json-schema\.org/draft(/\d{4})?-\d+/(schema|meta/.*)",
              uri,
          )
      }
      additional_uri = _get_unprocessed_uri(spec, processed_uris)
      while additional_uri is not None:
          # Post process each referenced specs to identify models in definitions of linked files
          with spec.resolver.in_scope(additional_uri):
              _call_post_process_spec(
                  spec.resolver.store[additional_uri],
              )
  
          processed_uris.add(additional_uri)
          additional_uri = _get_unprocessed_uri(spec, processed_uris)
  
imports: import functools
  import re
  import bravado_core.model
  from bravado_core.model import _bless_models, _collect_models, _get_unprocessed_uri, _post_process_spec, _tag_models
label_desc: Use image node_id 1 for calling a global function with example usage: _run_post_processing(spec) without return types