Skip to content

ABC & Pylance

Roland Koller requested to merge pylance into master

Breaking: Refactored Client to be an abstract class

old:

from ecmind_blue_client import Client
from ecmind_blue_client.soap_client import SoapClient
client = Client(SoapClient(self.endpoint, 'TestApp', 'root', 'optimal'))

new:

>>> from ecmind_blue_client.soap_client import SoapClient
>>> client = SoapClient(self.endpoint, 'TestApp', 'root', 'optimal')

Pylance warnings

  • Refactored to show less pylance warnings.
  • Removed Optional[] typing where inappropriate.
  • Upgraded to XmlElement >= 0.1.5 to allow now dict-like syntax avoiding pylance warnings.

Merge request reports

Loading