Skip to content

utils

Utilities for EasyPeasy.

utils

Utility functions for EasyPeasy.

dummy_method(left, right)

Dummy method for testing.

It concatenates the left and right strings.

Parameters:

Name Type Description Default
left str

Left side of the new string.

required
right str

Right side of the new string.

required

Returns:

Type Description
str

The output string.

Source code in src/easypeasy/utils/utils.py
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
def dummy_method(
    left: str,
    right: str,
) -> str:
    """
    Dummy method for testing.

    It concatenates the left and right strings.

    Parameters
    ----------
    left : str
        Left side of the new string.
    right : str
        Right side of the new string.

    Returns
    -------
    str
        The output string.
    """

    logger.debug('Calling dummy method')

    return left + right