Skip to content

v3.2.0 #58

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

Merged
merged 31 commits into from
Apr 14, 2025
Merged

v3.2.0 #58

merged 31 commits into from
Apr 14, 2025

Conversation

MBueschelberger
Copy link
Member

@MBueschelberger MBueschelberger commented Apr 3, 2025

Updates:

  • Remove autobuffering
  • Make auto-refreshing optional
  • Introduce dsms.add and dsms.delete
  • Update Documentation
  • Remove minor bugs during KItem initalization

Due to this, we get a major speed-up of about 50% during commit and KItem-download.

For further improvement, we need to move add a foreign key for the dataframe table into the kitem table. Currently, we still need to call the endpoint for the dataframe separately.

Comment:

The only change in the SDK useage is that the user now needs to explicitly add the objects to the buffer, before committing. If the buffer is empty during commit, a warning is raised.

dsms=DSMS(env=".env")
item = KItem(name="my_kitem", ktype_id=dsms.ktypes.Dataset)
dsms.add(item)
dsms.commit()

Additionally, the user can switch off the auto-refresh which leads to the need to update it manually:

dsms = DSMS(env=".env", auto_refresh=False)
item = KItem(name="my_kitem", ktype_id=dsms.ktypes.Dataset)
dsms.add(item)
dsms.commit()
item.refresh()

@MBueschelberger MBueschelberger self-assigned this Apr 9, 2025
@MBueschelberger MBueschelberger requested a review from yoavnash April 9, 2025 14:25
@MBueschelberger MBueschelberger added 📖 documentation Improvements or additions to documentation 📈 enhancement New feature or request labels Apr 9, 2025
@MBueschelberger MBueschelberger mentioned this pull request Apr 9, 2025
@MBueschelberger MBueschelberger mentioned this pull request Apr 9, 2025
@MBueschelberger MBueschelberger merged commit f6fd6de into main Apr 14, 2025
10 checks passed
@MBueschelberger MBueschelberger deleted the enh/rm-autobuf branch April 14, 2025 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📖 documentation Improvements or additions to documentation 📈 enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants