DSGT-DLP / Deep-Learning-Playground

Web Application where people new to Deep Learning can input a dataset and toy around with basic Pytorch modules without writing any code
MIT License
26 stars 8 forks source link

Fixed idempotency issue by first checking if table does not exist #1035

Closed alantao912 closed 9 months ago

alantao912 commented 1 year ago

Fixed idempotency issue by first checking if table does not exist

Github Issue Number Here: <#1033> What user problem are we solving? AppStack.ts does not start because trainspace table already exists.

What solution does this PR provide? Checks if the table does not already exist before creating it again.

Testing Methodology Typed dlp-cli serverless start and it worked.

Any other considerations

Issue may have been fixed by something else.

karkir0003 commented 1 year ago

@alantao912 can you ask in sst discord best practice for checking if a table exists before creating a new one. ask if sst handles that check sort of under the hood

alantao912 commented 1 year ago

@alantao912 can you ask in sst discord best practice for checking if a table exists before creating a new one. ask if sst handles that check sort of under the hood

image I already tried </3 :(

karkir0003 commented 1 year ago

@alantao912 can you ask in sst discord best practice for checking if a table exists before creating a new one. ask if sst handles that check sort of under the hood

image I already tried </3 :(

is there a way we can tag someone who maintains SST in this thread @alantao912

sonarcloud[bot] commented 12 months ago

SonarCloud Quality Gate failed.    Quality Gate failed

Bug C 1 Bug
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

karkir0003 commented 12 months ago

@alantao912 status on this?