Skip to content

Update my_secrets_example.py with note about character limit #432

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/ac_training_lab/picam/my_secrets_example.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
LAMBDA_FUNCTION_URL = "your_Lambda_function_url"
CAM_NAME = "your_camera_name"
WORKFLOW_NAME = "your_workflow_name"

# NOTE: keep the combination of CAM_NAME and WORKFLOW_NAME to 71 characters or fewer to accommodate YouTube's title limit of 100 characters
# (29 characters are automatically appended due to https://github.com/AccelerationConsortium/streamingLambda/blob/main/chalicelib/ytb_api_utils.py)
CAM_NAME = "your_camera_name" # e.g., typical naming convention: cam-<id>, e.g., "cam-a1b2", with <id> as lower case. You can use https://1password.com/password-generator to generate a set of random characters, then manually take the first 4 characters and make them lowercase
WORKFLOW_NAME = "your_workflow_name" # typical naming convention: [device]-[workflow]-[lab] @ [organization], e.g., "OT2-HM-SDL2 @ AC" for an Opentrons OT2, hot melt workflow, as part of the Inorganic Chemistry Lab (SDL2) at the Acceleration Consortium

PRIVACY_STATUS = "private" # "private", "public", or "unlisted"

# Camera orientation settings
Expand Down
Loading