o
    ®©Zhá  ã                   @   s>   d dl mZ d dlmZmZmZ d dlmZ G dd„ dƒZdS )é    )Úabstractmethod)ÚAnyÚDictÚList)ÚGraphDocumentc                   @   sž   e Zd ZdZeedefdd„ƒƒZeedeee	f fdd„ƒƒZ
ei fdededeeee	f  fd	d
„ƒZeddd„ƒZe	ddee deddfdd„ƒZdS )Ú
GraphStorez$Abstract class for graph operations.Úreturnc                 C   ó   dS ©z'Return the schema of the Graph databaseN© ©Úselfr   r   ú]/var/www/html/lang_env/lib/python3.10/site-packages/langchain_community/graphs/graph_store.pyÚ
get_schema
   ó   zGraphStore.get_schemac                 C   r	   r
   r   r   r   r   r   Úget_structured_schema   r   z GraphStore.get_structured_schemaÚqueryÚparamsc                 C   r	   )zQuery the graph.Nr   )r   r   r   r   r   r   r      ó   zGraphStore.queryNc                 C   r	   )z%Refresh the graph schema information.Nr   r   r   r   r   Úrefresh_schema   r   zGraphStore.refresh_schemaFÚgraph_documentsÚinclude_sourcec                 C   r	   )z<Take GraphDocument as input as uses it to construct a graph.Nr   )r   r   r   r   r   r   Úadd_graph_documents    s   zGraphStore.add_graph_documents)r   N)F)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Úpropertyr   Ústrr   r   r   r   Údictr   r   r   r   Úboolr   r   r   r   r   r      s*    (ÿÿÿþr   N)	Úabcr   Útypingr   r   r   Z)langchain_community.graphs.graph_documentr   r   r   r   r   r   Ú<module>   s    