3
>^                 @   s   d Z ddlmZ dd ZdS )zZ
utils.py        # Shared helper functions

See schemas.__init__.py for package overview.
    )RetrieveModelMixinc             C   sZ   t |dr|jdkS |j dkr$dS t|tr2dS | jdjd}|rVd|d	 krVdS dS )
zP
    Return True if the given path/method appears to represent a list view.
    actionlistgetF/{   T)hasattrr   lower
isinstancer   stripsplit)pathmethodviewZpath_components r   K/tmp/pip-build-8app2_gc/djangorestframework/rest_framework/schemas/utils.pyis_list_view	   s    


r   N)__doc__Zrest_framework.mixinsr   r   r   r   r   r   <module>   s   