a
    còfõ  ã                   @   sh   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	d
„ZdS )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                 C   sR   |du rt  ¡ rt j}ntj}|| |||||
d�}ddlm} |j|||||	d�S )z
    Return a schema view.
    N)ÚtitleÚurlÚdescriptionÚurlconfÚpatternsÚversionr   )Ú
SchemaView)Úrenderer_classesZschema_generatorÚpublicÚauthentication_classesÚpermission_classes)r   Ú
is_enabledr   r   Zviewsr   Zas_view)r
   r   r   r   r   r   r   Zgenerator_classr   r   r   Ú	generatorr   © r   ú\/home/httpd/docs/test/DocsMgr/lib/python3.9/site-packages/rest_framework/schemas/__init__.pyÚget_schema_view   s     	þûr   )Ú__doc__Zrest_framework.settingsr   Ú r   r   r   r   r   Z
inspectorsr	   ZDEFAULT_AUTHENTICATION_CLASSESZDEFAULT_PERMISSION_CLASSESr   r   r   r   r   Ú<module>   s   
û