-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(feat) Support document expiry #936
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, see the comment about problem with linters.
# Create a ServicesConfiguration with document-expiry set to 1 day (timestamp > now() - 86400) | ||
services_config = ServicesConfiguration( | ||
application_name=application_name, | ||
services_config=services( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Starting here linters complain that services, container, etc are not defined.
They can't see dynamically generated imports.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ref offline chat, I consider this as resolved for now, and taking a look on whether we can support this in the future.
When using linter-settings as defined inpyproject.toml
these errors are ignored.
I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.
Why
Ref. #854.
What
ServicesConfiguration
-approach.validate_services
-function (with tests).The intention is to add more examples to the
advanced-configuration.ipynb
as we go.