File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -9646,6 +9646,8 @@ components:
96469646 type: object
96479647 NotebookGlobalTime:
96489648 description: Notebook global timeframe.
9649+ example:
9650+ live_span: 1h
96499651 oneOf:
96509652 - $ref: '#/components/schemas/NotebookRelativeTime'
96519653 - $ref: '#/components/schemas/NotebookAbsoluteTime'
@@ -14820,6 +14822,7 @@ components:
1482014822 SyntheticsAssertionTargetValue:
1482114823 description: Value used by the operator in assertions. Can be either a number
1482214824 or string.
14825+ example: 0.0
1482314826 oneOf:
1482414827 - $ref: '#/components/schemas/SyntheticsAssertionTargetValueNumber'
1482514828 - $ref: '#/components/schemas/SyntheticsAssertionTargetValueString'
Original file line number Diff line number Diff line change @@ -2361,6 +2361,7 @@ components:
23612361 - $ref: '#/components/schemas/ActionQueryMockedOutputsObject'
23622362 ActionQueryMockedOutputsEnabled:
23632363 description: Whether to enable the mocked outputs for testing.
2364+ example: false
23642365 oneOf:
23652366 - type: boolean
23662367 - description: If this is a string, it must be a valid JavaScript expression
@@ -2450,6 +2451,7 @@ components:
24502451 type: string
24512452 ActionQuerySpec:
24522453 description: The definition of the action query.
2454+ example: ''
24532455 oneOf:
24542456 - type: string
24552457 - $ref: '#/components/schemas/ActionQuerySpecObject'
@@ -13516,6 +13518,7 @@ components:
1351613518 type: object
1351713519 CustomAttributeValuesUnion:
1351813520 description: Union of supported value for a custom attribute
13521+ example: ''
1351913522 oneOf:
1352013523 - $ref: '#/components/schemas/CustomAttributeStringValue'
1352113524 - $ref: '#/components/schemas/CustomAttributeMultiStringValue'
@@ -33546,6 +33549,7 @@ components:
3354633549 ObservabilityPipelineOcsfMapperProcessorMappingMapping:
3354733550 description: Defines a single mapping rule for transforming logs into the OCSF
3354833551 schema.
33552+ example: CloudTrail Account Change
3354933553 oneOf:
3355033554 - $ref: '#/components/schemas/ObservabilityPipelineOcsfMappingLibrary'
3355133555 ObservabilityPipelineOcsfMapperProcessorType:
Original file line number Diff line number Diff line change @@ -75,7 +75,9 @@ def is_primitive(schema):
7575
7676
7777def block_comment (comment , prefix = "#" , first_line = True ):
78- lines = (comment or "" ).split ("\n " )
78+ if not comment :
79+ return ""
80+ lines = comment .split ("\n " )
7981 start = "" if first_line else lines [0 ] + "\n "
8082 return (start + "\n " .join (f"{ prefix } { line } " .rstrip () for line in lines [(0 if first_line else 1 ) :])).rstrip ()
8183
You can’t perform that action at this time.
0 commit comments