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
#!/usr/bin/env python | |
from swagger_ui_bundle import swagger_ui_path | |
import json | |
from flask import Flask, Blueprint, send_from_directory, render_template | |
swagger_bp = Blueprint( | |
'swagger_ui', | |
__name__, |
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
import azure.cosmos.cosmos_client as cosmos_client | |
import azure.cosmos.errors as errors | |
import azure.cosmos.http_constants as http_constants | |
import os | |
import json | |
url = 'https://remstrava.documents.azure.com:443/' | |
key = '' | |
client = cosmos_client.CosmosClient(url, {'masterKey': key}) |
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
import azure.cosmos.cosmos_client as cosmos_client | |
import azure.cosmos.errors as errors | |
import azure.cosmos.http_constants as http_constants | |
import os | |
import json | |
url = 'https://remstrava.documents.azure.com:443/' | |
key = '' | |
client = cosmos_client.CosmosClient(url, {'masterKey': key}) |