profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/aalvrz/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Andrés Álvarez aalvrz Honduras aalvarez.me :snake: Python Engineer

aalvrz/Hourglass 6

:hourglass: Track time spent on your favorite activities

aalvrz/google-interview-university 1

A complete daily plan for studying to become a Google software engineer.

aalvrz/ace 0

Ace (Ajax.org Cloud9 Editor)

aalvrz/ADA-Compiler 0

:coffee: Ada language compiler written in Java that features lexical and syntax analysis using JFlex and JavaCup.

aalvrz/advent-of-code 0

⭐ My Advent of Code solutions

aalvrz/ant-design 0

🐜 A UI Design Language

aalvrz/awesome-hacking-spots 0

:computer: :coffee: List of Awesome Hacking places, orgaty, listing if it features power and wifi

aalvrz/aws-sdk-java 0

The official AWS SDK for Java.

aalvrz/boto3 0

AWS SDK for Python

aalvrz/chalice 0

Python Serverless Microframework for AWS

startedmbalamat/marablu

started time in 3 minutes

startedpelotom/runtypes

started time in 44 minutes

startedNVlabs/dlinputs

started time in 7 hours

issue commentaws/chalice

Error deploying with blueprint authorizer

I would just create a module for storing your authorizer in chalicelib/authorizers.py and then import the authorizer as necessary into your blueprint modules.

fernandoflorez

comment created time in 9 hours

startedleahneukirchen/nq

started time in 10 hours

startedsn4k3/UVtools

started time in 18 hours

startedcozmo/jsQR

started time in 20 hours

startedlaysakura/resume-jp

started time in 20 hours

startedbenthecoder/yt-channels-DS-AI-ML-CS

started time in 21 hours

fork adamchainz/ertai

Mathematical modelling of Magic the Gathering

fork in a day

startedNVlabs/tensorcom

started time in a day

release tdreyno/fluent-decoders

v1.24.0-1

released time in a day

created repositoryalkrauss48/cyrus-lyrics

An iOS app to help me quickly load lyrics for singing with my son

created time in 2 days

startedsickill/vim-pasta

started time in 2 days

release mxcl/xcodebuild

v1.1.2

released time in 2 days

startedgruhn/vue-qrcode-reader

started time in 2 days

pull request commentaws/chalice

Add support for DELETE and PATCH methods in chalice local

@app.route('/endpoint', methods=['DELETE'])
def test():
    return Response()

Throws 405 Error still in chalice local.

jamesls

comment created time in 2 days

created repositorycansadadeserfeliz/dev-cheat-sheets

created time in 2 days

starteddimkarakostas/penguin

started time in 2 days

issue commentaws/chalice

Error deploying with blueprint authorizer

Found the issue. Seems you can use an authorizer declared on a different blueprint.

How would it be possible to create a global authorizer that can be used in all blueprints?

fernandoflorez

comment created time in 2 days

issue openedaws/chalice

Error deploying with blueprint authorizer

Hello,

We are specifying an authorizer on a blueprint and on deploy we receive the following error:

chalice/deploy/swagger.py", line 86, in _generate_security_from_auth_obj 'name': auth_config.header, AttributeError: 'NoneType' object has no attribute 'header'

Still investigating the issue so will provide more info or a PR later. Just wanted to fill the issue in case I forget.

Thanks.

created time in 2 days

pull request commentencode/httpx

Add a network pytest mark for tests that use the network

Seems fair. I'd been keen on us switching these cases out to non-network-requiring tests at some point, tho not a massive priority right now.

@antlarr Could you comment here showing how to disable running the network tests once we've got this marker? Does it require a particular envvar to be set in order to skip them?

Sure. We just use it in our build service by running the tests like this:

%pytest -k 'not network'

Where %pytest is a rpm macro that basically runs pytest with the given arguments for every python flavor (currently 3.6, 3.8 and 3.9) in order to test the rpm packages that are being built for each flavor.

You can see this at the python-httpx spec file in openSUSE build service in line 84.

Where is this marker (and making use of it) documented?

@s-t-e-v-e-n-k already linked the pytest documentation for markers. I also added a comment at https://github.com/encode/httpx/pull/1669/commits/5f7ee8e5efb1d85c39a5507598f7772522f9aae3 to document what that particular marker is used for, just in case some other test is added in the future that makes use of the network.

Once we've got that info against this history, then I'm super happy for this to go in, yup.

Cool

antlarr

comment created time in 2 days

starteddnaeon/go-vcr

started time in 2 days

startednuxt/nuxt.js

started time in 2 days

created repositoryadamchainz/talk-building-interactive-pages-with-htmx

created time in 2 days

startedSAP/ui5-tooling

started time in 2 days

startedremotion-dev/remotion

started time in 2 days

startedfacebookresearch/AugLy

started time in 2 days

pull request commentencode/httpx

Add a network pytest mark for tests that use the network

https://docs.pytest.org/en/6.2.x/example/markers.html is the upstream documentation for custom markers like this.

antlarr

comment created time in 2 days

startedtunguz/ML_Resources

started time in 2 days