Skip to content
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

fixed order of uri/base uri params; create undeclared uri params #82

Merged
merged 1 commit into from
Feb 2, 2016

Conversation

econchick
Copy link
Contributor

No description provided.

@econchick econchick force-pushed the lynn/fix-uri-params branch from 012d967 to d3a58a7 Compare February 1, 2016 00:23
@codecov-io
Copy link

Current coverage is 97.36%

Branch #82 has no coverage reports uploaded yet.

Powered by Codecov. Updated on successful CI builds.

path = path[0]

pattern = re.compile(r'\{(.*?)\}')
param_order = re.findall(pattern, path)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nit] I would have extracted and tested the pattern matching stuff appart from the uri stuff

@tardyp
Copy link

tardyp commented Feb 1, 2016

LGTM: makes me a little nervous to implement a pattern matching like specifically this with re, but I guess this is good enough if this is only used in the uri params stuff

@econchick
Copy link
Contributor Author

Thanks @tardyp ! Can you explain a little bit in more detail what your hesitation is with the pattern matching?

econchick added a commit that referenced this pull request Feb 2, 2016
fixed order of uri/base uri params; create undeclared uri params
@econchick econchick merged commit ab37dab into v0.2.0-dev Feb 2, 2016
@econchick econchick deleted the lynn/fix-uri-params branch February 2, 2016 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants