Skip to content

Commit f5af7aa

Browse files
Rename chip namespace to matter in python packages (project-chip#38459)
* Move controller/python/chip to controller/python/matter * Update build system for Matter Python package * Update namespace in src/controller/python * Rename chip namespace to matter * Relative imports in matter.testing * Move chip.testing to matter.testing * Update matter testing build system * Update matter.testing imports * More updates for chip. to matter. * Update documentation * Update wheel names * Update documentation REPL * Update includes * Post rebase cleanups * Restyled by clang-format * Restyled by prettier-markdown * Update doc ref * Fix wheels versions * Fix flake8 warnings after merge with master * Fix imports * Make clang-tidy happy * Fix type namespace * Restyled by autopep8 * Restyled by isort * Fix missed renames * Update paths for matter testing support * Update mypy annotations * More updates --------- Co-authored-by: Restyled.io <[email protected]>
1 parent cddd7f5 commit f5af7aa

File tree

605 files changed

+4470
-4069
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

605 files changed

+4470
-4069
lines changed

.gitattributes

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# Same for files in zap-generated folders
44
**/zap-generated/** linguist-generated
55
# And some specific generated files
6-
src/controller/python/chip/clusters/CHIPClusters.py linguist-generated
7-
src/controller/python/chip/clusters/Objects.py linguist-generated
6+
src/controller/python/matter/clusters/CHIPClusters.py linguist-generated
7+
src/controller/python/matter/clusters/Objects.py linguist-generated
88
# Let bat file use CRLF linebreak
99
**/*.bat eol=crlf
1010
# Mark Matter operational certificate/key files as binary

.github/workflows/build.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -365,9 +365,9 @@ jobs:
365365
scripts/run_in_build_env.sh 'virtualenv pyenv'
366366
source pyenv/bin/activate
367367
python -m ensurepip --upgrade
368-
python -m pip install ./out/controller/python/chip_core-0.0-cp37-abi3-linux_x86_64.whl
369-
python -m pip install ./out/controller/python/chip_clusters-0.0-py3-none-any.whl
370-
python -m pip install ./out/controller/python/chip_repl-0.0-py3-none-any.whl
368+
python -m pip install ./out/controller/python/matter_core-1.0.0-cp37-abi3-linux_x86_64.whl
369+
python -m pip install ./out/controller/python/matter_clusters-1.0.0-py3-none-any.whl
370+
python -m pip install ./out/controller/python/matter_repl-1.0.0-py3-none-any.whl
371371
372372
- name: Run Python tests
373373
shell: bash
@@ -531,7 +531,7 @@ jobs:
531531
uses: ./.github/actions/checkout-submodules-and-bootstrap
532532
with:
533533
platform: linux
534-
bootstrap-log-name: bootstrap-logs-linux-${{ matrix.build_variant }}${{ matrix.chip_tool }}
534+
bootstrap-log-name: bootstrap-logs-linux-${{ matrix.build_variant }}${{ matrix.chip_tool }}
535535

536536
- name: Run Build Coverage
537537
run: ./scripts/build_coverage.sh --yaml --xml

.github/workflows/mypy-validation.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -18,77 +18,77 @@ on:
1818
push:
1919
branches: [ master ]
2020
paths:
21-
- 'src/controller/python/chip/ChipDeviceCtrl.py'
21+
- 'src/controller/python/matter/ChipDeviceCtrl.py'
2222
- 'src/python_testing/matter_testing_infrastructure/**/*.py'
2323
pull_request:
2424
paths:
25-
- 'src/controller/python/chip/ChipDeviceCtrl.py'
25+
- 'src/controller/python/matter/ChipDeviceCtrl.py'
2626
- 'src/python_testing/matter_testing_infrastructure/**/*.py'
2727

2828
jobs:
2929
mypy-check:
3030
runs-on: ubuntu-latest
3131
if: github.actor != 'restyled-io[bot]'
32-
32+
3333
container:
3434
image: ghcr.io/project-chip/chip-build:153
3535
options: --privileged --sysctl "net.ipv6.conf.all.disable_ipv6=0 net.ipv4.conf.all.forwarding=1 net.ipv6.conf.all.forwarding=1"
36-
36+
3737
steps:
3838
- name: Checkout
3939
uses: actions/checkout@v4
40-
40+
4141
- name: Checkout submodules & Bootstrap
4242
uses: ./.github/actions/checkout-submodules-and-bootstrap
4343
with:
4444
platform: linux
45-
45+
4646
- name: Build Python environment
4747
run: |
4848
scripts/run_in_build_env.sh './scripts/build_python.sh --install_virtual_env out/venv'
49-
49+
5050
- name: Run mypy validation (ChipDeviceCtrl.py)
5151
shell: bash
5252
run: |
5353
set +e
5454
55-
OUTPUT=$(./scripts/run_in_python_env.sh out/venv "mypy --config-file=src/python_testing/matter_testing_infrastructure/mypy.ini --follow-imports=skip src/controller/python/chip/ChipDeviceCtrl.py" 2>&1)
55+
OUTPUT=$(./scripts/run_in_python_env.sh out/venv "mypy --config-file=src/python_testing/matter_testing_infrastructure/mypy.ini --follow-imports=skip src/controller/python/matter/ChipDeviceCtrl.py" 2>&1)
5656
STATUS=$?
5757
5858
echo "$OUTPUT"
5959
60-
ERRORS=$(echo "$OUTPUT" | grep -c '^src/controller/python/chip/ChipDeviceCtrl.py:[0-9]\+: error:')
60+
ERRORS=$(echo "$OUTPUT" | grep -c '^src/controller/python/matter/ChipDeviceCtrl.py:[0-9]\+: error:')
6161
6262
if [ "$STATUS" -eq 0 ]; then
6363
echo "No mypy errors found in ChipDeviceCtrl.py"
6464
exit 0
6565
elif [ "$ERRORS" -gt 0 ]; then
6666
echo "Mypy found $ERRORS error(s) in ChipDeviceCtrl.py"
67-
echo "$OUTPUT" | grep '^src/controller/python/chip/ChipDeviceCtrl.py:[0-9]\+: error:'
67+
echo "$OUTPUT" | grep '^src/controller/python/matter/ChipDeviceCtrl.py:[0-9]\+: error:'
6868
exit 1
6969
else
7070
echo "Mypy exited with error but no errors in ChipDeviceCtrl.py"
7171
exit 0
7272
fi
7373
74-
74+
7575
- name: Run mypy validation
7676
run: |
7777
# List the directory to debug the file structure
78-
ls -la src/python_testing/matter_testing_infrastructure/chip/testing/
79-
78+
ls -la src/python_testing/matter_testing_infrastructure/matter/testing/
79+
8080
# TODO: Expand this list to include more files once they are mypy-compatible
8181
# Eventually we should just check all files in the chip/testing directory
82-
82+
8383
./scripts/run_in_python_env.sh out/venv "mypy --config-file=src/python_testing/matter_testing_infrastructure/mypy.ini \
84-
src/python_testing/matter_testing_infrastructure/chip/testing/apps.py \
85-
src/python_testing/matter_testing_infrastructure/chip/testing/tasks.py \
86-
src/python_testing/matter_testing_infrastructure/chip/testing/taglist_and_topology_test.py \
87-
src/python_testing/matter_testing_infrastructure/chip/testing/pics.py \
88-
src/python_testing/matter_testing_infrastructure/chip/testing/choice_conformance.py \
89-
src/python_testing/matter_testing_infrastructure/chip/testing/commissioning.py \
90-
src/python_testing/matter_testing_infrastructure/chip/testing/decorators.py \
91-
src/python_testing/matter_testing_infrastructure/chip/testing/basic_composition.py"
92-
84+
src/python_testing/matter_testing_infrastructure/matter/testing/apps.py \
85+
src/python_testing/matter_testing_infrastructure/matter/testing/tasks.py \
86+
src/python_testing/matter_testing_infrastructure/matter/testing/taglist_and_topology_test.py \
87+
src/python_testing/matter_testing_infrastructure/matter/testing/pics.py \
88+
src/python_testing/matter_testing_infrastructure/matter/testing/choice_conformance.py \
89+
src/python_testing/matter_testing_infrastructure/matter/testing/commissioning.py \
90+
src/python_testing/matter_testing_infrastructure/matter/testing/decorators.py \
91+
src/python_testing/matter_testing_infrastructure/matter/testing/basic_composition.py"
92+
9393
# Print a reminder about expanding coverage
94-
echo "⚠️ NOTE: Currently only checking a subset of files. Remember to expand coverage!"
94+
echo "⚠️ NOTE: Currently only checking a subset of files. Remember to expand coverage!"

.restyled.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ exclude:
6666
- "third_party/nanopb/repo/**/*"
6767
- "examples/android/CHIPTool/gradlew" # gradle wrapper generated file
6868
- "third_party/android_deps/gradlew" # gradle wrapper generated file
69-
- "src/controller/python/chip/clusters/Objects.py" # generated file, no point to restyle
70-
- "src/controller/python/chip/clusters/CHIPClusters.py" # generated file, no point to restyle
69+
- "src/controller/python/matter/clusters/Objects.py" # generated file, no point to restyle
70+
- "src/controller/python/matter/clusters/CHIPClusters.py" # generated file, no point to restyle
7171
- "scripts/py_matter_idl/matter/idl/tests/outputs/**/*" # Matches generated output 1:1
7272
- "scripts/tools/zap/tests/outputs/**/*" # Matches generated output 1:1
7373
- "examples/chef/sample_app_util/test_files/*.yaml"

BUILD.gn

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ if (current_toolchain != "${dir_pw_toolchain}/default:default") {
9595
"//examples/chef",
9696
"//examples/common/pigweed/rpc_console/py:chip_rpc",
9797
"//integrations/mobly:chip_mobly",
98-
"//src/python_testing/matter_testing_infrastructure:chip-testing",
98+
"//src/python_testing/matter_testing_infrastructure:matter-testing",
9999
]
100100
}
101101

@@ -128,7 +128,7 @@ if (current_toolchain != "${dir_pw_toolchain}/default:default") {
128128
"${chip_root}/scripts:matter_yamltests_distribution.wheel",
129129
"${chip_root}/scripts/py_matter_yamltests:matter-yamltests.wheel",
130130
"${chip_root}/src/controller/python:chip-repl",
131-
"${chip_root}/src/python_testing/matter_testing_infrastructure:chip-testing.wheel",
131+
"${chip_root}/src/python_testing/matter_testing_infrastructure:matter-testing.wheel",
132132
"${chip_root}/src/python_testing/post_certification_tests:matter-post-certification-tests.wheel",
133133
]
134134
}
@@ -261,7 +261,7 @@ if (current_toolchain != "${dir_pw_toolchain}/default:default") {
261261
"//scripts/py_matter_idl:matter-idl.tests",
262262
"//scripts/py_matter_yamltests:matter-yamltests.tests",
263263
"//src:tests_run",
264-
"//src/python_testing/matter_testing_infrastructure:chip-testing.tests",
264+
"//src/python_testing/matter_testing_infrastructure:matter-testing.tests",
265265

266266
# Platform test group locations.
267267
"//src/platform/silabs/tests:silabs_platform_tests_run",

build/chip/python_wheel.gni

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@ import("$dir_pw_build/python.gni")
1919
import("${chip_root}/src/system/system.gni")
2020

2121
declare_args() {
22-
chip_python_version = "0.0"
23-
chip_python_package_prefix = "chip"
22+
chip_python_version = "1.0.0"
23+
chip_python_package_prefix = "matter"
2424
chip_python_supports_stack_locking = chip_system_config_locking != "none"
2525
}
2626

27-
template("chip_python_wheel_action") {
27+
template("matter_python_wheel_action") {
2828
_dist_dir = "${root_out_dir}/controller/python"
2929

3030
_py_manifest_file = "${target_gen_dir}/${target_name}.py_manifest.json"
3131

3232
pw_python_action(target_name) {
33-
script = "build-chip-wheel.py"
33+
script = "build-matter-wheel.py"
3434
forward_variables_from(invoker, "*")
3535

3636
_py_manifest_files_rebased = []
@@ -62,13 +62,13 @@ template("chip_python_wheel_action") {
6262
write_file(_py_manifest_file, _py_manifest, "json")
6363

6464
args = [
65-
"--package_name",
65+
"--package-name",
6666
py_package_name,
67-
"--build_number",
67+
"--build-number",
6868
chip_python_version,
69-
"--build_dir",
69+
"--build-dir",
7070
rebase_path("${target_gen_dir}/${target_name}.py_build", root_build_dir),
71-
"--dist_dir",
71+
"--dist-dir",
7272
rebase_path(_dist_dir, root_build_dir),
7373
"--manifest",
7474
rebase_path(_py_manifest_file, root_build_dir),

data_model/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ To do this, perform the following steps:
139139
is updated as a part of the generate_spec_xml.py script, so it is just
140140
the zip file inclusion in this file that needs to be updated
141141
- In
142-
src/python_testing/matter_testing_infrastructure/chip/testing/spec_parsing.py
142+
src/python_testing/matter_testing_infrastructure/matter/testing/spec_parsing.py
143143
update the PrebuiltDataModelDirectory enum to add the new directory and
144144
dm_from_spec_version
145145
- Add unit tests for the new data model files to the data model file unit

docs/cluster_and_device_type_dev/how_to_add_new_dts_and_clusters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ directory:**
3030
> </struct>
3131
> ```
3232
33-
6. [src/controller/python/chip/clusters/\_\_init\_\_.py](https://github.com/project-chip/connectedhomeip/tree/master/src/controller/python/chip/clusters/__init__.py)
33+
6. [src/controller/python/matter/clusters/\_\_init\_\_.py](https://github.com/project-chip/connectedhomeip/tree/master/src/controller/python/matter/clusters/__init__.py)
3434
3535
**Enable your new cluster in the Python and Android clients** in
3636
[src/controller/data_model/controller-clusters.zap](https://github.com/project-chip/connectedhomeip/blob/master/src/controller/data_model/controller-clusters.zap)

docs/development_controllers/chip-repl/Matter_Access_Control.ipynb

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,10 @@
198198
"name": "stderr",
199199
"output_type": "stream",
200200
"text": [
201-
"2025-01-29 13:22:45 ThinkPad chip.storage[2283552] ERROR [Errno 2] No such file or directory: '/tmp/repl-storage.json'\n",
202-
"2025-01-29 13:22:45 ThinkPad chip.storage[2283552] CRITICAL Could not load configuration from /tmp/repl-storage.json - resetting configuration...\n",
203-
"2025-01-29 13:22:45 ThinkPad chip.storage[2283552] WARNING No valid SDK configuration present - clearing out configuration\n",
204-
"2025-01-29 13:22:45 ThinkPad chip.storage[2283552] WARNING No valid REPL configuration present - clearing out configuration\n"
201+
"2025-01-29 13:22:45 ThinkPad matter.storage[2283552] ERROR [Errno 2] No such file or directory: '/tmp/repl-storage.json'\n",
202+
"2025-01-29 13:22:45 ThinkPad matter.storage[2283552] CRITICAL Could not load configuration from /tmp/repl-storage.json - resetting configuration...\n",
203+
"2025-01-29 13:22:45 ThinkPad matter.storage[2283552] WARNING No valid SDK configuration present - clearing out configuration\n",
204+
"2025-01-29 13:22:45 ThinkPad matter.storage[2283552] WARNING No valid REPL configuration present - clearing out configuration\n"
205205
]
206206
},
207207
{
@@ -263,7 +263,7 @@
263263
"source": [
264264
"%reset -f\n",
265265
"import importlib.util\n",
266-
"spec = importlib.util.find_spec('chip.ChipReplStartup')\n",
266+
"spec = importlib.util.find_spec('matter.ChipReplStartup')\n",
267267
"%run {spec.origin}"
268268
]
269269
},
@@ -387,7 +387,7 @@
387387
"\n",
388388
"\u001b[1m{\u001b[0m\n",
389389
"\u001b[2;32m│ \u001b[0m\u001b[1;36m0\u001b[0m: \u001b[1m{\u001b[0m\n",
390-
"\u001b[2;32m│ │ \u001b[0m\u001b[1m<\u001b[0m\u001b[1;95mclass\u001b[0m\u001b[39m \u001b[0m\u001b[32m'chip.clusters.Objects.OperationalCredentials'\u001b[0m\u001b[39m>: \u001b[0m\u001b[1;35mOperationalCredentials\u001b[0m\u001b[1;39m(\u001b[0m\n",
390+
"\u001b[2;32m│ │ \u001b[0m\u001b[1m<\u001b[0m\u001b[1;95mclass\u001b[0m\u001b[39m \u001b[0m\u001b[32m'matter.clusters.Objects.OperationalCredentials'\u001b[0m\u001b[39m>: \u001b[0m\u001b[1;35mOperationalCredentials\u001b[0m\u001b[1;39m(\u001b[0m\n",
391391
"\u001b[2;32m│ │ │ \u001b[0m\u001b[1;39m(\u001b[0m\u001b[39mdata version\u001b[0m\u001b[1;39m)\u001b[0m\u001b[39m=\u001b[0m\u001b[1;36m3950260077\u001b[0m\u001b[39m,\u001b[0m\n",
392392
"\u001b[2;32m│ │ │ \u001b[0m\u001b[33mNOCs\u001b[0m\u001b[39m=\u001b[0m\u001b[1;39m[\u001b[0m\n",
393393
"\u001b[2;32m│ │ │ │ \u001b[0m\u001b[1;35mNOCStruct\u001b[0m\u001b[1;39m(\u001b[0m\n",
@@ -487,9 +487,9 @@
487487
"\n",
488488
"\u001b[1m{\u001b[0m\n",
489489
"\u001b[2;32m│ \u001b[0m\u001b[1;36m0\u001b[0m: \u001b[1m{\u001b[0m\n",
490-
"\u001b[2;32m│ │ \u001b[0m\u001b[1m<\u001b[0m\u001b[1;95mclass\u001b[0m\u001b[39m \u001b[0m\u001b[32m'chip.clusters.Objects.AccessControl'\u001b[0m\u001b[39m>: \u001b[0m\u001b[1;39m{\u001b[0m\n",
491-
"\u001b[2;32m│ │ │ \u001b[0m\u001b[39m<class \u001b[0m\u001b[32m'chip.clusters.Attribute.DataVersion'\u001b[0m\u001b[39m>: \u001b[0m\u001b[1;36m318338779\u001b[0m\u001b[39m,\u001b[0m\n",
492-
"\u001b[2;32m│ │ │ \u001b[0m\u001b[39m<class \u001b[0m\u001b[32m'chip.clusters.Objects.AccessControl.Attributes.Acl'\u001b[0m\u001b[39m>: \u001b[0m\u001b[1;39m[\u001b[0m\n",
490+
"\u001b[2;32m│ │ \u001b[0m\u001b[1m<\u001b[0m\u001b[1;95mclass\u001b[0m\u001b[39m \u001b[0m\u001b[32m'matter.clusters.Objects.AccessControl'\u001b[0m\u001b[39m>: \u001b[0m\u001b[1;39m{\u001b[0m\n",
491+
"\u001b[2;32m│ │ │ \u001b[0m\u001b[39m<class \u001b[0m\u001b[32m'matter.clusters.Attribute.DataVersion'\u001b[0m\u001b[39m>: \u001b[0m\u001b[1;36m318338779\u001b[0m\u001b[39m,\u001b[0m\n",
492+
"\u001b[2;32m│ │ │ \u001b[0m\u001b[39m<class \u001b[0m\u001b[32m'matter.clusters.Objects.AccessControl.Attributes.Acl'\u001b[0m\u001b[39m>: \u001b[0m\u001b[1;39m[\u001b[0m\n",
493493
"\u001b[2;32m│ │ │ │ \u001b[0m\u001b[1;35mAccessControlEntryStruct\u001b[0m\u001b[1;39m(\u001b[0m\n",
494494
"\u001b[2;32m│ │ │ │ │ \u001b[0m\u001b[33mprivilege\u001b[0m\u001b[39m=<AccessControlEntryPrivilegeEnum.kAdminister: \u001b[0m\u001b[1;36m5\u001b[0m\u001b[39m>,\u001b[0m\n",
495495
"\u001b[2;32m│ │ │ │ │ \u001b[0m\u001b[33mauthMode\u001b[0m\u001b[39m=<AccessControlEntryAuthModeEnum.kCase: \u001b[0m\u001b[1;36m2\u001b[0m\u001b[1m>\u001b[0m,\n",
@@ -554,7 +554,7 @@
554554
}
555555
],
556556
"source": [
557-
"acl = data[0][chip.clusters.Objects.AccessControl][chip.clusters.Objects.AccessControl.Attributes.Acl]\n",
557+
"acl = data[0][matter.clusters.Objects.AccessControl][matter.clusters.Objects.AccessControl.Attributes.Acl]\n",
558558
"acl"
559559
]
560560
},
@@ -691,9 +691,9 @@
691691
"\n",
692692
"\u001b[1m{\u001b[0m\n",
693693
"\u001b[2;32m│ \u001b[0m\u001b[1;36m0\u001b[0m: \u001b[1m{\u001b[0m\n",
694-
"\u001b[2;32m│ │ \u001b[0m\u001b[1m<\u001b[0m\u001b[1;95mclass\u001b[0m\u001b[39m \u001b[0m\u001b[32m'chip.clusters.Objects.AccessControl'\u001b[0m\u001b[39m>: \u001b[0m\u001b[1;39m{\u001b[0m\n",
695-
"\u001b[2;32m│ │ │ \u001b[0m\u001b[39m<class \u001b[0m\u001b[32m'chip.clusters.Attribute.DataVersion'\u001b[0m\u001b[39m>: \u001b[0m\u001b[1;36m318338782\u001b[0m\u001b[39m,\u001b[0m\n",
696-
"\u001b[2;32m│ │ │ \u001b[0m\u001b[39m<class \u001b[0m\u001b[32m'chip.clusters.Objects.AccessControl.Attributes.Acl'\u001b[0m\u001b[39m>: \u001b[0m\u001b[1;39m[\u001b[0m\n",
694+
"\u001b[2;32m│ │ \u001b[0m\u001b[1m<\u001b[0m\u001b[1;95mclass\u001b[0m\u001b[39m \u001b[0m\u001b[32m'matter.clusters.Objects.AccessControl'\u001b[0m\u001b[39m>: \u001b[0m\u001b[1;39m{\u001b[0m\n",
695+
"\u001b[2;32m│ │ │ \u001b[0m\u001b[39m<class \u001b[0m\u001b[32m'matter.clusters.Attribute.DataVersion'\u001b[0m\u001b[39m>: \u001b[0m\u001b[1;36m318338782\u001b[0m\u001b[39m,\u001b[0m\n",
696+
"\u001b[2;32m│ │ │ \u001b[0m\u001b[39m<class \u001b[0m\u001b[32m'matter.clusters.Objects.AccessControl.Attributes.Acl'\u001b[0m\u001b[39m>: \u001b[0m\u001b[1;39m[\u001b[0m\n",
697697
"\u001b[2;32m│ │ │ │ \u001b[0m\u001b[1;35mAccessControlEntryStruct\u001b[0m\u001b[1;39m(\u001b[0m\n",
698698
"\u001b[2;32m│ │ │ │ │ \u001b[0m\u001b[33mprivilege\u001b[0m\u001b[39m=<AccessControlEntryPrivilegeEnum.kAdminister: \u001b[0m\u001b[1;36m5\u001b[0m\u001b[39m>,\u001b[0m\n",
699699
"\u001b[2;32m│ │ │ │ │ \u001b[0m\u001b[33mauthMode\u001b[0m\u001b[39m=<AccessControlEntryAuthModeEnum.kCase: \u001b[0m\u001b[1;36m2\u001b[0m\u001b[39m>,\u001b[0m\n",
@@ -898,9 +898,9 @@
898898
"\n",
899899
"\u001b[1m{\u001b[0m\n",
900900
"\u001b[2;32m│ \u001b[0m\u001b[1;36m0\u001b[0m: \u001b[1m{\u001b[0m\n",
901-
"\u001b[2;32m│ │ \u001b[0m\u001b[1m<\u001b[0m\u001b[1;95mclass\u001b[0m\u001b[39m \u001b[0m\u001b[32m'chip.clusters.Objects.AccessControl'\u001b[0m\u001b[39m>: \u001b[0m\u001b[1;39m{\u001b[0m\n",
902-
"\u001b[2;32m│ │ │ \u001b[0m\u001b[39m<class \u001b[0m\u001b[32m'chip.clusters.Attribute.DataVersion'\u001b[0m\u001b[39m>: \u001b[0m\u001b[1;36m318338786\u001b[0m\u001b[39m,\u001b[0m\n",
903-
"\u001b[2;32m│ │ │ \u001b[0m\u001b[39m<class \u001b[0m\u001b[32m'chip.clusters.Objects.AccessControl.Attributes.Acl'\u001b[0m\u001b[39m>: \u001b[0m\u001b[1;39m[\u001b[0m\n",
901+
"\u001b[2;32m│ │ \u001b[0m\u001b[1m<\u001b[0m\u001b[1;95mclass\u001b[0m\u001b[39m \u001b[0m\u001b[32m'matter.clusters.Objects.AccessControl'\u001b[0m\u001b[39m>: \u001b[0m\u001b[1;39m{\u001b[0m\n",
902+
"\u001b[2;32m│ │ │ \u001b[0m\u001b[39m<class \u001b[0m\u001b[32m'matter.clusters.Attribute.DataVersion'\u001b[0m\u001b[39m>: \u001b[0m\u001b[1;36m318338786\u001b[0m\u001b[39m,\u001b[0m\n",
903+
"\u001b[2;32m│ │ │ \u001b[0m\u001b[39m<class \u001b[0m\u001b[32m'matter.clusters.Objects.AccessControl.Attributes.Acl'\u001b[0m\u001b[39m>: \u001b[0m\u001b[1;39m[\u001b[0m\n",
904904
"\u001b[2;32m│ │ │ │ \u001b[0m\u001b[1;35mAccessControlEntryStruct\u001b[0m\u001b[1;39m(\u001b[0m\n",
905905
"\u001b[2;32m│ │ │ │ │ \u001b[0m\u001b[33mprivilege\u001b[0m\u001b[39m=<AccessControlEntryPrivilegeEnum.kAdminister: \u001b[0m\u001b[1;36m5\u001b[0m\u001b[39m>,\u001b[0m\n",
906906
"\u001b[2;32m│ │ │ │ │ \u001b[0m\u001b[33mauthMode\u001b[0m\u001b[39m=<AccessControlEntryAuthModeEnum.kCase: \u001b[0m\u001b[1;36m2\u001b[0m\u001b[39m>,\u001b[0m\n",

0 commit comments

Comments
 (0)