Created
December 15, 2021 20:59
-
-
Save prydin/0ce7afd7b5ee36af845ccad8555c4d87 to your computer and use it in GitHub Desktop.
Enable ABX custom resources
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 json | |
def handler(context, inputs): | |
payload = { | |
"key": "enable.custom.resource.user-defined-schema", | |
"value": "true" | |
} | |
print(context.request("/provisioning/config/toggles", "POST", json.dumps(payload))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment