telekom / nlu-bridge

MIT License
4 stars 5 forks source link

Improvement: Use Python "Abstract Base Classes" to implement abstract base class #4

Open PhilipMay opened 2 years ago

PhilipMay commented 2 years ago

This class could be implemented by using ABS from Python:

https://github.com/telekom/nlu-bridge/blob/aa7705d0167ca111491b9b6afdc470a21e4f4c0b/nlubridge/vendors/vendors.py#L14

see here: https://docs.python.org/3/library/abc.html