Commit f9aa92b
committed
revert: remove frozenset coercion in ResourceSecurity.__post_init__
Passing a mutable set to a frozen dataclass and expecting hash() to
work is a caller error, not something the SDK needs to defend against.1 parent d3a0936 commit f9aa92b
2 files changed
Lines changed: 0 additions & 13 deletions
File tree
- src/mcp/server/mcpserver/resources
- tests/server/mcpserver/resources
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | 57 | | |
63 | 58 | | |
64 | 59 | | |
| |||
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | 92 | | |
101 | 93 | | |
102 | 94 | | |
| |||
0 commit comments