o
    tBh:                     @   sD   d dl mZ d dlmZ ddlmZ dgZdee defddZd	S )
    )chain)
Collection   )DocumentNode
concat_astastsreturnc                 C   s   t ttdd | D dS )zConcat ASTs.

    Provided a collection of ASTs, presumably each from different files, concatenate
    the ASTs together into batched AST, useful for validating many GraphQL source files
    which together represent one conceptual application.
    c                 s   s    | ]}|j V  qd S )Ndefinitions).0document r   s/var/www/html/riverr-enterprise-integrations-main/venv/lib/python3.10/site-packages/graphql/utilities/concat_ast.py	<genexpr>   s    zconcat_ast.<locals>.<genexpr>r	   )r   listr   from_iterable)r   r   r   r   r   	   s   N)	itertoolsr   typingr   language.astr   __all__r   r   r   r   r   <module>   s
    