MCPcopy Create free account
hub / github.com/hey-api/hey-api / exceptKey

Function exceptKey

packages/openapi-python/src/py-dsl/stmt/try.ts:21–26  ·  view source on GitHub ↗
(types: Array<ExceptType>)

Source from the content-addressed store, hash-verified

19}
20
21function exceptKey(types: Array<ExceptType>): string {
22 return types
23 .map((t) => (typeof t === 'string' ? t : '<<expr>>'))
24 .sort()
25 .join(',');
26}
27
28export class TryPyDsl extends Mixed {
29 readonly '~dsl' = 'TryPyDsl';

Callers 1

exceptMethod · 0.85

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected