Repository navigation
@e2b/python-sdk@2.65.0
·
7 commits
to main
since this release
Minor Changes
- 08c4eeb: Add
Template.getInfo(nameOrId)(get_infoin Python), which returns a template with its default build asTemplateDetail, andTemplate.listBuilds(nameOrId, { statuses, tags })(list_buildsin Python), which returns aTemplateBuildPaginator(AsyncTemplateBuildPaginatorforAsyncTemplate) over the template's builds, newest first. Each build carries itscpuCount,maxCpuCountand the tags that point at it, soTemplate.listBuilds('my-template', { tags: ['v2'] })reads the build a tag points at.getInfoand fetching a page of builds throw the newTemplateNotFoundError(TemplateNotFoundExceptionin Python), a subclass ofTemplateError, when the template is not found. Both methods take a name or ID without a tag and throwInvalidArgumentError(InvalidArgumentExceptionin Python) forname:tag.
Patch Changes
- 6a729b0: Mark every
sandbox.gitmethod as deprecated; run git withsandbox.commands.run()instead.