Bro , watching your videos have made be so much better in python i don't have any words for it , even my classmate s are calling me python god as my nickname cuz i just know so much more than them ,it's all because I learnt and explored so much from your videos , please don't ever stop making videos .😭
@Carberra2 жыл бұрын
All rise for our new god, Akuma!
@akumasenpai76732 жыл бұрын
@@Carberra 😭😭😭thank you.
@0xtz_2 жыл бұрын
I was waiting for this 👌 Thanks man
@icrazyrockstar74082 жыл бұрын
shortcuts, hmm..... will be waiting for it too
@fewunderstandthis7355 Жыл бұрын
Cool. I recently ran into an issue where I was unable to use the boto3 S3 Client object with context manager. Would this be a good use case to create a custom ‘enhanced’ version of the class in my project?
@Carberra Жыл бұрын
Can't see why not. You just need to know what the teardown procedure is and you should be good to go. Make sure performance won't take a hit when creating clients and such though.
@fewunderstandthis7355 Жыл бұрын
@@Carberra Thanks - any particular reason it would take a performance hit? Before this video I didn't realize you had to build a class to allow using it with context manager. In my case I am just writing a bunch of files to S3 (it's my first time using boto3). I instinctively tried using the context manager in the way that you would for a requests Session/Client, but it errors. Cheers
@Carberra Жыл бұрын
Depends how it's implemented. In aiohttp, it's quicker to use a single session rather than create one every time (but you can actually use a context manager on that session itself I think, so may not be a problem at all). Idk how Boto3 stuff works haha
@fewunderstandthis7355 Жыл бұрын
@@Carberra ahh yes, rather than requests, the better comparison would have been aiohttp or httpx (which has similar api to requests). Ok thanks, I’ll try it out! Great content as always