Skip to content

Provider activation#561

Closed
Tishka17 wants to merge 11 commits intodevelopfrom
feature/provider_activation
Closed

Provider activation#561
Tishka17 wants to merge 11 commits intodevelopfrom
feature/provider_activation

Conversation

@Tishka17
Copy link
Copy Markdown
Member

@Tishka17 Tishka17 commented Sep 20, 2025

/closes #9
supersedes #560

While this PR considered invalid it can be used as an idea of static activator evaluation

@Tishka17
Copy link
Copy Markdown
Member Author

Tishka17 commented Sep 20, 2025

TODO:

  • check contextvar logic
  • test any predicate
  • test cycle Has deps
  • test chains of predicates
  • check names for new objects
  • check contents of Activation context
  • check Scope
  • documentation

@github-actions
Copy link
Copy Markdown

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  src/dishka
  __init__.py
  async_container.py
  container.py
  registry.py
  registry_builder.py 241, 251, 534-535
  src/dishka/dependency_source
  alias.py
  context_var.py
  decorator.py
  factory.py
  src/dishka/entities
  activator.py 16
  src/dishka/provider
  base_provider.py
  make_alias.py 24
  make_context_var.py
  make_decorator.py
  make_factory.py
  provider.py
  unpack_provides.py
Project Total  

This report was generated by python-coverage-comment-action

@sonarqubecloud
Copy link
Copy Markdown

@Tishka17
Copy link
Copy Markdown
Member Author

Tishka17 commented Apr 3, 2026

replaced with #696

@Tishka17 Tishka17 closed this Apr 3, 2026
@github-project-automation github-project-automation bot moved this to To be released in Dishka kanban Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

invalid This doesn't seem right

Projects

Status: To be released

Development

Successfully merging this pull request may close these issues.

Dynamic dependencies

3 participants