Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/sqlalchemy_jsonfield/__init__.py: 86%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

14 statements  

1# Copyright 2016-2022 Alexey Stepanov aka penguinolog 

2# Licensed under the Apache License, Version 2.0 (the "License"); you may 

3# not use this file except in compliance with the License. You may obtain 

4# a copy of the License at 

5 

6# http://www.apache.org/licenses/LICENSE-2.0 

7 

8# Unless required by applicable law or agreed to in writing, software 

9# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 

10# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 

11# License for the specific language governing permissions and limitations 

12# under the License. 

13 

14"""Implement JSONField for SQLAlchemy.""" 

15 

16from __future__ import annotations 

17 

18# Local Implementation 

19from .jsonfield import JSONField 

20from .jsonfield import mutable_json_field 

21 

22try: # noqa: SIM105,FURB107,RUF100 

23 # Local Implementation 

24 from ._version import version as __version__ 

25except ImportError: 

26 pass 

27 

28 

29__all__ = ("JSONField", "__version__", "mutable_json_field") 

30 

31__author__ = "Alexey Stepanov <penguinolog@gmail.com>" 

32__author_email__ = "penguinolog@gmail.com" 

33__url__ = "https://github.com/penguinolog/sqlalchemy_jsonfield" 

34__description__ = "SQLALchemy JSONField implementation for storing dicts at SQL" 

35__license__ = "Apache License, Version 2.0"