a
    ù!fÈ  ã                   @   sb   d Z ddlmZ ddlmZ ddlmZ ddlmZ ddl	m
Z
 ddlmZ ddlmZ ejZd	S )
a  Shortcut methods for getting set up with Google Cloud Datastore.

You'll typically use these to get started with the API::

    >>> from gcloud import datastore
    >>>
    >>> client = datastore.Client()
    >>> key = client.key('EntityKind', 1234)
    >>> entity = datastore.Entity(key)
    >>> query = client.query(kind='EntityKind')

The main concepts with this API are:

- :class:`gcloud.datastore.connection.Connection`
  which represents a connection between your machine and the Cloud Datastore
  API.

- :class:`gcloud.datastore.client.Client`
  which represents a project (string) and namespace (string) bundled with
  a connection and has convenience methods for constructing objects with that
  project / namespace.

- :class:`gcloud.datastore.entity.Entity`
  which represents a single entity in the datastore
  (akin to a row in relational database world).

- :class:`gcloud.datastore.key.Key`
  which represents a pointer to a particular entity in the datastore
  (akin to a unique identifier in relational database world).

- :class:`gcloud.datastore.query.Query`
  which represents a lookup or search over the rows in the datastore.

- :class:`gcloud.datastore.transaction.Transaction`
  which represents an all-or-none transaction and enables consistency
  when race conditions may occur.
é    )ÚBatch)Ú
Connection)ÚClient)ÚEntity)ÚKey)ÚQuery)ÚTransactionN)Ú__doc__Zgcloud.datastore.batchr   Zgcloud.datastore.connectionr   Zgcloud.datastore.clientr   Zgcloud.datastore.entityr   Zgcloud.datastore.keyr   Zgcloud.datastore.queryr   Zgcloud.datastore.transactionr   ZSCOPE© r
   r
   úZ/var/www/html/python-backend/venv/lib/python3.9/site-packages/gcloud/datastore/__init__.pyÚ<module>   s   &