Imio.helpers

Latest version: v0.80

Safety actively analyzes 640072 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 19

0.54

-----------------

- Added `content.get_vocab_value` based on `content.get_vocab` but returns
the values (`attr_name='token'` by default, may also be `value` or `title`).
[gbastien]
- Added `EnhancedTerm` based on `SimpleTerm` providing `attrs` dict on term
[sgeulette]
- Added `cache.cleanForeverCache` that will clear cache of functions using the
`forever.memoize` decorator.
[gbastien]

0.53

-----------------

- Refactored `get_object`
[sgeulette]

0.52

-----------------

- Added `cache.obj_modified` function that returns max value between
obj.modified(), obj._p_mtime and __anotations__._p_mtime
[sgeulette]
- Added `cache.extract_wrapped` function that returns original decorated function.
Useful to compare cached and non cached results in tests.
[sgeulette]
- Updated git fetch url
[sgeulette]

0.51

-----------------

- Added monkey patch to handle SSL mailer on port 465.
[sgeulette]
- Added `content.base_getattr` method that will `getattr` without acquisition.
[gbastien]

0.50

-----------------

- Added `content.get_transitions` to be able to get available transition ids
(as `wfTool.getTransitionsFor` returns a list of dict with transition infos).
[gbastien]
- Added `adapters.MissingTerms`, a base `z3c.form` missing terms adapter to be
extended by local packages.
[gbastien]
- Added cache auto invalidation mecanism when using `cache.get_cachekey_volatile`
the caller method can be passed, it's name is stored in the volatiles registry
then when calling `cache.invalidate_cachekey_volatile_for` with
`invalidate_cache=True`, every cached methods are invalidated from `ram.cache`.
This will make stale cache be invalidated immediatelly as when a date changed,
the existing cache is never used again.
[gbastien]

0.49

-----------------

- Require `plone.api>1.9.1` because we need `content._parse_object_provides_query`.
This is necessay since we added `content.find`.
[gbastien]

Page 6 of 19

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.