19 lines
419 B
Python
19 lines
419 B
Python
from __future__ import absolute_import
|
|
|
|
from .base import Immutable
|
|
|
|
|
|
class Provider(Immutable):
|
|
subsystem = "infra"
|
|
endpoint = "/provider"
|
|
namespaced = False
|
|
|
|
@classmethod
|
|
def _pk_key(cls):
|
|
return 'name'
|
|
|
|
def delete(self):
|
|
raise AttributeError("'delete' is not supported in 'Provider'")
|
|
|
|
def save(self):
|
|
raise AttributeError("'save' is not supported in 'Provider'")
|