Skip to content

Commit

Permalink
Fixed restrictions in docs (#2333)
Browse files Browse the repository at this point in the history
  • Loading branch information
istranic committed May 5, 2023
1 parent 56f6e0a commit 696a874
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 23 deletions.
18 changes: 0 additions & 18 deletions deeplake/core/dataset/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -2010,12 +2010,6 @@ def dataloader(self):
... # custom logic on data
... pass
**Restrictions**
The new high performance C++ dataloader is part of our Growth and Enterprise Plan .
- Users of our Community plan can create dataloaders on Activeloop datasets ("hub://activeloop/..." datasets).
- To run queries on your own datasets, `upgrade your organization's plan <https://www.activeloop.ai/pricing/>`_.
"""
from deeplake.enterprise import dataloader

Expand Down Expand Up @@ -2111,12 +2105,6 @@ def query(self, query_string: str, runtime: Optional[Dict] = None):
>>> ds_train = deeplake.load('hub://activeloop/coco-train')
>>> query_ds_train = ds_train.query("(select * where contains(categories, 'car') limit 1000) union (select * where contains(categories, 'motorcycle') limit 1000)")
**Restrictions**
Querying datasets is part of our Growth and Enterprise Plan .
- Users of our Community plan can only perform queries on Activeloop datasets ("hub://activeloop/..." datasets).
- To run queries on your own datasets, `upgrade your organization's plan <https://www.activeloop.ai/pricing/>`_.
"""
if runtime is not None and runtime.get("db_engine", False):
client = DeepLakeBackendClient(token=self._token)
Expand Down Expand Up @@ -2176,12 +2164,6 @@ def sample_by(
...
>>> sampled_ds = ds.sample_by(weights, replace=False)
**Restrictions**
Querying datasets is part of our Growth and Enterprise Plan .
- Users of our Community plan can only use ``sample_by`` on Activeloop datasets ("hub://activeloop/..." datasets).
- To use sampling functionality on your own datasets, `upgrade your organization's plan <https://www.activeloop.ai/pricing/>`_.
"""
from deeplake.enterprise import sample_by

Expand Down
6 changes: 1 addition & 5 deletions docs/source/Tensor-Query-Language.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,7 @@ Tensor Query Language
This page describes the Tensor Query Language (TQL), an SQL-like language used for `Querying in Activeloop Platform <https://docs.activeloop.ai/enterprise-features/querying-datasets>`_
as well as in :meth:`ds.query <deeplake.core.dataset.Dataset.query>` in our Python API. To use queries, install deeplake with ``pip install deeplake[enterprise]``.

Querying datasets is part of our Growth and Enterprise Plan.
- Users of our Community plan can only perform queries on Activeloop datasets ("hub://activeloop/..." datasets).
- To run queries on your own datasets, `upgrade your organization's plan <https://www.activeloop.ai/pricing/>`_.

Language
Syntax
~~~~~~~~

SELECT
Expand Down

0 comments on commit 696a874

Please sign in to comment.