Repository navigation
Conversation
sanathkr
left a comment
There was a problem hiding this comment.
Thank you so much for writing a design document! It really helps thinking about the problem more clearly before you spend cycles writing the code. Love it!
The design itself is straightforward. I have one comment though w.r.t Docker.
j0lly
left a comment
There was a problem hiding this comment.
This is ideally the route I would like to pick
There was a problem hiding this comment.
Are we going to restrict the file permissions at all for this tmp file and if so to what?
There was a problem hiding this comment.
I'm not really sure if makes any sense/bring any value.. I would prefer to have a suggestion on this point rather than stating anything about it
f0ef5bf to
20277c1
Compare
|
@jfuss I did a rework. would you like to provide a feedback for the new implementation? |
jfuss
left a comment
There was a problem hiding this comment.
I like the direction this is taking!
446839e to
36ee41d
Compare
|
@j0lly Could you handle the rebase back onto develop and we can take a look at this again |
I've just rebased.. But looking at integration tests, I'm pretty sure will be a mess to work out a decent solution for python 2.7. I'm looking for a different approach that might have to change a bit more the interfaces (codeUri is used all around) but will not fiddle with trying to make my class look like a string AND a file object :( |
There was a problem hiding this comment.
can we encapsulate this in a dictionary rather than multiple if else statements
There was a problem hiding this comment.
can we encapsulate this in a dictionary rather than multiple if else statements
There was a problem hiding this comment.
@thesriram mind you elaborate? I've basically kept consistent behavior based on _extract_functions function in samcli/commands/local/lib/sam_function_provider.py
|
So, the implementation is working but I should look into how to make it work with python 2.7 implementation. There's anything else you see as a blocker to bring this PR forward? |
|
Is this still happening? |
|
Closing this PR. If this is still something valuable we should add, please 👍 #790 |
Issue #, if available:
#790
Description of changes:
Possibility to run
sam local invokefor Functions authored viaInlineCodeorCodekeyChecklist:
make prpassesBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.