File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -129,11 +129,13 @@ def create(
129129
130130 invalid_transports = configured_transports .difference (valid_transports )
131131 if invalid_transports :
132- invalid_str = ", " .join (sorted (f"'{ t } '" for t in invalid_transports ))
133- valid_str = ", " .join (sorted (valid_transports ))
132+ invalid_str = ', ' .join (
133+ sorted (f"'{ t } '" for t in invalid_transports )
134+ )
135+ valid_str = ', ' .join (sorted (valid_transports ))
134136 raise ValueError (
135- f" Unsupported transport type(s) in ClientConfig: { invalid_str } . "
136- f" Valid types are: { valid_str } "
137+ f' Unsupported transport type(s) in ClientConfig: { invalid_str } . '
138+ f' Valid types are: { valid_str } '
137139 )
138140
139141 server_preferred = card .preferred_transport or TransportProtocol .jsonrpc
Original file line number Diff line number Diff line change @@ -132,4 +132,3 @@ def test_client_factory_invalid_transport_in_config(
132132 factory = ClientFactory (config )
133133 with pytest .raises (ValueError , match = expected_match ):
134134 factory .create (base_agent_card )
135-
You can’t perform that action at this time.
0 commit comments