Skip to main content

A package to be used to store classes used among Telus Bulk repositories of TMF-645, TMF-620 and AMS models

Project description

telus-bulk-types-pypi

Import models using

from telus_bulk.models

E.g

from telus_bulk.models.worker_job import AddressProcessingJob
job_data: AddressProcessingJob = AddressProcessingJob.parse_raw(message.data)

PYTEST

The .env file must have the PYTHONPATH variable

PYTHONPATH=src

Changelog

1.3.6

  • Optional "timeout" parameter to http_get, http_post, async_http_get, async_http_post methods

1.3.5

  • Added has_incomplete_items field to ReportAddress and ReportAddressUpdateDto

1.3.4

  • Removed province_full_coverage and city_coverage flags from RelatedParty object, deprecated

1.3.2

  • Added "index" field to ReportAddress and service_ref_or_value.py

1.3.1

  • Added "Status" enum and "status" field to RelatedParty object

1.3.0

  • Created module with async def support HTTPX methods GET and POST

1.2.9

  • Added optional 'customerName' field to models/tmf_645/related_party.py

1.2.8

  • Added ThreadJob class to be a helper for Oauth access token fetch

1.2.6

  • City Alias Class and field in PlaceAMS added

1.2.6

  • modified province attribute and added cityCoverage for related party

1.2.4

  • add province capability to related party for tmf-632 organizations short response

1.2.2:

  • Reports models updated using new clli implementation

1.2.1:

  • CLLI: model updated

1.2.0:

  • Reports full support

1.1.19:

  • ReportsAddressUpdateDto and Reports default value updated

1.1.18:

  • ReportsAddressUpdateDto

1.1.17:

  • Reports CamelCase models with tests

1.1.16:

  • checkServiceQualificationCreate.relatedParty added default value (SFDC)

1.1.15:

  • Clli model added
  • CheckServiceQualificationItem.place.clli added

1.1.14:

  • CheckServiceQualificationItem.expiration_date added pre validator to parse to datetime

1.1.12:

  • http_post set default content_type to "FORM-ENCODED" for backward compatibility
  • createdAt in models Union["Any"]

1.1.12:

  • Typo: Overall file updated names

1.1.11:

  • OverallProcessorType created, OverAllData updated [field created: processor_type ]
  • ServiceEligibilityUnavailabilityReason [Field created: construction_charge, comments]
  • Httpx helper class post with application/json support

1.1.9:

  • CheckServiceQualification and CheckServiceQualificationItem models updated with createdAt field
  • OverAllProcessStatus, OverAllProcess, OverAllData classes created

1.1.8:

  • Pagination model validated for page to always be greater than 1
  • CheckServiceQualificationItem:
    effective_qualification_item_date create as str
    expiration_date updated from datetime to str
  • ServiceRefOrValue
    service_specification updated to Union of List[ServiceSpecificationRef] | List[ServiceSpecification]

1.1.6:

  • PageDto paginationMetadata -> meta

1.1.6:

  • Added pagination models and pytest

1.1.5:

  • Added RelatedParty class to CityCoverageProcessedJob.relatedParty, instead of a string array
  • WebMethods init module updated to export get and post methods
  • 645/service/place updated priority to match first PlaceAMS class

1.1.3:

  • Added Web Methods

1.1.0:

  • Added more AMS fields to PlaceAMS, First demo ready!

1.0.7:

  • Added more AMS fields to PlaceAMS

1.0.6:

  • Partner list bug fix

1.0.5:

  • Added supported partners enum and list

1.0.3:

  • Optional AMS Coordinates object fields, except for latitude and longitude

1.0.2:

  • Added CityCoverageProcessedJob class
  • CSQI service supports a PlaceAms as Place

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

telus_bulk-1.3.6.tar.gz (25.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

telus_bulk-1.3.6-py3-none-any.whl (68.4 kB view details)

Uploaded Python 3

File details

Details for the file telus_bulk-1.3.6.tar.gz.

File metadata

  • Download URL: telus_bulk-1.3.6.tar.gz
  • Upload date:
  • Size: 25.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.11

File hashes

Hashes for telus_bulk-1.3.6.tar.gz
Algorithm Hash digest
SHA256 d1604e60ecca32e786b989deea991b47d3257ab333f74bb3fc852681723159d1
MD5 98852fe7a3675118139db9ba25d9453c
BLAKE2b-256 4044a6f9239ebd09f4e3e38a9882f3be36094f82d73bc4ccf842b55cd772df22

See more details on using hashes here.

File details

Details for the file telus_bulk-1.3.6-py3-none-any.whl.

File metadata

  • Download URL: telus_bulk-1.3.6-py3-none-any.whl
  • Upload date:
  • Size: 68.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.11

File hashes

Hashes for telus_bulk-1.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3d2a68ac7ef47dd45d8877e7ed5f844b3e3ead8869dfb0e16c24c050e82adcad
MD5 1c87a8b52c17b654e0d890bc7f8c39a0
BLAKE2b-256 1b5b3f1c38b110b1028a2e4604d6568ec194cc0ddc706622cb4b3d7767b47655

See more details on using hashes here.

Supported by

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