Skip to content

docs: deprecate the use of the "threads" parameter in transfer manager samples #1028

@andrewsg

Description

@andrewsg

"threads" is deprecated. Processes are now available and furthermore are default. The analogous parameter is named max_workers.

Sample functions using transfer_manager (aside from the chunked download sample) should accept "processes" instead of "threads" in their signature. Also, the default should be "8" instead of "4".

When actually calling the function, they can be called with max_workers instead of threads, using that passed-in value.

Metadata

Metadata

Assignees

Labels

api: storageIssues related to the googleapis/python-storage API.priority: p2Moderately-important priority. Fix may not be included in next release.samplesIssues that are directly related to samples.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions