Skip to content
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

Merged
merged 24 commits into from
Sep 26, 2024
Merged

Conversation

thomasht86
Copy link
Collaborator

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

The intention is to add more examples to the advanced-configuration.ipynb as we go.

Copy link
Contributor

@glebashnik glebashnik left a 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(
Copy link
Contributor

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.

Copy link
Collaborator Author

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.

@thomasht86 thomasht86 merged commit 81e7edd into master Sep 26, 2024
45 checks passed
@thomasht86 thomasht86 deleted the thomasht86/support-document-expiry branch September 26, 2024 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants