django_pid.django_pid_interface module


PROJECT:

django PID

  • Main module formal interface. *

details:
In larger projects, formal interfaces are helping to define a trustable contract.

Currently there are two commonly used approaches: [ABCMetadata](https://docs.python.org/3/library/abc.html) or [Python Protocols](https://peps.python.org/pep-0544/)

see also: ABC metaclass

Note


class django_pid.django_pid_interface.GreeterInterface[source]

Bases: object

Greeter formal Interface TODO: test, if ABC baseclass is wor

_abc_impl = <_abc._abc_data object>
abstract classmethod greet_the_world(name: str) str[source]

greeting module - adds a name to a greeting

Parameters:

name (str) – person to greet