collective.traverser - object lookup by interface
Introduction
This product provides a utility that returns a object which provides a given interface. The returned object could be the given object or any object down the path towards the root.
>>> from collective.traverse.interfaces import ITraverse >>> from somewhere import IMyInterface >>> root_traverser = getUtility(ITraverse, name="rootTraverser") >>> myType = root_traverser(self.context, IMyInterface)
Installation
Add this to your buildout:
- [buildout]
eggs = collective.traverse
- [instance]
zcml = collective.traverse
And then run buildout.
Changelog
collective.traverse - 1.1 [20090605]
Fixed a recursion bug when using portal_setup. There, somehow parent == context ;) [Daniel Kraft]
collective.traverse - 1.0 Unreleased
Initial package structure. [zopeskel]
Metadata
Release files for collective.traverse 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| collective.traverse-1.1.tar.gz | 4.2 kB | Without provenance | Details for collective.traverse-1.1.tar.gz |
Release files / collective.traverse-1.1.tar.gz
| Download URL | collective.traverse-1.1.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bd318f0d5cbb44e93e406d3487a8d3017ca85677624a63ce41377d6a1dee6f8b
|
|
BLAKE2b-256 checksum How to use checksums |
d447c95f9e04d26c5443e73c02155596c612c9827e9336f6586c4b3bfce23438
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for collective.traverse 1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.