Skip to content

Commit

Permalink
fix: ensure accessor typing does not make static type checker error (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
z3z1ma authored Nov 23, 2023
1 parent 0601d14 commit e48813f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dlt/common/configuration/accessors.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def writable_provider(self) -> ConfigProvider:
if p.is_writable and not p.supports_secrets
)

value: ClassVar[None] = ConfigValue
value: ClassVar[Any] = ConfigValue
"A placeholder that tells dlt to replace it with actual config value during the call to a source or resource decorated function."


Expand All @@ -129,7 +129,7 @@ def writable_provider(self) -> ConfigProvider:
p for p in self._get_providers_from_context() if p.is_writable and p.supports_secrets
)

value: ClassVar[None] = ConfigValue
value: ClassVar[Any] = ConfigValue
"A placeholder that tells dlt to replace it with actual secret during the call to a source or resource decorated function."


Expand Down

0 comments on commit e48813f

Please sign in to comment.