otupy.profiles.dumb.profile.Profile
- class Profile(nsid, name)
Bases:
ProfileDumb Profile
Defines the namespace identifier and the name of the SLPF Profile.
Methods
Attributes
Types of fields
Unique Name
Namespace Identifier
register- __init__(nsid, name)
Creates the Profile
A Profile is identified by its namespace identifier and unique name. :param nsid: the Profile NameSpace IDentifier :param name: the Profile Unique Name (typically a URL)
- fieldtypes = {'name': <class 'str'>, 'nsid': <class 'str'>}
Types of fields
The fieldtypes definition is not used in the current implementation. It is only provided for compatibility with the extensibility mechanism. It might be used in the future.
- name = 'dumb-profile-for-testing'
Unique Name
- nsid = 'x-dumb'
Namespace Identifier