Skip to content

Commit bbf3584

Browse files
authored
Remove unused field from JsonSchema (#15425)
* few fixes from working with sendgrid * reset to master * only update the docstring * reset
1 parent a280113 commit bbf3584

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

airbyte-cdk/python/airbyte_cdk/sources/declarative/declarative_stream.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ class DeclarativeStream(Stream, JsonSchemaMixin):
2020
DeclarativeStream is a Stream that delegates most of its logic to its schema_load and retriever
2121
2222
Attributes:
23-
stream_name (str): stream name
24-
stream_primary_key (Optional[Union[str, List[str], List[List[str]]]]): the primary key of the stream
23+
name (str): stream name
24+
primary_key (Optional[Union[str, List[str], List[List[str]]]]): the primary key of the stream
2525
schema_loader (SchemaLoader): The schema loader
2626
retriever (Retriever): The retriever
2727
config (Config): The user-provided configuration as specified by the source's spec

airbyte-cdk/python/airbyte_cdk/sources/declarative/schema/json_schema.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ class JsonSchema(SchemaLoader, JsonSchemaMixin):
2525
"""
2626

2727
file_path: Union[InterpolatedString, str]
28-
name: str
2928
config: Config
3029
options: InitVar[Mapping[str, Any]]
3130

0 commit comments

Comments
 (0)