File tree Expand file tree Collapse file tree 7 files changed +24
-44
lines changed
providers/openfeature-provider-flagd
src/openfeature/contrib/provider/flagd/resolvers/process/connector Expand file tree Collapse file tree 7 files changed +24
-44
lines changed Original file line number Diff line number Diff line change 3737 submodules : recursive
3838
3939 - name : Set up Python ${{ matrix.python-version }}
40- uses : actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
40+ uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
4141 with :
4242 python-version : ${{ matrix.python-version }}
4343 cache : " pip"
6060
6161 - if : matrix.python-version == '3.11'
6262 name : Upload coverage to Codecov
63- uses : codecov/codecov-action@5a605bd92782ce0810fa3b8acc235c921b497052 # v5.2.0
63+ uses : codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5.3.1
6464 with :
6565 name : Code Coverage for ${{ matrix.package }} on Python ${{ matrix.python-version }}
6666 directory : ${{ matrix.package }}
7373
7474 steps :
7575 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
76- - uses : actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
76+ - uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
7777 with :
7878 python-version : " 3.11"
7979 cache : " pip"
@@ -91,10 +91,10 @@ jobs:
9191 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
9292
9393 - name : Initialize CodeQL
94- uses : github/codeql-action/init@dd196fa9ce80b6bacc74ca1c32bd5b0ba22efca7 # v3
94+ uses : github/codeql-action/init@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3
9595 with :
9696 languages : python
9797 config-file : ./.github/codeql-config.yml
9898
9999 - name : Perform CodeQL Analysis
100- uses : github/codeql-action/analyze@dd196fa9ce80b6bacc74ca1c32bd5b0ba22efca7 # v3
100+ uses : github/codeql-action/analyze@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3
Original file line number Diff line number Diff line change 5151 with :
5252 submodules : recursive
5353
54- - uses : actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
54+ - uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
5555 with :
5656 python-version : ' 3.13'
5757
Original file line number Diff line number Diff line change 11default_stages : [commit]
22repos :
33 - repo : https://github.com/astral-sh/ruff-pre-commit
4- rev : v0.9.2
4+ rev : v0.9.4
55 hooks :
66 - id : ruff
77 args : [--fix]
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ dependencies = [
4040 " pytest-bdd" ,
4141 " testcontainers" ,
4242 " asserts" ,
43- " grpcio-health-checking==1.69 .0" ,
43+ " grpcio-health-checking==1.70 .0" ,
4444]
4545pre-install-commands = [
4646 " hatch build" ,
Original file line number Diff line number Diff line change 11[pytest]
22markers =
33 rpc: tests for rpc mode.
4- in-process: tests for rpc mode.
4+ in-process: tests for in-process mode.
5+ file: tests for file mode.
6+ unavailable: tests for unavailable providers.
57 customCert: Supports custom certs.
68 unixsocket: Supports unixsockets.
79 targetURI: Supports targetURI.
@@ -15,4 +17,6 @@ markers =
1517 sync: Supports sync.
1618 caching: Supports caching.
1719 offline: Supports offline.
20+ os.linux: linux mark.
21+ stream: Supports streams.
1822bdd_features_base_dir = tests/features
Original file line number Diff line number Diff line change 1+ import typing
2+
3+ from openfeature .evaluation_context import EvaluationContext
4+
5+
6+ class FlagStateConnector (typing .Protocol ):
7+ def initialize (
8+ self , evaluation_context : EvaluationContext
9+ ) -> None : ... # pragma: no cover
10+
11+ def shutdown (self ) -> None : ... # pragma: no cover
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments