
    Nwg                         d Z ddlmZ ddlmZmZ ddlmZmZmZ ddl	m
Z
 ddddddddej                  ej                  dfd	Zy)
a"  
rest_framework.schemas

schemas:
    __init__.py
    generators.py   # Top-down schema generation
    inspectors.py   # Per-endpoint view introspection
    utils.py        # Shared helper functions
    views.py        # Houses `SchemaView`, `APIView` subclass.

We expose a minimal "public" API directly from `schemas`. This covers the
basic use-cases:

    from rest_framework.schemas import (
        AutoSchema,
        ManualSchema,
        get_schema_view,
        SchemaGenerator,
    )

Other access should target the submodules directly
    )api_settings   )coreapiopenapi)
AutoSchemaManualSchemaSchemaGenerator)DefaultSchemaNFc                     |5t        j                         rt         j                  }nt        j                  } || |||||
      }ddlm} |j                  |||||	      S )z
    Return a schema view.
    )titleurldescriptionurlconfpatternsversionr   )
SchemaView)renderer_classesschema_generatorpublicauthentication_classespermission_classes)r   
is_enabledr	   r   viewsr   as_view)r   r   r   r   r   r   r   generator_classr   r   r   	generatorr   s                V/var/www/horilla/myenv/lib/python3.12/site-packages/rest_framework/schemas/__init__.pyget_schema_viewr      sp     %55O%55O+(GI ")"5-       )__doc__rest_framework.settingsr    r   r   r   r   r	   
inspectorsr
   DEFAULT_AUTHENTICATION_CLASSESDEFAULT_PERMISSION_CLASSESr    r   r   <module>r'      sI   , 1  > > % $ttT+JJ'BBr   