Skip to content

Commit

Permalink
Merge pull request #215 from marcosschroh/fix/update-to-latest-datacl…
Browse files Browse the repository at this point in the history
…asses-avroschemas

fix: updated to latest dataclases-avroschemas
  • Loading branch information
marcosschroh authored Oct 18, 2024
2 parents 8d7f2e9 + 76577bc commit e040297
Show file tree
Hide file tree
Showing 6 changed files with 667 additions and 591 deletions.
4 changes: 2 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ updates:
- package-ecosystem: pip
directory: "/"
schedule:
interval: weekly
interval: monthly
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: weekly
interval: monthly
3 changes: 2 additions & 1 deletion dc_avro/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,9 @@ def deserialize(
if serialization_type == SerializationType.AVRO.value
else event.encode()
)

output = serialization.deserialize(
data, resource, serialization_type=serialization_type
data=data, schema=resource, serialization_type=serialization_type # type: ignore
)
console.print(output)

Expand Down
Loading

0 comments on commit e040297

Please sign in to comment.