-
Notifications
You must be signed in to change notification settings - Fork 0
Add script to update housingSearch for assets using the Asset.fifo topic #6
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
base: main
Are you sure you want to change the base?
Conversation
| # 2) Call functions here | ||
|
|
||
| update_boilerhouse() | ||
| update_properties() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would leave this function commented out, if eventually this gets pushed to master.
Whoever uses this repo should change this file before running anything
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks tidy.
I would make some small edits (see comments) if you eventually decide to push this to master, however I would not merge until you're 100% sure the script is robust (I know as I've had to modify my script numerous time to add error handlings/checks) .
Maybe these script should be merge only after they've been run on dev, staging and prod.
|
|
||
| @dataclass | ||
| class User: | ||
| NAME = "Callum Macpherson" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would remove your name and email, again, if you decide to push to master
| response = sns_client.publish( | ||
| TopicArn=Config.SNS_TOPIC_ARN, | ||
| Message=sns_message, | ||
| MessageGroupId="fake", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why fake? Is any string value ok here?
No description provided.