Skip to main content

TAC Tasks input validation

Project description

tac_tasks_validation

Performs validation for tasks performed by TAC. Involves validating the data input like ONTs

Usage

Import the various validations from tac_tasks_validation

from tac_tasks_validation import OltToNewValidation
validate = OltToNewValidation(
            old_ont='some_ont_sn',
            new_ont='another_ont_sn',
            logger=logger,  # logging.Logger object
            old_db_session=old_db_session,  # sqlalchemy.orm.Session object
            old_db_radius_session=old_db_radius_session,  # sqlalchemy.orm.Session object
            new_db_session=new_db_session  # sqlalchemy.orm.Session object
        )
validate.validate_old_to_new_swap()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tac_tasks_validation-0.4.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

tac_tasks_validation-0.4-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file tac_tasks_validation-0.4.tar.gz.

File metadata

  • Download URL: tac_tasks_validation-0.4.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for tac_tasks_validation-0.4.tar.gz
Algorithm Hash digest
SHA256 17e97c4e8de656c87e45fc57e3ef178f8701f891a01f8b5a8af32fe0900580a1
MD5 8d175062f29c519e4f46eb25841caeb6
BLAKE2b-256 711437bffc92d8783cc7b45fe80861d9a434bb870a1a2780cd34eeef69046161

See more details on using hashes here.

File details

Details for the file tac_tasks_validation-0.4-py3-none-any.whl.

File metadata

  • Download URL: tac_tasks_validation-0.4-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for tac_tasks_validation-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 467e1456b91277dab9ca1770238d244b90ac8c7a59359a4401012402c33dafa8
MD5 215408c90fd314fd46f0d2b5d3793b6a
BLAKE2b-256 9bc87b232b8003f37de7f86e6c5532645931769f7c5f9e370cd88ef43f39184c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page