Skip to content

Commit

Permalink
Remove support for obsolete API v1
Browse files Browse the repository at this point in the history
  • Loading branch information
mbogosian authored and posita committed Jun 14, 2017
1 parent 91d48fe commit 3f109f5
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 2,953 deletions.
14 changes: 0 additions & 14 deletions README.rst
Expand Up @@ -108,14 +108,6 @@ Now, run the included script:
$ ./generate_base_client.py
Upgrading from v1
-----------------

To ease the transition to the new API and SDK, you can still use the old
``dropbox.client.DropboxClient`` class. In fact, v2 and v1 can be used
simultaneously. Support for the old client will be dropped once the new SDK is
at functional parity.

Testing
-------

Expand All @@ -135,9 +127,3 @@ variable.
.. code-block:: console
$ DROPBOX_TOKEN=... DROPBOX_TEAM_TOKEN=... tox
If you only want to test the API v2 client, use:

.. code-block:: console
$ DROPBOX_TOKEN=... DROPBOX_TEAM_TOKEN=... tox -- -k TestDropbox
3 changes: 0 additions & 3 deletions dropbox/__init__.py
Expand Up @@ -2,6 +2,3 @@

from .dropbox import __version__, Dropbox, DropboxTeam, create_session # noqa: F401
from .oauth import DropboxOAuth2Flow, DropboxOAuth2FlowNoRedirect # noqa: F401

# Compatibility with the deprecated v1 client.
from . import client, rest, session # noqa: F401

0 comments on commit 3f109f5

Please sign in to comment.