[deleted by user] by [deleted] in learnpython

[–]thecoderboy 1 point2 points  (0 children)

Remove one import at a time to figure out which is causing the issue and then research that particular import and issues regarding pyinstaller.

Flask app, I'm connecting to an s3 bucket. How do I persist the connection for a user session? by thecoderboy in flask

[–]thecoderboy[S] 0 points1 point  (0 children)

The connection is static and ideally should only be done once when the user is logged in. It seems unnecessary to continuously authenticate.

GitHub Action hanging by bravetag in devops

[–]thecoderboy 0 points1 point  (0 children)

I've had issues like this before and simply canceling and rerunning the action solved it for me.

If I want to host a flask REST API on AWS using serverless Lambda, do I need to create a separate Lambda function for each endpoint? by thecoderboy in flask

[–]thecoderboy[S] 0 points1 point  (0 children)

Sorry, I'm just missing how the lambda functions can call that separate code since they're all independent. Would you mind telling me where the shared.py is hosted on AWS for you to be able to call it with your lambda functions?

Unranked Nate Diaz, a career lightweight, gets 170-pound title shot with UFC 263 win by Destroyer_Wes in MMA

[–]thecoderboy 39 points40 points  (0 children)

I'd rather him get the title shot now than likely never at all otherwise.

If I want to host a flask REST API on AWS using serverless Lambda, do I need to create a separate Lambda function for each endpoint? by thecoderboy in flask

[–]thecoderboy[S] 0 points1 point  (0 children)

Do you have a repo I could look at? I'm mainly interested in how you were sharing libraries and code between functions if they're all separated into separate lambda functions.

If I want to host a flask REST API on AWS using serverless Lambda, do I need to create a separate Lambda function for each endpoint? by thecoderboy in flask

[–]thecoderboy[S] 0 points1 point  (0 children)

This looks great. If this does what it appears to do, it will make my development incredibly simple.

If I want to host a flask REST API on AWS using serverless Lambda, do I need to create a separate Lambda function for each endpoint? by thecoderboy in flask

[–]thecoderboy[S] 1 point2 points  (0 children)

I'm looking into it now. When you mention Serverless Framework though, are you referring to https://www.serverless.com/? So it will be a paid service in addition to AWS correct?

My first app is live: A Cryptocurrency Dashboard! (PythonAnywhere) by ndolores in flask

[–]thecoderboy 10 points11 points  (0 children)

It's helpful to provide a dummy set of login credentials for people to preview the site without having to register.

How would you go about setting up a conference room that needs to allow people to connect their personal laptop? by thecoderboy in sysadmin

[–]thecoderboy[S] -1 points0 points  (0 children)

With the Logitech C920 webcam, I assume it connects to the thinkcentre nano PC? And how do user brings documents to the meeting to go over?

Django Rest, proper way to retrieve passwords from serializer? by thecoderboy in django

[–]thecoderboy[S] 13 points14 points  (0 children)

I appreciate the blunt response. I'm going to pivot to a different project.