This repository has been archived by the owner on Oct 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Nicole White
committed
Jul 25, 2023
1 parent
1cf724c
commit cd58e73
Showing
8 changed files
with
56 additions
and
245 deletions.
There are no files selected for viewing
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,18 +1,19 @@ | ||
from pydantic_settings import BaseSettings | ||
|
||
# A hidden param that is used to override the trace id that would usually | ||
# be randomly generated for each request with the trace id of the event | ||
# that is being replayed | ||
AUTOBLOCKS_REPLAYS_TRACE_ID_PARAM_NAME = "__autoblocks_replay_trace_id" | ||
|
||
class Settings(BaseSettings): | ||
|
||
# Environment variables | ||
class Env(BaseSettings): | ||
# Autoblocks secrets | ||
AUTOBLOCKS_API_KEY: str = "" | ||
AUTOBLOCKS_INGESTION_KEY: str = "" | ||
|
||
# A hidden param that is used to override the trace id that would usually | ||
# be randomly generated for each request with the trace id of the event | ||
# that is being replayed | ||
AUTOBLOCKS_REPLAYS_TRACE_ID_PARAM_NAME: str = "__autoblocks_replay_trace_id" | ||
|
||
# OpenAI secrets | ||
OPENAI_API_KEY: str = "" | ||
|
||
|
||
settings = Settings() | ||
env = Env() |
Oops, something went wrong.