
    dh                     D    S SK Jr  S SKJrJrJr  S SKJr   " S S5      rg)    )abstractmethod)AnyDictList)GraphDocumentc                       \ rS rSrSr\\S\4S j5       5       r\\S\	\\
4   4S j5       5       r\0 4S\S\S\\	\\
4      4S jj5       r\SS
 j5       r\ SS\\   S\SS	4S jj5       rSrg	)
GraphStore   z$Abstract class for graph operations.returnc                     gz'Return the schema of the Graph databaseN selfs    ^/var/www/html/shao/venv/lib/python3.13/site-packages/langchain_community/graphs/graph_store.py
get_schemaGraphStore.get_schema
        	    c                     gr   r   r   s    r   get_structured_schema GraphStore.get_structured_schema   r   r   queryparamsc                     g)zQuery the graph.Nr   )r   r   r   s      r   r   GraphStore.query        	r   Nc                     g)z%Refresh the graph schema information.Nr   r   s    r   refresh_schemaGraphStore.refresh_schema   r   r   graph_documentsinclude_sourcec                     g)z<Take GraphDocument as input as uses it to construct a graph.Nr   )r   r!   r"   s      r   add_graph_documentsGraphStore.add_graph_documents    s    
 	r   r   )r   N)F)__name__
__module____qualname____firstlineno____doc__propertyr   strr   r   r   r   dictr   r   r   r   boolr$   __static_attributes__r   r   r   r	   r	      s    .C    tCH~    /1 3  d4S>6J     KP#M2DH	 r   r	   N)	abcr   typingr   r   r   )langchain_community.graphs.graph_documentr   r	   r   r   r   <module>r3      s     " " C r   