o
    ^i                     @   s4   d dl Zd dlZd dlmZ ddedefddZdS )	    N)Anyblack	tool_namereturnc                 C   sd   | dksJ dd}d}t j||}|jdd}t|W  d   S 1 s+w   Y  dS )z4Get the stored complete schema for black's settings.r   zOnly black is supported.zblack.resourceszblack.schema.jsonzutf-8)encodingN)	importlib	resourcesfilesjoinpathopenjsonload)r   pkgfnameschemaf r   Q/var/www/html/stock_analysis/be/venv/lib/python3.10/site-packages/black/schema.py
get_schema   s   $r   )r   )importlib.resourcesr   r   typingr   strr   r   r   r   r   <module>   s    