otupy.profiles.dumb.profile.Profile

class Profile(nsid, name)

Bases: Profile

Dumb Profile

Defines the namespace identifier and the name of the SLPF Profile.

Methods

Attributes

fieldtypes

Types of fields

name

Unique Name

nsid

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)

base

alias of Profile

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