Package pybaz :: Module _my_id
[frames] | no frames]

Module _my_id

source code

Internal module providing my-id getting and setting.

This module implements some of public interface for the
pybaz_ package. But for convenience reasons the author prefers
to store this code in a file separate from ``__init__.py``.

.. _pybaz: pybaz-module.html

This module is strictly internal and should never be used.



Functions
 
my_id()
The current registered user id :return: the user id, for example 'John Doe <jdoe@example.org>'.
 
set_my_id(new_id)
Set the current registered user id :param new_id: new value of the user id.
Function Details

my_id()

 
The current registered user id

:return: the user id, for example 'John Doe <jdoe@example.org>'.
:rtype: str

set_my_id(new_id)

 
Set the current registered user id

:param new_id: new value of the user id.
:type new_id: str