pip_services3_commons.data.IStringIdentifiable module
pip_services3_commons.data.IStringIdentifiable
Interface for identifiable data objects
- copyright
Conceptual Vision Consulting LLC 2018-2019, see AUTHORS for more details.
- license
MIT, see LICENSE for more details.
-
class
pip_services3_commons.data.IStringIdentifiable.IStringIdentifiable Bases:
pip_services3_commons.data.IIdentifiable.IIdentifiableInterface for data objects that can be uniquely identifed by a string id.
The interface extends
IIdentifiableto hardcode id type to string.It is a common pattern to use a string GUID as the id, generated by
IdGenerator.Example:
class MyData(IStringIdentifiable): id = None