PK#

class biopax-explorer.pattern.pattern.PK(pk, cls=None)[source]#

Bases: PK

Utility class to mock model entities with a lower memory footprint.

Args:

pk (str): Primary key of the entity (URI). cls (str): Simple entity class name.

Methods

to_json