-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: PropertiesList
can now behave as an iterable
#2345
feat: PropertiesList
can now behave as an iterable
#2345
Conversation
CodSpeed Performance ReportMerging #2345 will not alter performanceFalling back to comparing Summary
|
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2345 +/- ##
=======================================
Coverage 88.76% 88.76%
=======================================
Files 54 54
Lines 4769 4771 +2
Branches 928 928
=======================================
+ Hits 4233 4235 +2
Misses 374 374
Partials 162 162 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense, thanks!
PropertiesList
PropertiesList
can now be iterated over
PropertiesList
can now be iterated overPropertiesList
can now behave as an iterable
In
tap-spotify
, all schema objects inherit from aCustomObject
class that offers some convenience methods, including allowing one custom object to extend others in order to produce a merged schema. The reason this class exists was because at the time there wasn't an obvious way to merge two or more property lists together, but I think its a pretty simple addition to get the functionality natively.Given that, for example,
Rank
,SyncedAt
,Track
andAudioFeatures
are no longer classes extendingCustomObject
and instead are justPropertiesList
instancestrack.py
then
becomes
📚 Documentation preview 📚: https://meltano-sdk--2345.org.readthedocs.build/en/2345/