Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ changelog
- Implement the instance ACLs interface.
- Implement the instance bound ACLs interface.
- Implement the auth._verify method for token verification.
- Allowing instances to be extensible.

0.3.x
-----
Expand Down
2 changes: 1 addition & 1 deletion objectrocket/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# Import this object for ease of access.
from objectrocket.client import Client # noqa

VERSION = ('0', '4', '0')
VERSION = ('0', '4', '1')
__version__ = '.'.join(VERSION)
1 change: 1 addition & 0 deletions objectrocket/bases.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ def _register_extensions(self, namespace):
'extensions.classes.{}'.format(namespace),
propagate_map_exceptions=True
)

if extmanager.extensions:
extmanager.map(util.register_extension_class, base=self)

Expand Down
5 changes: 4 additions & 1 deletion objectrocket/instances/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
logger = logging.getLogger(__name__)


class Instances(bases.BaseOperationsLayer):
class Instances(bases.BaseOperationsLayer, bases.Extensible):
"""Instance operations.

:param objectrocket.client.Client base_client: An instance of objectrocket.client.Client.
Expand All @@ -23,6 +23,9 @@ class Instances(bases.BaseOperationsLayer):
def __init__(self, base_client):
super(Instances, self).__init__(base_client=base_client)

# Register any extensions for this class.
self._register_extensions('objectrocket.instances.Instances')

#####################
# Public interface. #
#####################
Expand Down