Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bufbuild/buf-examples
/ ViolationSpec
Class
ViolationSpec
protovalidate/grpc-python/start/invoice_server_test.py:34–37 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
32
33
@dataclass
34
class
ViolationSpec:
35
rule_id: str
36
field_path: str
37
message: str
38
39
40
class
InvoiceServerTest(unittest.TestCase):
Callers
2
test_invoice_id_must_be_a_uuid
Method · 0.70
test_two_line_items_cannot_have_the_same_product_id_and_unit_price
Method · 0.70
Calls
no outgoing calls
Tested by
2
test_invoice_id_must_be_a_uuid
Method · 0.56
test_two_line_items_cannot_have_the_same_product_id_and_unit_price
Method · 0.56