Show More
@@ -644,6 +644,14 b' class engine(object):' | |||||
644 | v = self._defaults.get(key) |
|
644 | v = self._defaults.get(key) | |
645 | return v |
|
645 | return v | |
646 |
|
646 | |||
|
647 | def availableresourcekeys(self, mapping): | |||
|
648 | """Return a set of available resource keys based on the given mapping""" | |||
|
649 | return self._resources.availablekeys(self, mapping) | |||
|
650 | ||||
|
651 | def knownresourcekeys(self): | |||
|
652 | """Return a set of supported resource keys""" | |||
|
653 | return self._resources.knownkeys() | |||
|
654 | ||||
647 | def resource(self, mapping, key): |
|
655 | def resource(self, mapping, key): | |
648 | """Return internal data (e.g. cache) used for keyword/function |
|
656 | """Return internal data (e.g. cache) used for keyword/function | |
649 | evaluation""" |
|
657 | evaluation""" |
General Comments 0
You need to be logged in to leave comments.
Login now