mirror of
https://github.com/Hestia-Homes/survey-extraction.git
synced 2026-06-30 13:10:56 +00:00
adde basic configuration for sharepoint incase I want to do that next
This commit is contained in:
parent
e157d0ce97
commit
cf29413211
1 changed files with 31 additions and 1 deletions
|
|
@ -1 +1,31 @@
|
|||
print("Hello world")
|
||||
from utils.sharepoint.sharepoint import SharePointClient
|
||||
import os
|
||||
|
||||
|
||||
print("Hello world")
|
||||
|
||||
###
|
||||
'''
|
||||
Place holder for SharePointClient - When khalim is back see if I can get this wokring
|
||||
'''
|
||||
###
|
||||
# # Share point env variables most likely
|
||||
# SHAREPOINT_CLIENT_ID = os.getenv("SHAREPOINT_CLIENT_ID", None)
|
||||
# SHAREPOINT_CLIENT_SECRET = os.getenv("SHAREPOINT_CLIENT_SECRET", None)
|
||||
# SHAREPOINT_TENANT_ID = os.getenv("SHAREPOINT_TENANT_ID", None)
|
||||
# WARMFRONT_SHAREPOINT_SITE_ID = os.getenv("WARMFRONT_SHAREPOINT_SITE_ID", None)
|
||||
|
||||
# # Connect to the Sharepoint API, with the access token.
|
||||
# sharepoint_client = SharePointClient(
|
||||
# tenant_id=SHAREPOINT_TENANT_ID,
|
||||
# client_id=SHAREPOINT_CLIENT_ID,
|
||||
# client_secret=SHAREPOINT_CLIENT_SECRET,
|
||||
# site_id=WARMFRONT_SHAREPOINT_SITE_ID,
|
||||
# access_token=message["access_token"],
|
||||
# access_token_expiration_details=message["access_token_expiration_details"]
|
||||
# )
|
||||
|
||||
|
||||
###
|
||||
Get local file read working
|
||||
###
|
||||
Loading…
Add table
Reference in a new issue