Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions planet/cli/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from contextlib import asynccontextmanager

import click
import planet
from planet import DataClient, Session

from .cmds import coro, translate_exceptions
Expand All @@ -31,7 +30,7 @@ async def data_client(ctx):
help='Assign custom base Orders API URL.')
def data(ctx, base_url):
'''Commands for interacting with the Orders API'''
ctx.obj['AUTH'] = planet.Auth.from_file()
ctx.obj['AUTH'] = None
ctx.obj['BASE_URL'] = base_url


Expand Down
2 changes: 1 addition & 1 deletion planet/cli/orders.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async def orders_client(ctx):
help='Assign custom base Orders API URL.')
def orders(ctx, base_url):
'''Commands for interacting with the Orders API'''
ctx.obj['AUTH'] = planet.Auth.from_file()
ctx.obj['AUTH'] = None
ctx.obj['BASE_URL'] = base_url


Expand Down