airbyte_cdk.sources.declarative.schema.schema_loader
1# 2# Copyright (c) 2023 Airbyte, Inc., all rights reserved. 3# 4 5from abc import abstractmethod 6from dataclasses import dataclass 7from typing import Any, Mapping 8 9 10@dataclass 11class SchemaLoader: 12 """Describes a stream's schema""" 13 14 @abstractmethod 15 def get_json_schema(self) -> Mapping[str, Any]: 16 """Returns a mapping describing the stream's schema""" 17 pass
@dataclass
class
SchemaLoader:
11@dataclass 12class SchemaLoader: 13 """Describes a stream's schema""" 14 15 @abstractmethod 16 def get_json_schema(self) -> Mapping[str, Any]: 17 """Returns a mapping describing the stream's schema""" 18 pass
Describes a stream's schema