-
-
Notifications
You must be signed in to change notification settings - Fork 346
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
workbooks (#926), and sharepoint alm namespaces enhancements
- Loading branch information
Showing
18 changed files
with
246 additions
and
23 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Application Lifecycle Management (ALM) API | ||
|
||
### ALM APIs provide simple APIs to manage deployment of your SharePoint Framework solutions and add-ins across your tenant. |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from office365.runtime.client_value import ClientValue | ||
|
||
|
||
class UserRegistrationFeatureSummary(ClientValue): | ||
"""""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
office365/sharepoint/marketplace/corporatecuratedgallery/app_request_information.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
from office365.runtime.client_value import ClientValue | ||
|
||
|
||
class SPStoreAppRequestInformation(ClientValue): | ||
"""""" | ||
|
||
@property | ||
def entity_type_name(self): | ||
return "Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.SPStoreAppRequestInformation" |
9 changes: 9 additions & 0 deletions
9
office365/sharepoint/marketplace/corporatecuratedgallery/app_response_information.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
from office365.runtime.client_value import ClientValue | ||
|
||
|
||
class SPStoreAppResponseInformation(ClientValue): | ||
"""""" | ||
|
||
@property | ||
def entity_type_name(self): | ||
return "Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.SPStoreAppResponseInformation" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
from office365.onedrive.driveitems.driveItem import DriveItem | ||
from office365.onedrive.workbooks.charts.chart import WorkbookChart | ||
from office365.onedrive.workbooks.worksheets.worksheet import WorkbookWorksheet | ||
from tests.graph_case import GraphTestCase | ||
|
||
|
||
class TestExcelCharts(GraphTestCase): | ||
excel_file = None # type: DriveItem | ||
worksheet = None # type: WorkbookWorksheet | ||
chart = None # type: WorkbookChart | ||
|
||
@classmethod | ||
def setUpClass(cls): | ||
super(TestExcelCharts, cls).setUpClass() | ||
path = "../../examples/data/templates/Weight loss tracker.xlsx" | ||
cls.excel_file = cls.client.me.drive.root.upload_file(path).execute_query() | ||
assert cls.excel_file.resource_path is not None | ||
cls.worksheet = ( | ||
cls.excel_file.workbook.worksheets["Weight loss tracker"] | ||
.get() | ||
.execute_query() | ||
) | ||
assert cls.worksheet.resource_path is not None | ||
|
||
@classmethod | ||
def tearDownClass(cls): | ||
cls.excel_file.delete_object().execute_query_retry() | ||
|
||
def test1_list_charts(self): | ||
result = self.__class__.worksheet.charts.get().execute_query() | ||
self.assertIsNotNone(result.resource_path) | ||
|
||
def test2_get_chart_by_name(self): | ||
result = self.__class__.worksheet.charts["Weight Tracker"].get().execute_query() | ||
self.assertIsNotNone(result.resource_path) | ||
self.__class__.chart = result | ||
|
||
def test3_get_image(self): | ||
result = self.__class__.chart.image().execute_query() | ||
self.assertIsNotNone(result.value) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.