I'm having an issue where when I run the program it outputs a python file but claims there are no types
{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"BoundingRegion": {
"properties": {
"__typename": {
"const": "BoundingRegion",
"type": "string"
},
"bottomLeft": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
},
"bottomRight": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
},
"pageNum": {
"type": "number"
},
"topLeft": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
},
"topRight": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
},
"ContextDomain": {
"properties": {
"__typename": {
"const": "ContextDomain",
"type": "string"
},
"context": {
"type": "string"
},
"contextType": {
"type": "string"
},
"documentId": {
"type": "string"
},
"embeddedText": {
"type": "string"
},
"page": {
"properties": {
"__typename": {
"const": "PageRange",
"type": "string"
},
"end": {
"type": "number"
},
"start": {
"type": "number"
}
},
"type": "object"
},
"query": {
"type": "string"
},
"ranking": {
"type": "number"
},
"section": {
"type": "string"
}
},
"type": "object"
},
"Exact": {
"type": "object"
},
"Filter": {
"properties": {
"__typename": {
"const": "Filter",
"type": "string"
},
"key": {}
},
"type": "object"
},
"Incremental": {
"anyOf": [
{
"$ref": "#/definitions/T_2"
},
{
"$ref": "#/definitions/{[PinkeyofT]?:Pextends\"$fragmentName\"|\"__typename\"?T[P]:never;}"
}
]
},
"InputMaybe": {
"type": "object"
},
"MakeEmpty": {
"type": "object"
},
"MakeMaybe": {
"allOf": [
{
"$ref": "#/definitions/Omit<T,K>_1"
},
{
"$ref": "#/definitions/{[SubKeyinK]:T[SubKey];}"
}
]
},
"MakeOptional": {
"allOf": [
{
"$ref": "#/definitions/Omit<T,K>"
},
{
"$ref": "#/definitions/{[SubKeyinK]?:T[SubKey];}"
}
]
},
"Maybe": {
"type": "object"
},
"Omit<T,K>": {
"type": "object"
},
"Omit<T,K>_1": {
"type": "object"
},
"PageRange": {
"properties": {
"__typename": {
"const": "PageRange",
"type": "string"
},
"end": {
"type": "number"
},
"start": {
"type": "number"
}
},
"type": "object"
},
"PayloadElement": {
"properties": {
"__typename": {
"const": "PayloadElement",
"type": "string"
},
"id": {},
"vector": {
"items": {
"type": "number"
},
"type": "array"
}
},
"type": "object"
},
"PineconeParallelUpsertParams": {
"properties": {
"__typename": {
"const": "PineconeParallelUpsertParams",
"type": "string"
},
"iterablePayload": {
"items": {
"properties": {
"__typename": {
"const": "PayloadElement",
"type": "string"
},
"id": {},
"vector": {
"items": {
"type": "number"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"poolThreads": {
"type": "number"
}
},
"type": "object"
},
"PineconeQueryParams": {
"properties": {
"__typename": {
"const": "PineconeQueryParams",
"type": "string"
},
"filter": {
"properties": {
"__typename": {
"const": "Filter",
"type": "string"
},
"key": {}
},
"type": "object"
},
"includeMetadata": {
"type": "boolean"
},
"includeValues": {
"type": "boolean"
},
"sparseVector": {
"properties": {
"__typename": {
"const": "SparseVector",
"type": "string"
},
"key": {}
},
"type": "object"
},
"topK": {
"type": "number"
},
"vector": {
"items": {
"type": "number"
},
"type": "array"
}
},
"type": "object"
},
"Point": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
},
"Scalars": {
"description": "All built-in and custom scalars, mapped to their actual values",
"properties": {
"Boolean": {
"properties": {
"input": {
"type": "boolean"
},
"output": {
"type": "boolean"
}
},
"type": "object"
},
"Float": {
"properties": {
"input": {
"type": "number"
},
"output": {
"type": "number"
}
},
"type": "object"
},
"ID": {
"properties": {
"input": {
"type": "string"
},
"output": {
"type": "string"
}
},
"type": "object"
},
"Int": {
"properties": {
"input": {
"type": "number"
},
"output": {
"type": "number"
}
},
"type": "object"
},
"JSON": {
"properties": {
"input": {},
"output": {}
},
"type": "object"
},
"String": {
"properties": {
"input": {
"type": "string"
},
"output": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"SparseData": {
"properties": {
"__typename": {
"const": "SparseData",
"type": "string"
},
"indices": {
"items": {
"type": "number"
},
"type": "array"
},
"values": {
"items": {
"type": "number"
},
"type": "array"
}
},
"type": "object"
},
"SparseDenseVectors": {
"properties": {
"__typename": {
"const": "SparseDenseVectors",
"type": "string"
},
"dense": {
"items": {
"type": "number"
},
"type": "array"
},
"sparse": {
"properties": {
"__typename": {
"const": "SparseData",
"type": "string"
},
"indices": {
"items": {
"type": "number"
},
"type": "array"
},
"values": {
"items": {
"type": "number"
},
"type": "array"
}
},
"type": "object"
}
},
"type": "object"
},
"SparseVector": {
"properties": {
"__typename": {
"const": "SparseVector",
"type": "string"
},
"key": {}
},
"type": "object"
},
"T_2": {
"type": "object"
},
"Table": {
"properties": {
"__typename": {
"const": "Table",
"type": "string"
},
"bottomLeft": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
},
"bottomRight": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
},
"boundingRegion": {
"properties": {
"__typename": {
"const": "BoundingRegion",
"type": "string"
},
"bottomLeft": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
},
"bottomRight": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
},
"pageNum": {
"type": "number"
},
"topLeft": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
},
"topRight": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
},
"caption": {
"properties": {
"__typename": {
"const": "TextBlock",
"type": "string"
},
"area": {
"type": "number"
},
"boundingRegion": {
"properties": {
"__typename": {
"const": "BoundingRegion",
"type": "string"
},
"bottomLeft": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
},
"bottomRight": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
},
"pageNum": {
"type": "number"
},
"topLeft": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
},
"topRight": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
},
"content": {
"type": "string"
},
"endsWithoutClosure": {
"type": "boolean"
},
"isListItem": {
"type": "boolean"
},
"nearestParentHeading": {
"type": "string"
},
"pageNum": {
"type": "number"
},
"role": {
"$ref": "#/definitions/TextBlockRoleType"
},
"startsMidSentence": {
"type": "boolean"
}
},
"type": "object"
},
"cells": {
"items": {
"properties": {
"__typename": {
"const": "TableCell",
"type": "string"
},
"bottomLeft": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
},
"bottomRight": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
},
"boundingRegion": {
"properties": {
"__typename": {
"const": "BoundingRegion",
"type": "string"
},
"bottomLeft": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
},
"bottomRight": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
},
"pageNum": {
"type": "number"
},
"topLeft": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
},
"topRight": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
},
"columnIndex": {
"type": "number"
},
"columnSpan": {
"type": "number"
},
"content": {
"type": "string"
},
"pageNum": {
"type": "number"
},
"rowIndex": {
"type": "number"
},
"rowSpan": {
"type": "number"
},
"topLeft": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
},
"topRight": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
},
"type": {
"$ref": "#/definitions/TableCellType"
}
},
"type": "object"
},
"type": "array"
},
"colCount": {
"type": "number"
},
"latexFormat": {
"type": "string"
},
"nearestParentHeading": {
"type": "string"
},
"pageNum": {
"type": "number"
},
"plainTextTable": {
"type": "string"
},
"rowCount": {
"type": "number"
},
"topLeft": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
},
"topRight": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
},
"TableCell": {
"properties": {
"__typename": {
"const": "TableCell",
"type": "string"
},
"bottomLeft": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
},
"bottomRight": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
},
"boundingRegion": {
"properties": {
"__typename": {
"const": "BoundingRegion",
"type": "string"
},
"bottomLeft": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
},
"bottomRight": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
},
"pageNum": {
"type": "number"
},
"topLeft": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
},
"topRight": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
},
"columnIndex": {
"type": "number"
},
"columnSpan": {
"type": "number"
},
"content": {
"type": "string"
},
"pageNum": {
"type": "number"
},
"rowIndex": {
"type": "number"
},
"rowSpan": {
"type": "number"
},
"topLeft": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
},
"topRight": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
},
"type": {
"$ref": "#/definitions/TableCellType"
}
},
"type": "object"
},
"TableCellType": {
"enum": [
"ColumnHeader",
"Content",
"Description",
"RowHeader",
"StubHead"
],
"type": "string"
},
"TextBlock": {
"properties": {
"__typename": {
"const": "TextBlock",
"type": "string"
},
"area": {
"type": "number"
},
"boundingRegion": {
"properties": {
"__typename": {
"const": "BoundingRegion",
"type": "string"
},
"bottomLeft": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
},
"bottomRight": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
},
"pageNum": {
"type": "number"
},
"topLeft": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
},
"topRight": {
"properties": {
"__typename": {
"const": "Point",
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
},
"content": {
"type": "string"
},
"endsWithoutClosure": {
"type": "boolean"
},
"isListItem": {
"type": "boolean"
},
"nearestParentHeading": {
"type": "string"
},
"pageNum": {
"type": "number"
},
"role": {
"$ref": "#/definitions/TextBlockRoleType"
},
"startsMidSentence": {
"type": "boolean"
}
},
"type": "object"
},
"TextBlockRoleType": {
"enum": [
"ABSTRACT",
"FOOTNOTE",
"NONE",
"PAGE_FOOTER",
"PAGE_HEADER",
"PAGE_NUMBER",
"SECTION_HEADING",
"TABLE",
"TABLE_CAPTION",
"TITLE"
],
"type": "string"
},
"{[PinkeyofT]?:Pextends\"$fragmentName\"|\"__typename\"?T[P]:never;}": {
"type": "object"
},
"{[SubKeyinK]:T[SubKey];}": {
"type": "object"
},
"{[SubKeyinK]?:T[SubKey];}": {
"type": "object"
}
}
}