Source code for django_pid.django_pid_impl
"""_____________________________________________________________________
:PROJECT: django PID
* Main module implementation *
:details: Main module implementation.
.. note:: -
.. todo:: -
________________________________________________________________________
"""
import logging
from django_pid.django_pid_interface import GreeterInterface
[docs]
class HelloWorld(GreeterInterface):
def __init__(self) -> None:
"""Implementation of the GreeterInterface
"""
[docs]
def greet_the_world(self, name: str) -> str:
"""greeting module - adds a name to a greeting
:param name: person to greet
:type name: str
"""
logging.debug(f"Greeting: {name}")
return f"Hello world, {name} !"