
    +'&hx
              	           d dl mZ d dlmZ d dlmZ d dlmZ dedefdZded	ed
eeeef         f         dee         defdZ	dededefdZ
defdZd
S )    )TextWrapper)Optional)Tuple)Union	docstringreturnc                     t          d          }g }|                     d          D ]*}|                    |                    |                     +d                    |          S )Nd   )widthF)keepends
)r   
splitlinesextendwrapjoin)r   wrapperlines	long_lines       Y/var/www/html/reinick/venv/lib/python3.11/site-packages/geoalchemy2/_functions_helpers.py_wrap_docstringr      sj    $$$GE))5)99 . .	W\\),,----99U    namedocNtype_c                 4   g }t          |t                    rW|                    t          |d                              |                    d                    |d                              nL|J|                    t          |                     |                    d                    |                      |Hd                    |j        |j                  }|                    d                    |                     d                    |          S )Nr   z%see https://postgis.net/docs/{0}.html   z{0}.{1}zReturn type: :class:`{0}`.z

)
isinstancetupleappendr   format
__module____name__r   )r   r   r   doc_string_partsreturn_type_strs        r   _get_docstringr%      s    #u VA 7 7888 G N NsSTv V VWWWW	 4 4555 G N Nt T TUUU#**5+;U^LL < C CO T TUUU;;'(((r   textindentc                    g }t          |                                           D ]N\  }}|dk    s|                                s|                    |           5|                    | |            Od                    |          S )Nr   r   )	enumerater   stripr   r   )r&   r'   r   ilines        r   _replace_indentr-       s    ET__..// , ,4666LLLLF*D**++++99Ur   c                  t   ddl m}  ddlm} d}|g}|                                 }|                    ddd|j        f           |D ]^\  }}}t          t          |||          d          }|d}	nd	|j	         d
|j
         d}	d| d| d|	 d}
|                    |
           _d                    |          S )zXGenerates type stubs for the dynamic functions described in `geoalchemy2/_functions.py`.r   )
_FUNCTIONS)ST_AsGeoJSONa  # this file is automatically generated
from typing import List

from sqlalchemy.sql import functions
from sqlalchemy.sql.elements import ColumnElement
from sqlalchemy.sql.selectable import FromClause

import geoalchemy2.types

class GenericFunction(functions.GenericFunction): ...

class TableRowElement(ColumnElement):
    inherit_cache: bool = ...
    """The cache is disabled for this class."""

    def __init__(self, selectable: bool) -> None: ...
    @property
    def _from_objects(self) -> List[FromClause]: ...
r0   Nz     z

    type = .z()zclass z(GenericFunction):
    """
    z
    """r   )geoalchemy2._functionsr/   geoalchemy2.functionsr0   copyinsert__doc__r-   r%   r!   r"   r   r   )r/   r0   headerstub_file_parts	functionsr   r   	doc_partsr   type_str	signatures              r   _generate_stubsr>   *   s!   111111222222F( hO!!IQ|/CDEEE"+ * *eYnT9eDDfMM=HHN)9NNENNNNH  	  		  	 	y))))99_%%%r   )textwrapr   typingr   r   r   strr   typer%   r-   r>    r   r   <module>rD      s                                s s    ) )5sE#s(O)C#D )XVZ^ )`c ) ) ) )"# s s    .& .& .& .& .& .& .&r   