o
    ).h                     @   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_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    r   ^/var/www/supernova/superenvnew/lib/python3.10/site-packages/rest_framework/schemas/__init__.pyget_schema_view   s    	r   )__doc__rest_framework.settingsr    r   r   r   r   r   
inspectorsr	   DEFAULT_AUTHENTICATION_CLASSESDEFAULT_PERMISSION_CLASSESr   r   r   r   r   <module>   s    
