Pranav kumar Pulusu
04/18/2024, 1:43 PM2024-04-18 190640,291 | WARNING | tap-gdrive.files | Properties ('kind', 'incompleteSearch', 'files') were present in the 'files' stream but not found in catalog schema. Ignoring.
class FilesStream(googleDriveStream):
    """Define custom stream."""
    name = "files"
    path = "/files"
    primary_keys: t.ClassVar[list[str]] = ["id"]
    replication_key = None
    # Optionally, you may also use `schema_filepath` in place of `schema`:
    # schema_filepath = SCHEMAS_DIR / "users.json"  # noqa: ERA001
    schema = th.PropertiesList(
        th.Property("name", th.StringType),
        th.Property(
            "id",
            th.StringType,
            description="The File's system ID",
        ),
        th.Property(
            "size",
            th.StringType,
            description="File size",
        ),
        th.Property(
            "originalFilename",
            th.StringType,
            description="File name",
        )
    ).to_dict()Reuben (Matatika)
04/18/2024, 2:16 PMIf the issue because I'm not adding all the properties of json response in schemaYes - since
PropertiesListObjectTypePranav kumar Pulusu
04/18/2024, 2:19 PMReuben (Matatika)
04/18/2024, 2:23 PMPranav kumar Pulusu
04/18/2024, 3:16 PMPranav kumar Pulusu
04/18/2024, 3:20 PMadditional_properties=TruePranav kumar Pulusu
04/18/2024, 3:21 PMschema = th.PropertiesList(
                th.Property("name", th.StringType),
        th.Property(
            "id",
            th.StringType,
            description="The File's system ID",
        ),
        th.Property(
            "size",
            th.StringType,
            description="The user's age in years",
        ),
        th.Property(
            "originalFilename",
            th.StringType,
            description="The user's email address",
        ),
        additional_properties=True
        ).to_dict()2024-04-18 20:50:22,413 | WARNING  | tap-gdrive.files     | Properties ('kind', 'incompleteSearch', 'files') were present in the 'files' stream but not found in catalog schema. Ignoring.Pranav kumar Pulusu
04/18/2024, 3:29 PMrecords_jsonpathReuben (Matatika)
04/18/2024, 3:29 PM