Skip to main content
Glama

API Docs MCP Server

version.cpython-310.pyc2.97 kB
o �I�g �@sRdZddlmZddlmZdZdZ ddd �Z dd d �Z dd d�Z ddd�Z dS)z@The `version` module holds the version information for Pydantic.�)� annotations)� __version__)�VERSION� version_infoz2.11.3�return�strcCsd�t�d�dd��S)zmReturn the `major.minor` part of Pydantic version. It returns '2.1' if Pydantic version is '2.1.1'. �.N�)�joinr�split�r r �^C:\Users\apqls\Documents\Github\tkbase\api-docs-mcp\venv\Lib\site-packages\pydantic/version.py� version_short src Csddlm}ddl}ddl}ddl}ddlm}ddlm}ddl m }hd�}g}|� �D]} | jd} | |vrD|� | �d| j ���q.|j�|j�|j�t���} |�| �ra|��ra|�| �nd } t|jt|d d�pn|j|t���j|j |��d �|�| d �} d �dd�| ��D��S)zFReturn complete version information for Pydantic and its dependencies.rN)�Path�)�_git>Ztyping_extensionsZmypyzpydantic-settingsZpyrightZfastapizpydantic-extra-typeszemail-validator�Name�-�unknownZ build_info� )zpydantic versionzpydantic-core versionzpydantic-core buildz install pathzpython version�platformzrelated packages�commit� css0�|]\}}d�|dt|��dd��VqdS)z {:>30} {}�:rrN)�formatr�replace)�.0�k�vr r r � <genexpr>As�.zversion_info.<locals>.<genexpr>)�importlib.metadata�metadata�osr�sys�pathlibrZpydantic_core._pydantic_coreZ_pydantic_core� _internalr� distributions�append�version�path�abspath�dirname�__file__Z is_git_repoZhave_gitZ git_revisionrr�getattrZ build_profile�resolve�parentr �items)Zimportlib_metadatar"rr#rZpdc�gitZ package_namesZrelated_packages�dist�nameZ pydantic_dirZmost_recent_commit�infor r r rs6      �� � r�boolcCstdkS)zBCheck that the installed `pydantic-core` dependency is compatible.z2.33.1N)�__pydantic_core_version__r r r r �check_pydantic_core_versionDsr7r(�tuple[int, int, int]cCsttt|�d�d�d���S)a>Parse `mypy` string version to a 3-tuple of ints. It parses normal version like `1.11.0` and extra info followed by a `+` sign like `1.11.0+dev.d6d9d8cd4f27c52edac1f537e236ec48a01e54cb.dirty`. Args: version: The mypy version string. Returns: A triple of ints, e.g. `(1, 11, 0)`. �+rrN)�tuple�map�int� partitionr )r(r r r �parse_mypy_versionJs r>N)rr)rr5)r(rrr8) �__doc__� __future__rZ _annotationsZ pydantic_corerr6�__all__rrrr7r>r r r r �<module>s     /

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ShotaNagafuchi/api-docs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server