Skip to main content
  • Python client libraries
/
  • English
  • Deutsch
  • Español
  • Français
  • Indonesia
  • Português – Brasil
  • Русский
  • 中文 – 简体
  • 日本語
  • 한국어
  • Python client libraries
  • Reference
  • Overview
  • Library reference docs
  • google-developer-knowledge
    • Overview
    • google-developer-knowledge APIs
      • API overview
      • Classes
      • Methods
      • Properties and Attributes
    • Changelog
    • Multiprocessing
    • Services
      • developer_knowledge
        • Overview
        • pagers
          • Overview
          • SearchDocumentChunksAsyncPager
          • SearchDocumentChunksPager
        • DeveloperKnowledgeAsyncClient
        • DeveloperKnowledgeClient
    • Types
      • types
        • Overview
        • Answer
          • Overview
          • AnswerCitation
          • AnswerReference
          • CitationSource
          • DocumentReference
        • AnswerQueryRequest
        • AnswerQueryResponse
        • BatchGetDocumentsRequest
        • BatchGetDocumentsResponse
        • Document
        • DocumentChunk
        • DocumentView
        • GetDocumentRequest
        • SearchDocumentChunksRequest
        • SearchDocumentChunksResponse
  • Google for Developers
  • Products
  • Client libraries

Multiprocessing Stay organized with collections Save and categorize content based on your preferences.

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 2026-09-21 UTC.

  • Engage

    • Google Developer Program
    • Google Developer Groups
    • Google Developer Experts
    • Accelerators
    • Google Cloud & NVIDIA
  • Connect

    • Blog
    • Bluesky
    • Instagram
    • LinkedIn
    • X (Twitter)
    • YouTube
  • Build

    • Android
    • Chrome
    • Firebase
    • Google AI Studio
    • Google Antigravity
    • Google Cloud
    • Google Play
    • View all
Google Developers
  • Android
  • Chrome
  • Firebase
  • Google Cloud Platform
  • All products
  • Terms
  • Privacy
  • ICP证合字B2-20070004号
  • Manage cookies
  • English
  • Deutsch
  • Español
  • Français
  • Indonesia
  • Português – Brasil
  • Русский
  • 中文 – 简体
  • 日本語
  • 한국어