Office365-REST-Python-Client 2.5.9__py3-none-any.whl → 2.5.10__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {Office365_REST_Python_Client-2.5.9.dist-info → Office365_REST_Python_Client-2.5.10.dist-info}/METADATA +1 -1
- {Office365_REST_Python_Client-2.5.9.dist-info → Office365_REST_Python_Client-2.5.10.dist-info}/RECORD +26 -23
- office365/onedrive/driveitems/driveItem.py +1 -1
- office365/onedrive/internal/paths/url.py +14 -0
- office365/onedrive/sitepages/horizontal_section_column.py +1 -1
- office365/onedrive/sitepages/site_page.py +1 -1
- office365/onedrive/sitepages/vertical_section.py +1 -1
- office365/onedrive/sitepages/webparts/__init__.py +0 -0
- office365/onedrive/sitepages/webparts/standard.py +5 -0
- office365/onedrive/sitepages/webparts/text.py +5 -0
- office365/runtime/client_object.py +4 -3
- office365/runtime/client_request.py +1 -1
- office365/runtime/client_runtime_context.py +3 -3
- office365/runtime/paths/resource_path.py +3 -0
- office365/sharepoint/businessdata/infrastructure/securestore/connection_settings.py +23 -1
- office365/sharepoint/directory/membership_result.py +5 -0
- office365/sharepoint/entity.py +5 -0
- office365/sharepoint/lists/list.py +3 -2
- office365/sharepoint/search/service.py +5 -3
- office365/sharepoint/tenant/management/office365_tenant.py +18 -0
- office365/sharepoint/userprofiles/profile_loader.py +1 -3
- office365/sharepoint/userprofiles/user_profile.py +80 -6
- {Office365_REST_Python_Client-2.5.9.dist-info → Office365_REST_Python_Client-2.5.10.dist-info}/LICENSE +0 -0
- {Office365_REST_Python_Client-2.5.9.dist-info → Office365_REST_Python_Client-2.5.10.dist-info}/WHEEL +0 -0
- {Office365_REST_Python_Client-2.5.9.dist-info → Office365_REST_Python_Client-2.5.10.dist-info}/top_level.txt +0 -0
- /office365/onedrive/sitepages/{web_part.py → webparts/web_part.py} +0 -0
|
@@ -456,7 +456,7 @@ office365/onedrive/driveitems/album.py,sha256=k61SvQDnWIEi1zR3gCW4BTgQrtcMxlinau
|
|
|
456
456
|
office365/onedrive/driveitems/audio.py,sha256=aeloESP6Ru8xV38NQuK_GkUNbWmqMcnyjTs2JQ6dVkQ,878
|
|
457
457
|
office365/onedrive/driveitems/bundle.py,sha256=ngvqXSLoI-EjmQoWFQvQo9jlW-yQxjMPLfgzn86oi5o,635
|
|
458
458
|
office365/onedrive/driveitems/conflict_behavior.py,sha256=pfHQyJ8grB5jCJzFmPIYwSr1c4cMVaS5sYXYIVLS3So,140
|
|
459
|
-
office365/onedrive/driveitems/driveItem.py,sha256=
|
|
459
|
+
office365/onedrive/driveitems/driveItem.py,sha256=JN53HcWGQAVlNbkXL7_K0lq7IdxSFPuM_jZkSEIgmwA,38090
|
|
460
460
|
office365/onedrive/driveitems/geo_coordinates.py,sha256=ZQz6-H0TnZqVVASO6Sxhtwf1shUvtc55yMjVWpTlVFs,799
|
|
461
461
|
office365/onedrive/driveitems/image.py,sha256=Npm8rwAi1-uzyUw5aLHJtN6zQ0faHfqcJZ6ejQ4AMUw,562
|
|
462
462
|
office365/onedrive/driveitems/item_preview_info.py,sha256=M7Lm6xNA_96WGQwQcDWwldd5FOfYZr_AdeyuZ1B-OIk,1087
|
|
@@ -487,7 +487,7 @@ office365/onedrive/internal/paths/children.py,sha256=itb38n8c44o-JUd4oPCrpxjnx0m
|
|
|
487
487
|
office365/onedrive/internal/paths/root.py,sha256=uAn6cdfqDgwNeiBTfkbqSBMCO4VJbd2iWG78S7XdhLw,268
|
|
488
488
|
office365/onedrive/internal/paths/shared.py,sha256=Pvrlbl3vzamJTT0bZWfByOfkPokRVWP_dQ-y9N5HOGM,738
|
|
489
489
|
office365/onedrive/internal/paths/site.py,sha256=mQm5NqcevjAI5R89iJHV-DlJxsdvGrCQYzTsuTWSY1Y,682
|
|
490
|
-
office365/onedrive/internal/paths/url.py,sha256=
|
|
490
|
+
office365/onedrive/internal/paths/url.py,sha256=ntXPg7aJG_gTeAee4quO92g_iy6FpnHbViElMlU3fMw,1284
|
|
491
491
|
office365/onedrive/internal/queries/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
492
492
|
office365/onedrive/internal/queries/get_activities_by_interval.py,sha256=QK0kSdTvstXRJhYMGju6r_g4tpgKOF15d3_YTQXBWjU,1028
|
|
493
493
|
office365/onedrive/listitems/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -524,11 +524,14 @@ office365/onedrive/sitepages/base.py,sha256=DRvi_OXwlHtY9ayo2TMJVOv_vwg1eQW_5xPw
|
|
|
524
524
|
office365/onedrive/sitepages/canvas_layout.py,sha256=Oiyb9L1_h-gdYRND_nwbRjJOTWGrDZgmxA9t6XZTE2s,1610
|
|
525
525
|
office365/onedrive/sitepages/collection.py,sha256=tuyne7LF0oB0TSWKo5yDSi6xJ4OkvV0tFjDuUo03fFE,1039
|
|
526
526
|
office365/onedrive/sitepages/horizontal_section.py,sha256=9iVzLiUxpunnUPJuu8bViLqj1bmXkBEk3pHeGKzp6wE,768
|
|
527
|
-
office365/onedrive/sitepages/horizontal_section_column.py,sha256=
|
|
528
|
-
office365/onedrive/sitepages/site_page.py,sha256=
|
|
527
|
+
office365/onedrive/sitepages/horizontal_section_column.py,sha256=oEgbfIgowkVgUbmw27lOeqeitNDgiuNVzPn7LFaohe4,1000
|
|
528
|
+
office365/onedrive/sitepages/site_page.py,sha256=QLbDMpYTUMUReWw2IeEJ-1ITnBZjQfgQQJY3sRWnHmg,4744
|
|
529
529
|
office365/onedrive/sitepages/title_area.py,sha256=HO9fdOddvorwiV3keWLEzgd0ssAUrbxebB4J0XSkF-A,531
|
|
530
|
-
office365/onedrive/sitepages/vertical_section.py,sha256=
|
|
531
|
-
office365/onedrive/sitepages/
|
|
530
|
+
office365/onedrive/sitepages/vertical_section.py,sha256=Tj4BOIKrbtMayWKsTOUYHva8Y8VPS3YxNW1lyu2_yJQ,984
|
|
531
|
+
office365/onedrive/sitepages/webparts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
532
|
+
office365/onedrive/sitepages/webparts/standard.py,sha256=GUEvYppFraiz4Ffw2nnVmk6S8xbG7xzrvt5nM0lPKlE,173
|
|
533
|
+
office365/onedrive/sitepages/webparts/text.py,sha256=fxbHJI8nDA7GEHQKmGZawE4K-FA95bp93f2gGnqdkmg,165
|
|
534
|
+
office365/onedrive/sitepages/webparts/web_part.py,sha256=e-rPSgXHVdG00Sd4afxn53_U9_6ubfLiYkLvGtHPz3g,133
|
|
532
535
|
office365/onedrive/sites/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
533
536
|
office365/onedrive/sites/site.py,sha256=8jaK4bvvSnUthSLofl1Xi4FKzZxAnwxEbQ5KZNN0I0Y,10049
|
|
534
537
|
office365/onedrive/sites/site_collection.py,sha256=smHVCdNLfpm3eYmV1av3-oxEGOEc4FcifcLFyFWeU1g,698
|
|
@@ -761,12 +764,12 @@ office365/reports/userregistration/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQe
|
|
|
761
764
|
office365/reports/userregistration/method_count.py,sha256=a2-kcEM68tUgB7YiVxzc2xUL9k7zXQHW5qt5fxuKZkU,612
|
|
762
765
|
office365/reports/userregistration/method_summary.py,sha256=aovF1UbVkUwNrHjWh-Mk2ZSwJOKd8fYhAhsjbTmYWwM,1248
|
|
763
766
|
office365/runtime/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
764
|
-
office365/runtime/client_object.py,sha256=
|
|
767
|
+
office365/runtime/client_object.py,sha256=fZ4FfCpo59KXSjmgaSdgVCVpD5UM9yQSklnIIsG3ZHY,9741
|
|
765
768
|
office365/runtime/client_object_collection.py,sha256=4Imnis1bcDOfCnqgAkRkCUcfIyyWXwGdZFZpXpHFdSw,8750
|
|
766
|
-
office365/runtime/client_request.py,sha256=
|
|
769
|
+
office365/runtime/client_request.py,sha256=n6UGAgveiIrUST5A1gx9TOFJK2GV7yLIQV8JounF3_k,3557
|
|
767
770
|
office365/runtime/client_request_exception.py,sha256=vvPBKqCQkS8VcPIVnDLaoq-czQqwqUV-UUkQiybkkBo,1328
|
|
768
771
|
office365/runtime/client_result.py,sha256=05BZksVBtu-6MuNSLZuGzYo8fogNx9tDk5R2D3FYMQo,2286
|
|
769
|
-
office365/runtime/client_runtime_context.py,sha256=
|
|
772
|
+
office365/runtime/client_runtime_context.py,sha256=r2g280-EEEVkVL8e7SEhb-WmnzA9PgoXoANvon_iCq4,7724
|
|
770
773
|
office365/runtime/client_value.py,sha256=CB-fG87zgYiBaqEFbLx6Q6g9_uz16tnHOlf_AejZizU,2486
|
|
771
774
|
office365/runtime/client_value_collection.py,sha256=H4E8-xA0cbzizC3XrPqHi14398JG_Sg1yaqvvpOWICs,2809
|
|
772
775
|
office365/runtime/compat.py,sha256=P9eGgmuLE7KeHr9rgv-_WCI2sLHER5Hxd99F8k98KRU,1610
|
|
@@ -818,7 +821,7 @@ office365/runtime/odata/v4/upload_session_request.py,sha256=GiqgRnkRvs5URsrHvifJ
|
|
|
818
821
|
office365/runtime/paths/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
819
822
|
office365/runtime/paths/appid.py,sha256=MwD6FYS4Gcp7h7Z5L4Gl4Y6b9PVosah0FjWxtYorMnA,395
|
|
820
823
|
office365/runtime/paths/builder.py,sha256=Om2OzH733SwRzDySGgbgUija978WFqdUKQLe6nu7k1U,2644
|
|
821
|
-
office365/runtime/paths/resource_path.py,sha256=
|
|
824
|
+
office365/runtime/paths/resource_path.py,sha256=wcmwQaccuSQ4VrrmYBeLF0TAnNKWBMHtinkL6hK3Dyc,1184
|
|
822
825
|
office365/runtime/paths/service_operation.py,sha256=Bow8NixW4LjeQ32SVzOKF6RQEMhIHA0oyQkSo2kFyLM,784
|
|
823
826
|
office365/runtime/paths/v3/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
824
827
|
office365/runtime/paths/v3/entity.py,sha256=5Z0yWD8LF90kpYulrZ_K02v-ApwPADPuz5d3sVhCmR4,436
|
|
@@ -857,7 +860,7 @@ office365/search/external/external.py,sha256=_Pk_eMWic2eedPZmEIN1Sj5ZGbk1BsA6VVI
|
|
|
857
860
|
office365/search/external/search_settings.py,sha256=2pWKbktGwjHEhdehBnaUAPlG8aS3pIrnayzlRtNl_j0,179
|
|
858
861
|
office365/sharepoint/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
859
862
|
office365/sharepoint/client_context.py,sha256=9pckuYqzlypaBXkRElgkR17zEEY16EE20t2F3go-TL0,28358
|
|
860
|
-
office365/sharepoint/entity.py,sha256=
|
|
863
|
+
office365/sharepoint/entity.py,sha256=PKVr3XluGR4wLmEJYfsc0IIYwQmMH1e4_2nUiaPO--I,2615
|
|
861
864
|
office365/sharepoint/entity_collection.py,sha256=fJXX3frVHmMb7uPxZAKNwh6YyQbtsa-mUyZMUmE5E2I,1242
|
|
862
865
|
office365/sharepoint/request.py,sha256=EGrMNJCPKcjBEPLKZskinAKpqqknsKY4o9eHZsi2HWM,239
|
|
863
866
|
office365/sharepoint/request_context.py,sha256=Bpr14-de8tJgjYQJvd9s9HW5zAzdyTV1WQAzuGSD0G4,854
|
|
@@ -939,7 +942,7 @@ office365/sharepoint/businessdata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeR
|
|
|
939
942
|
office365/sharepoint/businessdata/app_bdc_catalog.py,sha256=-SwK4N-9jVFoR3_LBKI4UMjI8aI-YMDk-DxqpDO-75w,963
|
|
940
943
|
office365/sharepoint/businessdata/infrastructure/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
941
944
|
office365/sharepoint/businessdata/infrastructure/securestore/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
942
|
-
office365/sharepoint/businessdata/infrastructure/securestore/connection_settings.py,sha256=
|
|
945
|
+
office365/sharepoint/businessdata/infrastructure/securestore/connection_settings.py,sha256=BsP37vjxK1xGhr4jWmBgiQk3ngtyQnFuh1tbKryRQGA,1138
|
|
943
946
|
office365/sharepoint/campaigns/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
944
947
|
office365/sharepoint/campaigns/campaigns.py,sha256=-VSyPKvuP0Ik45QMojnok1MHpwbYdrQsNGhxJ9uz9-w,707
|
|
945
948
|
office365/sharepoint/campaigns/communication_entity.py,sha256=uE8MatdD-ALTFnVeU2zV8jZr39YM3gAFyRs83_l1JvU,219
|
|
@@ -1024,7 +1027,7 @@ office365/sharepoint/directory/group_and_user_status.py,sha256=K32A1pZJaILnFfJxo
|
|
|
1024
1027
|
office365/sharepoint/directory/helper.py,sha256=TWnjsfdIMeH7_A12nyReN4koDhFA2eiA8P97-xmPvLA,5829
|
|
1025
1028
|
office365/sharepoint/directory/link.py,sha256=4RNlP0WFZWd0F_x50ye5s1C6k1kfA7QvJWvTgktm114,150
|
|
1026
1029
|
office365/sharepoint/directory/members_info.py,sha256=Fl85SSz5Le0Mop4NKOsQzHp5YDgaulcmlsCKLrMrcdc,164
|
|
1027
|
-
office365/sharepoint/directory/membership_result.py,sha256=
|
|
1030
|
+
office365/sharepoint/directory/membership_result.py,sha256=hYye7YyDxzo8JRkUCMOmX2KsYeB_1OCWm97KPlogVjA,350
|
|
1028
1031
|
office365/sharepoint/directory/my_groups_result.py,sha256=gIZd9AnUAqE3HjSQzn1ECLADgJQR3q_TAFLO9kWqDvE,170
|
|
1029
1032
|
office365/sharepoint/directory/session.py,sha256=cQPoO3OjRHpMIkCaS0ZMdZL40vC1UhF1qMeZ1tw8jbI,1301
|
|
1030
1033
|
office365/sharepoint/directory/user.py,sha256=efM-WW3bGdvjR0RG_UMYtzk05b_rD5a9tdyE2e5yDJE,1097
|
|
@@ -1170,7 +1173,7 @@ office365/sharepoint/lists/data_source.py,sha256=xE7GKGtV1W0SCGvxpy5E4UKVO-N7mJI
|
|
|
1170
1173
|
office365/sharepoint/lists/document_library_information.py,sha256=bmZoVCvMyXt8RHXUR6evZCUuLfBFKyTK1vXW7cSq9PI,1035
|
|
1171
1174
|
office365/sharepoint/lists/document_template_type.py,sha256=1jcf5MluYogcicmNuoqUFVeHI6yUtEYg64gVT58KvyU,239
|
|
1172
1175
|
office365/sharepoint/lists/get_parameters.py,sha256=-tQTPBGJgZUreflc66fDwNTMT292knIlVvn8f8kDcZA,491
|
|
1173
|
-
office365/sharepoint/lists/list.py,sha256=
|
|
1176
|
+
office365/sharepoint/lists/list.py,sha256=1l68e58LT9A9LyQIWzjBC-JH3JPrKtfU91aIrVp6KyQ,53406
|
|
1174
1177
|
office365/sharepoint/lists/render_data_parameters.py,sha256=H6AKXa8jFQ7L0BbSKXk6m868bhtkgHjzE_wO3XtnPZI,2058
|
|
1175
1178
|
office365/sharepoint/lists/render_override_parameters.py,sha256=JW6ilhqfs2VMEvz_R0EsLPwo5LDTeT9rEDESQ6naNJE,299
|
|
1176
1179
|
office365/sharepoint/lists/rule.py,sha256=HCAD4KItMCdBlF3gVZYlwtxcTPvqekZwQbd1S72TAR8,97
|
|
@@ -1442,7 +1445,7 @@ office365/sharepoint/search/relevant_results.py,sha256=xeUOj4W0mj_JsSFIRN-LKPU7L
|
|
|
1442
1445
|
office365/sharepoint/search/reordering_rule_collection.py,sha256=yfzZQpF-SGNVUWat9ANZnbo4kOVHUj8giHBKzsGshBM,291
|
|
1443
1446
|
office365/sharepoint/search/request.py,sha256=v0YbBOcZl3YrVRS4UqOFpm320VOtWVNPWuJzYJKUbXE,8130
|
|
1444
1447
|
office365/sharepoint/search/result.py,sha256=cJIn1zrzE-pL8q344GQ_gitt2eMPxYRuVpE3mUTRKUM,3087
|
|
1445
|
-
office365/sharepoint/search/service.py,sha256=
|
|
1448
|
+
office365/sharepoint/search/service.py,sha256=IsEna29XdTXM2SH8KjJO_LgXYajHrURm8j3YR-tglwA,13497
|
|
1446
1449
|
office365/sharepoint/search/setting.py,sha256=KbRl0F4LZOn_BAWgVmQRD1CkmsKlGJa5TTA_0b7AlsY,4793
|
|
1447
1450
|
office365/sharepoint/search/simple_data_row.py,sha256=yWOR1L5PoruwrPSwt2jdn5TyVrvdc6KGNXoct2QEO1s,471
|
|
1448
1451
|
office365/sharepoint/search/simple_data_table.py,sha256=RJ72aviPOVgZGrPbdZsKuTzYO3Havw_lcfgEuC4oigs,548
|
|
@@ -1705,7 +1708,7 @@ office365/sharepoint/tenant/insights/report.py,sha256=1jObkgfDKwkLJUHbfTVmFsc09I
|
|
|
1705
1708
|
office365/sharepoint/tenant/insights/report_manager.py,sha256=yHuCUNux7v8UNXY7Dg3vOHBPNSSc63iTOVI2kNA5JfQ,108
|
|
1706
1709
|
office365/sharepoint/tenant/insights/report_metadata.py,sha256=ke0FUYMDiOlJWeYhfmfVnIt10VVPJBs_UzUh_jVLtDM,109
|
|
1707
1710
|
office365/sharepoint/tenant/management/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1708
|
-
office365/sharepoint/tenant/management/office365_tenant.py,sha256=
|
|
1711
|
+
office365/sharepoint/tenant/management/office365_tenant.py,sha256=FpMoKnzg-lYMS7rE9YmjY3VnExQh3ZS9BfIbOaVVChg,12850
|
|
1709
1712
|
office365/sharepoint/tenant/management/externalusers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1710
1713
|
office365/sharepoint/tenant/management/externalusers/collection.py,sha256=3XxmNMOouIKBIXlVW8WR7MIa9Ifz9vo_oyCquXq7Q7E,723
|
|
1711
1714
|
office365/sharepoint/tenant/management/externalusers/external_user.py,sha256=hmfwtMg0WFvdWeHnCVrs74_csVJ55NIMaQm69lscKNI,198
|
|
@@ -1759,10 +1762,10 @@ office365/sharepoint/userprofiles/personal_cache.py,sha256=-2NK0C_7dJK8BWB6mlhKD
|
|
|
1759
1762
|
office365/sharepoint/userprofiles/personal_cache_item.py,sha256=0B9NdlMYsl_jr-Ov1OtZe-36QzCRMFM-Fd_albsnGAE,299
|
|
1760
1763
|
office365/sharepoint/userprofiles/personal_site_creation_priority.py,sha256=rKfaYJVwbc1JOx3i8a5tJlDisZpjsgjHvAwPZddueoE,366
|
|
1761
1764
|
office365/sharepoint/userprofiles/profile_image_store.py,sha256=lzdK7xUu59btLobrPg6aQgHTylHFkYH753AMLviVVtY,2149
|
|
1762
|
-
office365/sharepoint/userprofiles/profile_loader.py,sha256=
|
|
1765
|
+
office365/sharepoint/userprofiles/profile_loader.py,sha256=RENmidQg-f3b_PruX4ibbalJCx1Zxv5CcTeGQvMAIs0,2006
|
|
1763
1766
|
office365/sharepoint/userprofiles/promoted_sites.py,sha256=Pg9QCuYH5sii2Z87qKWnia5Su-z_furjl4oftQUEnLM,2712
|
|
1764
1767
|
office365/sharepoint/userprofiles/properties_for_user.py,sha256=s735-VOeytSr1ISck1gmqsEpUKfIJtkCILrWkD95nAY,1633
|
|
1765
|
-
office365/sharepoint/userprofiles/user_profile.py,sha256=
|
|
1768
|
+
office365/sharepoint/userprofiles/user_profile.py,sha256=PDZkTA9-DoBOtW3oGHnuzVzEb67Kc8ZV1fKgXuImB8E,8218
|
|
1766
1769
|
office365/sharepoint/userprofiles/mysite/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1767
1770
|
office365/sharepoint/userprofiles/mysite/dismiss_status_text.py,sha256=SxOdLuJMIaL-DjfsfCDPxvX5IRlnLLOlP9P1GDTWYF8,843
|
|
1768
1771
|
office365/sharepoint/userprofiles/sharedwithme/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -1948,8 +1951,8 @@ office365/todo/tasks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hS
|
|
|
1948
1951
|
office365/todo/tasks/list.py,sha256=i8figSfqkRm1wuUZXJntZWnnidT0XIY2SGvCCuRK8C8,1138
|
|
1949
1952
|
office365/todo/tasks/list_collection.py,sha256=bDKOXgzdCDWnJqPZgBQYZ9yaFNOqXrv5DL1uWy5fg_M,584
|
|
1950
1953
|
office365/todo/tasks/task.py,sha256=ZWGkBieQ7_7Om4RgBhXfCs6651a2mi_tFttZgaIcY4o,2120
|
|
1951
|
-
Office365_REST_Python_Client-2.5.
|
|
1952
|
-
Office365_REST_Python_Client-2.5.
|
|
1953
|
-
Office365_REST_Python_Client-2.5.
|
|
1954
|
-
Office365_REST_Python_Client-2.5.
|
|
1955
|
-
Office365_REST_Python_Client-2.5.
|
|
1954
|
+
Office365_REST_Python_Client-2.5.10.dist-info/LICENSE,sha256=oiA-FsK_tSE0PNl3jtQ9ohZjFjPyQK3ejw6le4hzL5Q,1083
|
|
1955
|
+
Office365_REST_Python_Client-2.5.10.dist-info/METADATA,sha256=DbjDfeDy60ukVFGdZocNog0gIqAVgojTCf-GrWnkZw8,18277
|
|
1956
|
+
Office365_REST_Python_Client-2.5.10.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
|
1957
|
+
Office365_REST_Python_Client-2.5.10.dist-info/top_level.txt,sha256=xmwMgIZYmOTzckcPR2A1-3ebpPhfqj1l_QOvsOf30X4,10
|
|
1958
|
+
Office365_REST_Python_Client-2.5.10.dist-info/RECORD,,
|
|
@@ -911,7 +911,7 @@ class DriveItem(BaseItem):
|
|
|
911
911
|
def set_property(self, name, value, persist_changes=True):
|
|
912
912
|
super(DriveItem, self).set_property(name, value, persist_changes)
|
|
913
913
|
if name == "parentReference":
|
|
914
|
-
|
|
914
|
+
pass
|
|
915
915
|
return self
|
|
916
916
|
|
|
917
917
|
def get_property(self, name, default_value=None):
|
|
@@ -1,11 +1,19 @@
|
|
|
1
|
+
from typing import TYPE_CHECKING
|
|
2
|
+
|
|
3
|
+
from typing_extensions import Self
|
|
4
|
+
|
|
1
5
|
from office365.onedrive.internal.paths.root import RootPath
|
|
2
6
|
from office365.runtime.paths.v4.entity import EntityPath
|
|
3
7
|
|
|
8
|
+
if TYPE_CHECKING:
|
|
9
|
+
from office365.runtime.paths.resource_path import ResourcePath
|
|
10
|
+
|
|
4
11
|
|
|
5
12
|
class UrlPath(EntityPath):
|
|
6
13
|
"""Resource path for OneDrive entity path-based addressing"""
|
|
7
14
|
|
|
8
15
|
def __init__(self, url, parent, collection=None):
|
|
16
|
+
# type: (str, ResourcePath, ResourcePath) -> None
|
|
9
17
|
"""
|
|
10
18
|
:param str url: File or Folder server relative url
|
|
11
19
|
:type parent: office365.runtime.paths.resource_path.ResourcePath
|
|
@@ -16,8 +24,14 @@ class UrlPath(EntityPath):
|
|
|
16
24
|
parent = parent.parent
|
|
17
25
|
elif isinstance(parent, RootPath):
|
|
18
26
|
collection = parent.collection
|
|
27
|
+
elif isinstance(parent, EntityPath):
|
|
28
|
+
collection = parent.collection
|
|
19
29
|
super(UrlPath, self).__init__(url, parent, collection)
|
|
20
30
|
|
|
31
|
+
def patch(self, key):
|
|
32
|
+
# type: (str) -> Self
|
|
33
|
+
return super(UrlPath, self).patch(key)
|
|
34
|
+
|
|
21
35
|
@property
|
|
22
36
|
def segment(self):
|
|
23
37
|
return ":/{0}:/".format(self._key)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from office365.entity import Entity
|
|
2
2
|
from office365.entity_collection import EntityCollection
|
|
3
|
-
from office365.onedrive.sitepages.web_part import WebPart
|
|
3
|
+
from office365.onedrive.sitepages.webparts.web_part import WebPart
|
|
4
4
|
from office365.runtime.paths.resource_path import ResourcePath
|
|
5
5
|
|
|
6
6
|
|
|
@@ -4,7 +4,7 @@ from office365.entity_collection import EntityCollection
|
|
|
4
4
|
from office365.onedrive.sitepages.base import BaseSitePage
|
|
5
5
|
from office365.onedrive.sitepages.canvas_layout import CanvasLayout
|
|
6
6
|
from office365.onedrive.sitepages.title_area import TitleArea
|
|
7
|
-
from office365.onedrive.sitepages.web_part import WebPart
|
|
7
|
+
from office365.onedrive.sitepages.webparts.web_part import WebPart
|
|
8
8
|
from office365.runtime.paths.resource_path import ResourcePath
|
|
9
9
|
from office365.runtime.queries.function import FunctionQuery
|
|
10
10
|
from office365.runtime.queries.service_operation import ServiceOperationQuery
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from office365.entity import Entity
|
|
2
2
|
from office365.entity_collection import EntityCollection
|
|
3
|
-
from office365.onedrive.sitepages.web_part import WebPart
|
|
3
|
+
from office365.onedrive.sitepages.webparts.web_part import WebPart
|
|
4
4
|
from office365.runtime.paths.resource_path import ResourcePath
|
|
5
5
|
|
|
6
6
|
|
|
File without changes
|
|
@@ -3,6 +3,7 @@ from __future__ import annotations
|
|
|
3
3
|
import datetime
|
|
4
4
|
from typing import TYPE_CHECKING, Any, Callable, Generic, List, Optional, TypeVar
|
|
5
5
|
|
|
6
|
+
from requests import Response
|
|
6
7
|
from typing_extensions import Self
|
|
7
8
|
|
|
8
9
|
from office365.runtime.client_runtime_context import ClientRuntimeContext
|
|
@@ -80,10 +81,10 @@ class ClientObject(Generic[T]):
|
|
|
80
81
|
self.context.before_execute(action)
|
|
81
82
|
return self
|
|
82
83
|
|
|
83
|
-
def after_execute(self, action, execute_first=False):
|
|
84
|
-
# type: (Callable[[Self], None], bool) -> Self
|
|
84
|
+
def after_execute(self, action, execute_first=False, include_response=False):
|
|
85
|
+
# type: (Callable[[Self|Response], None], bool, bool) -> Self
|
|
85
86
|
"""Attach an event handler to client object which gets triggered after query is submitted to server"""
|
|
86
|
-
self.context.after_query_execute(action, execute_first)
|
|
87
|
+
self.context.after_query_execute(action, execute_first, include_response)
|
|
87
88
|
return self
|
|
88
89
|
|
|
89
90
|
def get(self):
|
|
@@ -35,7 +35,6 @@ class ClientRequest(object):
|
|
|
35
35
|
try:
|
|
36
36
|
request = self.build_request(query)
|
|
37
37
|
response = self.execute_request_direct(request)
|
|
38
|
-
response.raise_for_status()
|
|
39
38
|
self.process_response(response, query)
|
|
40
39
|
self.afterExecute.notify(response)
|
|
41
40
|
except HTTPError as e:
|
|
@@ -99,4 +98,5 @@ class ClientRequest(object):
|
|
|
99
98
|
stream=request.stream,
|
|
100
99
|
proxies=request.proxies,
|
|
101
100
|
)
|
|
101
|
+
response.raise_for_status()
|
|
102
102
|
return response
|
|
@@ -126,8 +126,8 @@ class ClientRuntimeContext(object):
|
|
|
126
126
|
self.pending_request().beforeExecute += _process_request
|
|
127
127
|
return self
|
|
128
128
|
|
|
129
|
-
def after_query_execute(self, action, execute_first=False):
|
|
130
|
-
# type: (Callable[[T], None], bool) -> Self
|
|
129
|
+
def after_query_execute(self, action, execute_first=False, include_response=False):
|
|
130
|
+
# type: (Callable[[T|Response], None], bool, bool) -> Self
|
|
131
131
|
"""Attach an event handler which is triggered after query is submitted to server"""
|
|
132
132
|
if len(self._queries) == 0:
|
|
133
133
|
return
|
|
@@ -138,7 +138,7 @@ class ClientRuntimeContext(object):
|
|
|
138
138
|
resp.raise_for_status()
|
|
139
139
|
if self.current_query.id == query.id:
|
|
140
140
|
self.pending_request().afterExecute -= _process_response
|
|
141
|
-
action(query.return_type)
|
|
141
|
+
action(resp if include_response else query.return_type)
|
|
142
142
|
|
|
143
143
|
self.pending_request().afterExecute += _process_response
|
|
144
144
|
|
|
@@ -1,8 +1,30 @@
|
|
|
1
|
+
from typing import Optional
|
|
2
|
+
|
|
3
|
+
from office365.runtime.paths.resource_path import ResourcePath
|
|
1
4
|
from office365.sharepoint.entity import Entity
|
|
2
5
|
|
|
3
6
|
|
|
4
7
|
class ConnectionSettings(Entity):
|
|
5
|
-
""""""
|
|
8
|
+
"""The ConnectionSettings contains information about an endpoint (4) that can be used to connect to it."""
|
|
9
|
+
|
|
10
|
+
def __init__(self, context, resource_path=None):
|
|
11
|
+
if resource_path is None:
|
|
12
|
+
resource_path = ResourcePath(
|
|
13
|
+
"Microsoft.BusinessData.Infrastructure.SecureStore.ConnectionSettings"
|
|
14
|
+
)
|
|
15
|
+
super(ConnectionSettings, self).__init__(context, resource_path)
|
|
16
|
+
|
|
17
|
+
@property
|
|
18
|
+
def authentication_mode(self):
|
|
19
|
+
# type: () -> Optional[str]
|
|
20
|
+
"""The authentication mode used by the endpoint"""
|
|
21
|
+
return self.properties.get("AuthenticationMode", None)
|
|
22
|
+
|
|
23
|
+
@property
|
|
24
|
+
def parent_name(self):
|
|
25
|
+
# type: () -> Optional[str]
|
|
26
|
+
"""The unique name used to identify the parent of the endpoint"""
|
|
27
|
+
return self.properties.get("parentName", None)
|
|
6
28
|
|
|
7
29
|
@property
|
|
8
30
|
def entity_type_name(self):
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
from office365.runtime.types.collections import StringCollection
|
|
1
2
|
from office365.sharepoint.entity import Entity
|
|
2
3
|
|
|
3
4
|
|
|
4
5
|
class MembershipResult(Entity):
|
|
6
|
+
@property
|
|
7
|
+
def groups_list(self):
|
|
8
|
+
return self.properties.get("GroupsList", StringCollection())
|
|
9
|
+
|
|
5
10
|
@property
|
|
6
11
|
def entity_type_name(self):
|
|
7
12
|
return "SP.Directory.MembershipResult"
|
office365/sharepoint/entity.py
CHANGED
|
@@ -16,6 +16,11 @@ if TYPE_CHECKING:
|
|
|
16
16
|
class Entity(ClientObject):
|
|
17
17
|
"""SharePoint specific entity"""
|
|
18
18
|
|
|
19
|
+
def execute_query_with_incremental_retry(self, max_retry=5):
|
|
20
|
+
"""Handles throttling requests."""
|
|
21
|
+
self.context.execute_query_with_incremental_retry(max_retry)
|
|
22
|
+
return self
|
|
23
|
+
|
|
19
24
|
def execute_batch(self, items_per_batch=100, success_callback=None):
|
|
20
25
|
# type: (int, Callable[[int], None]) -> Self
|
|
21
26
|
"""Construct and submit to a server a batch request"""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import os
|
|
2
2
|
from datetime import datetime
|
|
3
|
-
from typing import TYPE_CHECKING, AnyStr, Optional
|
|
3
|
+
from typing import TYPE_CHECKING, AnyStr, Dict, Optional
|
|
4
4
|
|
|
5
5
|
from office365.runtime.client_result import ClientResult
|
|
6
6
|
from office365.runtime.client_value_collection import ClientValueCollection
|
|
@@ -182,11 +182,12 @@ class List(SecurableObject):
|
|
|
182
182
|
return return_type
|
|
183
183
|
|
|
184
184
|
def get_site_script(self, options=None):
|
|
185
|
+
# type: (Dict) -> ClientResult[str]
|
|
185
186
|
"""Creates site script syntax
|
|
186
187
|
|
|
187
188
|
:param dict or None options:
|
|
188
189
|
"""
|
|
189
|
-
return_type = ClientResult(self.context)
|
|
190
|
+
return_type = ClientResult(self.context)
|
|
190
191
|
|
|
191
192
|
def _list_loaded():
|
|
192
193
|
list_abs_path = SPResPath.create_absolute(
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
from typing import Any, List
|
|
2
|
+
|
|
1
3
|
from office365.runtime.client_result import ClientResult
|
|
2
4
|
from office365.runtime.client_value_collection import ClientValueCollection
|
|
3
5
|
from office365.runtime.paths.resource_path import ResourcePath
|
|
@@ -162,6 +164,7 @@ class SearchService(Entity):
|
|
|
162
164
|
row_limit=None,
|
|
163
165
|
**kwargs
|
|
164
166
|
):
|
|
167
|
+
# type: (str, List[str], bool, int, Any) -> ClientResult[SearchResult]
|
|
165
168
|
"""The operation is used to retrieve search results through the use of the HTTP protocol
|
|
166
169
|
with method type POST.
|
|
167
170
|
|
|
@@ -172,9 +175,7 @@ class SearchService(Entity):
|
|
|
172
175
|
:param int row_limit: The number of search results the protocol client wants to receive, starting at the index
|
|
173
176
|
specified in the StartRow element. The RowLimit value MUST be greater than or equal to zero.
|
|
174
177
|
"""
|
|
175
|
-
return_type = ClientResult(
|
|
176
|
-
self.context, SearchResult()
|
|
177
|
-
) # type: ClientResult[SearchResult]
|
|
178
|
+
return_type = ClientResult(self.context, SearchResult())
|
|
178
179
|
request = SearchRequest(
|
|
179
180
|
query_text=query_text,
|
|
180
181
|
select_properties=select_properties,
|
|
@@ -211,6 +212,7 @@ class SearchService(Entity):
|
|
|
211
212
|
return self
|
|
212
213
|
|
|
213
214
|
def search_center_url(self):
|
|
215
|
+
# type: () -> ClientResult[str]
|
|
214
216
|
"""The operation is used to get the URI address of the search center by using the HTTP protocol
|
|
215
217
|
with the GET method. The operation returns the URI of the of the search center.
|
|
216
218
|
"""
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
from typing import Optional
|
|
2
2
|
|
|
3
|
+
from typing_extensions import Self
|
|
4
|
+
|
|
3
5
|
from office365.runtime.client_object_collection import ClientObjectCollection
|
|
4
6
|
from office365.runtime.client_result import ClientResult
|
|
5
7
|
from office365.runtime.client_value_collection import ClientValueCollection
|
|
@@ -104,6 +106,22 @@ class Office365Tenant(Entity):
|
|
|
104
106
|
self.context.add_query(qry)
|
|
105
107
|
return return_type
|
|
106
108
|
|
|
109
|
+
def set_block_download_file_type_policy_data(
|
|
110
|
+
self, blockDownloadFileTypePolicy, fileTypeIds, excludedBlockDownloadGroupIds
|
|
111
|
+
):
|
|
112
|
+
# type: (bool, list[int], list[str]) -> Self
|
|
113
|
+
""""""
|
|
114
|
+
payload = {
|
|
115
|
+
"blockDownloadFileTypePolicy": blockDownloadFileTypePolicy,
|
|
116
|
+
"fileTypeIds": fileTypeIds,
|
|
117
|
+
"excludedBlockDownloadGroupIds": excludedBlockDownloadGroupIds,
|
|
118
|
+
}
|
|
119
|
+
qry = ServiceOperationQuery(
|
|
120
|
+
self, "SetBlockDownloadFileTypePolicyData", None, payload
|
|
121
|
+
)
|
|
122
|
+
self.context.add_query(qry)
|
|
123
|
+
return self
|
|
124
|
+
|
|
107
125
|
def set_tenant_cdn_enabled(self, cdn_type, is_enabled):
|
|
108
126
|
"""
|
|
109
127
|
Enables or disables Public content delivery network (CDN) or Private CDN on the tenant level.
|
|
@@ -47,9 +47,7 @@ class ProfileLoader(ClientObject):
|
|
|
47
47
|
return return_type
|
|
48
48
|
|
|
49
49
|
def get_user_profile(self):
|
|
50
|
-
"""
|
|
51
|
-
The GetUserProfile method returns the user profile for the current user.
|
|
52
|
-
"""
|
|
50
|
+
"""The GetUserProfile method returns the user profile for the current user."""
|
|
53
51
|
result = UserProfile(
|
|
54
52
|
self.context, ResourcePath("GetUserProfile", self.resource_path)
|
|
55
53
|
)
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
from datetime import datetime
|
|
1
2
|
from typing import Optional
|
|
2
3
|
|
|
3
4
|
from office365.runtime.client_result import ClientResult
|
|
@@ -12,6 +13,12 @@ class UserProfile(Entity):
|
|
|
12
13
|
"""The UserProfile class stores the profile of the individual user, which includes properties such
|
|
13
14
|
as the user's account name, preferred name, and email address."""
|
|
14
15
|
|
|
16
|
+
def __str__(self):
|
|
17
|
+
return self.display_name or self.entity_type_name
|
|
18
|
+
|
|
19
|
+
def __repr__(self):
|
|
20
|
+
return self.account_name or self.entity_type_name
|
|
21
|
+
|
|
15
22
|
@property
|
|
16
23
|
def account_name(self):
|
|
17
24
|
# type: () -> Optional[str]
|
|
@@ -25,19 +32,85 @@ class UserProfile(Entity):
|
|
|
25
32
|
return self.properties.get("DisplayName", None)
|
|
26
33
|
|
|
27
34
|
@property
|
|
28
|
-
def
|
|
35
|
+
def follow_personal_site_url(self):
|
|
29
36
|
# type: () -> Optional[str]
|
|
37
|
+
"""The FollowPersonalSiteUrl property specifies the URL to allow the current user to create a personal site.
|
|
38
|
+
If there is no hybrid & cross-geo setting, it will return the same value as UrlToCreatePersonalSite,
|
|
39
|
+
otherwise a URL to allow the current user to create a personal site on the remote host.
|
|
30
40
|
"""
|
|
31
|
-
|
|
32
|
-
|
|
41
|
+
return self.properties.get("FollowPersonalSiteUrl", None)
|
|
42
|
+
|
|
43
|
+
@property
|
|
44
|
+
def is_default_document_library_blocked(self):
|
|
45
|
+
# type: () -> Optional[bool]
|
|
46
|
+
"""If true, indicates that the access of the user to the default document library in the user’s OneDrive
|
|
47
|
+
is blocked."""
|
|
48
|
+
return self.properties.get("IsDefaultDocumentLibraryBlocked", None)
|
|
49
|
+
|
|
50
|
+
@property
|
|
51
|
+
def is_people_list_public(self):
|
|
52
|
+
# type: () -> Optional[bool]
|
|
53
|
+
"""Specifies whether the list of people that the user is following is public."""
|
|
54
|
+
return self.properties.get("IsPeopleListPublic", None)
|
|
55
|
+
|
|
56
|
+
@property
|
|
57
|
+
def is_privacy_setting_on(self):
|
|
58
|
+
# type: () -> Optional[bool]
|
|
59
|
+
"""Specifies whether the privacy setting has been set for the site."""
|
|
60
|
+
return self.properties.get("IsPrivacySettingOn", None)
|
|
61
|
+
|
|
62
|
+
@property
|
|
63
|
+
def is_self(self):
|
|
64
|
+
# type: () -> Optional[bool]
|
|
65
|
+
"""Specifies whether the user profile is for the current user."""
|
|
66
|
+
return self.properties.get("IsSelf", None)
|
|
67
|
+
|
|
68
|
+
@property
|
|
69
|
+
def job_title(self):
|
|
70
|
+
# type: () -> Optional[str]
|
|
71
|
+
"""Specifies the job title of the user."""
|
|
72
|
+
return self.properties.get("JobTitle", None)
|
|
73
|
+
|
|
74
|
+
@property
|
|
75
|
+
def my_site_first_run_experience(self):
|
|
76
|
+
# type: () -> Optional[int]
|
|
77
|
+
"""Specifies the personal site First Run flag of the user."""
|
|
78
|
+
return self.properties.get("MySiteFirstRunExperience", None)
|
|
79
|
+
|
|
80
|
+
@property
|
|
81
|
+
def my_site_host_url(self):
|
|
82
|
+
# type: () -> Optional[str]
|
|
83
|
+
"""Specifies the URL for the personal site of the current user."""
|
|
33
84
|
return self.properties.get("MySiteHostUrl", None)
|
|
34
85
|
|
|
86
|
+
@property
|
|
87
|
+
def o15_first_run_experience(self):
|
|
88
|
+
# type: () -> Optional[int]
|
|
89
|
+
"""Specifies the First Run flag of the user."""
|
|
90
|
+
return self.properties.get("O15FirstRunExperience", None)
|
|
91
|
+
|
|
92
|
+
@property
|
|
93
|
+
def personal_site_capabilities(self):
|
|
94
|
+
# type: () -> Optional[int]
|
|
95
|
+
"""The PersonalSiteCapabilities property specifies attributes of the user's personal site."""
|
|
96
|
+
return self.properties.get("PersonalSiteCapabilities", None)
|
|
97
|
+
|
|
98
|
+
@property
|
|
99
|
+
def personal_site_first_creation_error(self):
|
|
100
|
+
# type: () -> Optional[str]
|
|
101
|
+
"""Specifies the failure for the personal site first creation attempt."""
|
|
102
|
+
return self.properties.get("PersonalSiteFirstCreationError", None)
|
|
103
|
+
|
|
104
|
+
@property
|
|
105
|
+
def personal_site_first_creation_time(self):
|
|
106
|
+
# type: () -> Optional[datetime]
|
|
107
|
+
"""Specifies the time for the personal site first creation attempt."""
|
|
108
|
+
return self.properties.get("PersonalSiteFirstCreationTime", datetime.min)
|
|
109
|
+
|
|
35
110
|
@property
|
|
36
111
|
def public_url(self):
|
|
37
112
|
# type: () -> Optional[str]
|
|
38
|
-
"""
|
|
39
|
-
Specifies the public URL for the personal site of the current user.
|
|
40
|
-
"""
|
|
113
|
+
"""Specifies the public URL for the personal site of the current user."""
|
|
41
114
|
return self.properties.get("PublicUrl", None)
|
|
42
115
|
|
|
43
116
|
@property
|
|
@@ -120,6 +193,7 @@ class UserProfile(Entity):
|
|
|
120
193
|
property_mapping = {
|
|
121
194
|
"FollowedContent": self.followed_content,
|
|
122
195
|
"PersonalSite": self.personal_site,
|
|
196
|
+
"PersonalSiteFirstCreationTime": self.personal_site_first_creation_time,
|
|
123
197
|
}
|
|
124
198
|
default_value = property_mapping.get(name, None)
|
|
125
199
|
return super(UserProfile, self).get_property(name, default_value)
|
|
File without changes
|
{Office365_REST_Python_Client-2.5.9.dist-info → Office365_REST_Python_Client-2.5.10.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|