Skip to content

Commit

Permalink
fix BackwardCompatibilityError
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelmaksimov committed May 11, 2021
1 parent 54f3e73 commit feba573
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Python client for [API Yandex Direct](https://yandex.ru/dev/metrika/doc/api2/concept/about-docpage/)

![Supported Python Versions](https://img.shields.io/static/v1?label=python&message=>=3.5&color=green)
![Supported Python Versions](https://img.shields.io/static/v1?label=python&message=>=3.6&color=green)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/vintasoftware/tapioca-wrapper/master/LICENSE)
[![Downloads](https://pepy.tech/badge/tapi-yandex-direct)](https://pepy.tech/project/tapi-yandex-direct)
<a href="https://github.com/psf/black"><img alt="Code style: black" src="https://img.shields.io/badge/code%20style-black-000000.svg"></a>
Expand All @@ -13,7 +13,7 @@ Prev version

Last version. Has backward incompatible changes.

pip install --upgrade tapi-yandex-direct==2021.5.1
pip install --upgrade tapi-yandex-direct==2021.5.3

## Examples

Expand Down
2 changes: 1 addition & 1 deletion tapi_yandex_direct/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

__author__ = 'Pavel Maksimov'
__email__ = 'vur21@ya.ru'
__version__ = '2021.5.2'
__version__ = '2021.5.3'


from .resource_mapping import *
Expand Down
6 changes: 3 additions & 3 deletions tapi_yandex_direct/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ def __init__(self, name):

def __str__(self):
return (
"Starting from version 2021.5.2, this {} is deprecated and not supported. "
"Starting from version 2021.5.3, this {} is deprecated and not supported. "
"Install a later version "
"'pip install --upgrade tapi-yandex-metrika==2020.12.15'. "
"Info https://github.com/pavelmaksimov/tapi-yandex-metrika"
"'pip install --upgrade tapi-yandex-direct==2020.12.15'. "
"Info https://github.com/pavelmaksimov/tapi-yandex-direct"
).format(self.name)

0 comments on commit feba573

Please sign in to comment.