Skip to content
This repository was archived by the owner on Dec 10, 2019. It is now read-only.

Commit ac7ddbf

Browse files
author
Chris Brown
committed
Use keyword project when posting projects
Required to successfully post projects
1 parent afa3f6d commit ac7ddbf

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

rasterfoundry/models/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
from .project import Project # NOQA
1+
from .project import Project # NOQA
22
from .map_token import MapToken # NOQA
3+
from .upload import Upload # NOQA

rasterfoundry/models/project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def create(cls, api, project_create):
5353
Returns:
5454
Project: created object in Raster Foundry
5555
"""
56-
return api.client.Imagery.post_projects(project_create)
56+
return api.client.Imagery.post_projects(project=project_create)
5757

5858
def get_center(self):
5959
"""Get the center of this project's extent"""

0 commit comments

Comments
 (0)