Skip to main content
S3NS
Documentation Technology areas
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Networking
  • Observability and monitoring
  • Security
  • Storage
Cross-product tools
  • Access and resources management
  • Google Cloud SDK, languages, frameworks, and tools
  • Infrastructure as code
/
  • Python
  • Documentation
  • Reference
Overview Guides Reference Samples
S3NS
  • Documentation
    • Overview
    • Guides
    • Reference
    • Samples
  • Technology areas
    • More
  • Cross-product tools
    • More
  • Overview
  • Library reference docs
  • BigQuery DataFrames
  • google-cloud-aiplatform
  • google-cloud-asset
  • google-cloud-bigquery-storage
  • google-cloud-chronicle
  • google-cloud-datacatalog
  • google-cloud-dataplex
    • Overview
    • dataplex APIs
      • Overview
      • Classes
      • Methods
      • Properties and Attributes
    • Changelog
    • Multiprocessing
    • Dataplex V1
      • catalog_service
        • Overview
        • pagers
          • Overview
          • ListAspectTypesAsyncPager
          • ListAspectTypesPager
          • ListEntriesAsyncPager
          • ListEntriesPager
          • ListEntryGroupsAsyncPager
          • ListEntryGroupsPager
          • ListEntryTypesAsyncPager
          • ListEntryTypesPager
          • ListMetadataJobsAsyncPager
          • ListMetadataJobsPager
          • SearchEntriesAsyncPager
          • SearchEntriesPager
        • CatalogServiceAsyncClient
        • CatalogServiceClient
      • content_service
        • Overview
        • pagers
          • Overview
          • ListContentAsyncPager
          • ListContentPager
        • ContentServiceAsyncClient
        • ContentServiceClient
      • data_scan_service
        • Overview
        • pagers
          • Overview
          • ListDataScanJobsAsyncPager
          • ListDataScanJobsPager
          • ListDataScansAsyncPager
          • ListDataScansPager
        • DataScanServiceAsyncClient
        • DataScanServiceClient
      • data_taxonomy_service
        • Overview
        • pagers
          • Overview
          • ListDataAttributeBindingsAsyncPager
          • ListDataAttributeBindingsPager
          • ListDataAttributesAsyncPager
          • ListDataAttributesPager
          • ListDataTaxonomiesAsyncPager
          • ListDataTaxonomiesPager
        • DataTaxonomyServiceAsyncClient
        • DataTaxonomyServiceClient
      • dataplex_service
        • Overview
        • pagers
          • Overview
          • ListAssetActionsAsyncPager
          • ListAssetActionsPager
          • ListAssetsAsyncPager
          • ListAssetsPager
          • ListEnvironmentsAsyncPager
          • ListEnvironmentsPager
          • ListJobsAsyncPager
          • ListJobsPager
          • ListLakeActionsAsyncPager
          • ListLakeActionsPager
          • ListLakesAsyncPager
          • ListLakesPager
          • ListSessionsAsyncPager
          • ListSessionsPager
          • ListTasksAsyncPager
          • ListTasksPager
          • ListZoneActionsAsyncPager
          • ListZoneActionsPager
          • ListZonesAsyncPager
          • ListZonesPager
        • DataplexServiceAsyncClient
        • DataplexServiceClient
      • metadata_service
        • Overview
        • pagers
          • Overview
          • ListEntitiesAsyncPager
          • ListEntitiesPager
          • ListPartitionsAsyncPager
          • ListPartitionsPager
        • MetadataServiceAsyncClient
        • MetadataServiceClient
      • types
        • Overview
        • Action
          • Overview
          • Category
          • FailedSecurityPolicyApply
          • IncompatibleDataSchema
            • Overview
            • SchemaChange
          • InvalidDataFormat
          • InvalidDataOrganization
          • InvalidDataPartition
            • Overview
            • PartitionStructure
          • MissingData
          • MissingResource
          • UnauthorizedResource
        • Aspect
        • AspectSource
        • AspectType
          • Overview
          • Authorization
          • LabelsEntry
          • MetadataTemplate
            • Overview
            • Annotations
            • Constraints
            • EnumValue
        • Asset
          • Overview
          • DiscoverySpec
            • Overview
            • CsvOptions
            • JsonOptions
          • DiscoveryStatus
            • Overview
            • State
            • Stats
          • LabelsEntry
          • ResourceSpec
            • Overview
            • AccessMode
            • Type
          • ResourceStatus
            • Overview
            • State
          • SecurityStatus
            • Overview
            • State
        • AssetStatus
        • BusinessGlossaryEvent
          • Overview
          • EventType
        • CancelJobRequest
        • CancelMetadataJobRequest
        • Content
          • Overview
          • LabelsEntry
          • Notebook
            • Overview
            • KernelType
          • SqlScript
            • Overview
            • QueryEngine
        • CreateAspectTypeRequest
        • CreateAssetRequest
        • CreateContentRequest
        • CreateDataAttributeBindingRequest
        • CreateDataAttributeRequest
        • CreateDataScanRequest
        • CreateDataTaxonomyRequest
        • CreateEntityRequest
        • CreateEntryGroupRequest
        • CreateEntryRequest
        • CreateEntryTypeRequest
        • CreateEnvironmentRequest
        • CreateLakeRequest
        • CreateMetadataJobRequest
        • CreatePartitionRequest
        • CreateTaskRequest
        • CreateZoneRequest
        • DataAccessSpec
        • DataAttribute
          • Overview
          • LabelsEntry
        • DataAttributeBinding
          • Overview
          • LabelsEntry
          • Path
        • DataDiscoveryResult
          • Overview
          • BigQueryPublishing
        • DataDiscoverySpec
          • Overview
          • BigQueryPublishingConfig
            • Overview
            • TableType
          • StorageConfig
            • Overview
            • CsvOptions
            • JsonOptions
        • DataProfileResult
          • Overview
          • PostScanActionsResult
            • Overview
            • BigQueryExportResult
              • Overview
              • State
          • Profile
            • Overview
            • Field
              • Overview
              • ProfileInfo
                • Overview
                • DoubleFieldInfo
                • IntegerFieldInfo
                • StringFieldInfo
                • TopNValue
        • DataProfileSpec
          • Overview
          • PostScanActions
            • Overview
            • BigQueryExport
          • SelectedFields
        • DataQualityColumnResult
        • DataQualityDimension
        • DataQualityDimensionResult
        • DataQualityResult
          • Overview
          • PostScanActionsResult
            • Overview
            • BigQueryExportResult
              • Overview
              • State
        • DataQualityRule
          • Overview
          • NonNullExpectation
          • RangeExpectation
          • RegexExpectation
          • RowConditionExpectation
          • SetExpectation
          • SqlAssertion
          • StatisticRangeExpectation
            • Overview
            • ColumnStatistic
          • TableConditionExpectation
          • UniquenessExpectation
        • DataQualityRuleResult
        • DataQualityScanRuleResult
          • Overview
          • EvaluationType
          • Result
          • RuleType
        • DataQualitySpec
          • Overview
          • PostScanActions
            • Overview
            • BigQueryExport
            • JobEndTrigger
            • JobFailureTrigger
            • NotificationReport
            • Recipients
            • ScoreThresholdTrigger
        • DataScan
          • Overview
          • ExecutionSpec
          • ExecutionStatus
          • LabelsEntry
        • DataScanEvent
          • Overview
          • DataProfileAppliedConfigs
          • DataProfileResult
          • DataQualityAppliedConfigs
          • DataQualityResult
            • Overview
            • ColumnScoreEntry
            • DimensionPassedEntry
            • DimensionScoreEntry
          • PostScanActionsResult
            • Overview
            • BigQueryExportResult
              • Overview
              • State
          • ScanType
          • Scope
          • State
          • Trigger
        • DataScanJob
          • Overview
          • State
        • DataScanType
        • DataSource
        • DataTaxonomy
          • Overview
          • LabelsEntry
        • DeleteAspectTypeRequest
        • DeleteAssetRequest
        • DeleteContentRequest
        • DeleteDataAttributeBindingRequest
        • DeleteDataAttributeRequest
        • DeleteDataScanRequest
        • DeleteDataTaxonomyRequest
        • DeleteEntityRequest
        • DeleteEntryGroupRequest
        • DeleteEntryRequest
        • DeleteEntryTypeRequest
        • DeleteEnvironmentRequest
        • DeleteLakeRequest
        • DeletePartitionRequest
        • DeleteTaskRequest
        • DeleteZoneRequest
        • DiscoveryEvent
          • Overview
          • ActionDetails
          • ConfigDetails
            • Overview
            • ParametersEntry
          • EntityDetails
          • EntityType
          • EventType
          • PartitionDetails
          • TableDetails
          • TableType
        • Entity
          • Overview
          • CompatibilityStatus
            • Overview
            • Compatibility
          • Type
        • Entry
          • Overview
          • AspectsEntry
        • EntryGroup
          • Overview
          • LabelsEntry
        • EntrySource
          • Overview
          • Ancestor
          • LabelsEntry
        • EntryType
          • Overview
          • AspectInfo
          • Authorization
          • LabelsEntry
        • EntryView
        • Environment
          • Overview
          • Endpoints
          • InfrastructureSpec
            • Overview
            • ComputeResources
            • OsImageRuntime
              • Overview
              • PropertiesEntry
          • LabelsEntry
          • SessionSpec
          • SessionStatus
        • GenerateDataQualityRulesRequest
        • GenerateDataQualityRulesResponse
        • GetAspectTypeRequest
        • GetAssetRequest
        • GetContentRequest
          • Overview
          • ContentView
        • GetDataAttributeBindingRequest
        • GetDataAttributeRequest
        • GetDataScanJobRequest
          • Overview
          • DataScanJobView
        • GetDataScanRequest
          • Overview
          • DataScanView
        • GetDataTaxonomyRequest
        • GetEntityRequest
          • Overview
          • EntityView
        • GetEntryGroupRequest
        • GetEntryRequest
        • GetEntryTypeRequest
        • GetEnvironmentRequest
        • GetJobRequest
        • GetLakeRequest
        • GetMetadataJobRequest
        • GetPartitionRequest
        • GetTaskRequest
        • GetZoneRequest
        • GovernanceEvent
          • Overview
          • Entity
            • Overview
            • EntityType
          • EventType
        • ImportItem
        • Job
          • Overview
          • LabelsEntry
          • Service
          • State
          • Trigger
        • JobEvent
          • Overview
          • ExecutionTrigger
          • Service
          • State
          • Type
        • Lake
          • Overview
          • LabelsEntry
          • Metastore
          • MetastoreStatus
            • Overview
            • State
        • ListActionsResponse
        • ListAspectTypesRequest
        • ListAspectTypesResponse
        • ListAssetActionsRequest
        • ListAssetsRequest
        • ListAssetsResponse
        • ListContentRequest
        • ListContentResponse
        • ListDataAttributeBindingsRequest
        • ListDataAttributeBindingsResponse
        • ListDataAttributesRequest
        • ListDataAttributesResponse
        • ListDataScanJobsRequest
        • ListDataScanJobsResponse
        • ListDataScansRequest
        • ListDataScansResponse
        • ListDataTaxonomiesRequest
        • ListDataTaxonomiesResponse
        • ListEntitiesRequest
          • Overview
          • EntityView
        • ListEntitiesResponse
        • ListEntriesRequest
        • ListEntriesResponse
        • ListEntryGroupsRequest
        • ListEntryGroupsResponse
        • ListEntryTypesRequest
        • ListEntryTypesResponse
        • ListEnvironmentsRequest
        • ListEnvironmentsResponse
        • ListJobsRequest
        • ListJobsResponse
        • ListLakeActionsRequest
        • ListLakesRequest
        • ListLakesResponse
        • ListMetadataJobsRequest
        • ListMetadataJobsResponse
        • ListPartitionsRequest
        • ListPartitionsResponse
        • ListSessionsRequest
        • ListSessionsResponse
        • ListTasksRequest
        • ListTasksResponse
        • ListZoneActionsRequest
        • ListZonesRequest
        • ListZonesResponse
        • LookupEntryRequest
        • MetadataJob
          • Overview
          • ImportJobResult
          • ImportJobSpec
            • Overview
            • ImportJobScope
            • LogLevel
            • SyncMode
          • LabelsEntry
          • Status
            • Overview
            • State
          • Type
        • OperationMetadata
        • Partition
        • ResourceAccessSpec
        • RunDataScanRequest
        • RunDataScanResponse
        • RunTaskRequest
          • Overview
          • ArgsEntry
          • LabelsEntry
        • RunTaskResponse
        • ScannedData
          • Overview
          • IncrementalField
        • Schema
          • Overview
          • Mode
          • PartitionField
          • PartitionStyle
          • SchemaField
          • Type
        • SearchEntriesRequest
        • SearchEntriesResponse
        • SearchEntriesResult
          • Overview
          • Snippets
        • Session
        • SessionEvent
          • Overview
          • EventType
          • QueryDetail
            • Overview
            • Engine
        • State
        • StorageAccess
          • Overview
          • AccessMode
        • StorageFormat
          • Overview
          • CompressionFormat
          • CsvOptions
          • Format
          • IcebergOptions
          • JsonOptions
        • StorageSystem
        • Task
          • Overview
          • ExecutionSpec
            • Overview
            • ArgsEntry
          • ExecutionStatus
          • InfrastructureSpec
            • Overview
            • BatchComputeResources
            • ContainerImageRuntime
              • Overview
              • PropertiesEntry
            • VpcNetwork
          • LabelsEntry
          • NotebookTaskConfig
          • SparkTaskConfig
          • TriggerSpec
            • Overview
            • Type
        • TransferStatus
        • Trigger
          • Overview
          • OnDemand
          • Schedule
        • UpdateAspectTypeRequest
        • UpdateAssetRequest
        • UpdateContentRequest
        • UpdateDataAttributeBindingRequest
        • UpdateDataAttributeRequest
        • UpdateDataScanRequest
        • UpdateDataTaxonomyRequest
        • UpdateEntityRequest
        • UpdateEntryGroupRequest
        • UpdateEntryRequest
        • UpdateEntryTypeRequest
        • UpdateEnvironmentRequest
        • UpdateLakeRequest
        • UpdateTaskRequest
        • UpdateZoneRequest
        • Zone
          • Overview
          • DiscoverySpec
            • Overview
            • CsvOptions
            • JsonOptions
          • LabelsEntry
          • ResourceSpec
            • Overview
            • LocationType
          • Type
  • google-cloud-documentai
  • google-cloud-gdchardwaremanagement
  • google-cloud-gke-backup
  • google-cloud-logging
  • google-cloud-lustre
  • google-cloud-modelarmor
  • google-cloud-retail
  • google-cloud-secret-manager
  • google-cloud-storagebatchoperations
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Networking
  • Observability and monitoring
  • Security
  • Storage
  • Access and resources management
  • Google Cloud SDK, languages, frameworks, and tools
  • Infrastructure as code
Some or all of the information on this page might not apply to Trusted Cloud by S3NS. See Differences from Google Cloud for more details.
  • Home
  • Python
  • Documentation
  • Reference
Note: Some or all of the information on this page might not apply to Trusted Cloud. For a list of services that are available in Trusted Cloud, see Services available for Trusted Cloud.
  • 2.11.0 (latest)
  • 2.10.2
  • 2.9.0
  • 2.8.0
  • 2.7.1
  • 2.6.0
  • 2.5.0
  • 2.4.0
  • 2.3.1
  • 2.2.2
  • 2.1.0
  • 2.0.1
  • 1.13.0
  • 1.12.3
  • 1.11.0
  • 1.10.0
  • 1.9.0
  • 1.8.1
  • 1.7.0
  • 1.6.2
  • 1.5.1
  • 1.4.3
  • 1.3.0
  • 1.2.0
  • 1.1.3
  • 1.0.1
  • 0.2.1
  • 0.1.0

Multiprocessing

NOTE: Because this client uses grpc library, it is safe to share instances across threads. In multiprocessing scenarios, the best practice is to create client instances after the invocation of os.fork() by multiprocessing.pool.Pool or multiprocessing.Process.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-08-28 UTC.

  • Terms
  • Privacy
  • Manage cookies