
    Cj                    :    S SK Jr  S SKJr   S       SS jjrg)    )annotations)datetimeNc                    Uc$  [         R                  " 5       R                  5       nO$[         R                  " 5       R                  U5      nU  SU 3nS H  nUR	                  US5      nM     XA-   $ )a  Generate a filename which includes the current date and time.

Useful for ensuring a degree of uniqueness when saving files.

Args:
    prefix: Prefix to attach to the start of the filename, before the timestamp string.
    suffix: Suffix to attach to the end of the filename, after the timestamp string.
        This should include the file extension.
    datetime_format: The format of the datetime to include in the filename.
        If None, the ISO format will be used.
 z <>:"/\|?*._)r   now	isoformatstrftimereplace)prefixsuffixdatetime_formatdtfile_name_stemreserveds         `/home/rurouni/.local/share/pipx/venvs/strix-agent/lib/python3.13/site-packages/textual/_files.pygenerate_datetime_filenamer      si     \\^%%'\\^$$_5xq%N"'//#> #""    )N)r   strr   r   r   z
str | Nonereturnr   )
__future__r   r   r    r   r   <module>r      s6    "  =A###/9##r   