Skip to content

Commit

Permalink
chore: PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobdadams committed Jan 15, 2025
1 parent faab117 commit a13e7bd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
},
keywords=["gis"],
install_requires=[
"requests~=2.31",
"sendgrid~=6.11",
"requests==2.31",
"sendgrid==6.*",
],
extras_require={
"tests": [
Expand Down
12 changes: 6 additions & 6 deletions src/supervisor/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@

#: Specify the email server and addresses
email_settings = {
"smtpServer": "send.state.ut.us",
"smtpServer": "outgoing.smtp.server",
"smtpPort": 25,
"from_address": "noreply@utah.gov",
"to_addresses": "[email protected]",
"from_address": "noreply@example.com",
"to_addresses": "[email protected]",
"prefix": f"Example on {socket.gethostname()}: ",
}

Expand All @@ -52,14 +52,14 @@

#: Specify the to/from addresses, subject prefix, and sendgrid API key
sendgrid_settings = {
"from_address": "noreply@utah.gov",
"to_addresses": "[email protected]",
"from_address": "noreply@example.com",
"to_addresses": "[email protected]",
"prefix": f"Example on {socket.gethostname()}: ",
"api_key": secrets.SENDGRID_API_KEY,
}

#: Instantiate a new SendGridHandler and register it with our Supervisor
sim_sup.add_message_handler(SendGridHandler(sendgrid_settings, "agrc-supervisor"))
sim_sup.add_message_handler(SendGridHandler(sendgrid_settings, "ugrc-supervisor"))

#: Send a message with both a directory attachment and a single file attachment
message = MessageDetails()
Expand Down

0 comments on commit a13e7bd

Please sign in to comment.