Skip to content

Commit

Permalink
test: Fix GitLab field types (#2146)
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Jan 11, 2024
1 parent 1354410 commit 0675322
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions samples/sample_tap_gitlab/gitlab_rest_streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from singer_sdk.typing import (
ArrayType,
DateTimeType,
DateType,
IntegerType,
PropertiesList,
Property,
Expand Down Expand Up @@ -158,9 +159,9 @@ class EpicsStream(ProjectBasedStream):
Property("description", StringType),
Property("state", StringType),
Property("author_id", IntegerType),
Property("start_date", DateTimeType),
Property("end_date", DateTimeType),
Property("due_date", DateTimeType),
Property("start_date", DateType),
Property("end_date", DateType),
Property("due_date", DateType),
Property("created_at", DateTimeType),
Property("updated_at", DateTimeType),
Property("labels", ArrayType(StringType)),
Expand Down
6 changes: 3 additions & 3 deletions samples/sample_tap_gitlab/schemas/epic_issues.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
},
"due_date": {
"type": ["string", "null"],
"format": "date-time"
"format": "date"
},
"epic_issue_id": {
"type": "integer"
Expand Down Expand Up @@ -150,7 +150,7 @@
},
"due_date": {
"type": ["string", "null"],
"format": "date-time"
"format": "date"
},
"id": {
"type": "integer"
Expand All @@ -163,7 +163,7 @@
},
"start_date": {
"type": ["string", "null"],
"format": "date-time"
"format": "date"
},
"state": {
"type": "string"
Expand Down

0 comments on commit 0675322

Please sign in to comment.