Daniel Schep
f54081216c
don't check call tty on macs
2019-01-28 11:41:58 -05:00
Daniel Schep
dd43b852bc
Don't use py3.5+ only subprocess.run in python invoke local
...
Fixes #5499
2018-11-16 15:35:45 -05:00
Travis Webb
e98100de91
Merge branch '5354-fix' of github.com:cloudreach/serverless into 5354-fix
2018-10-22 14:31:26 -07:00
Travis Webb
56ebcc4c4e
Merge branch 'master' of github.com:cloudreach/serverless into 5354-fix
2018-10-22 14:30:20 -07:00
Travis Webb
0cc2425e98
remove extraneous log statement
2018-10-22 14:29:50 -07:00
horike37
3d669b3eb2
Merge remote-tracking branch 'root/master' into 5354-fix
2018-10-14 15:11:12 +09:00
aki-webii
0e6423cbc6
fix: Implement context.log function for invoke local command on Python environment.
2018-10-13 14:00:02 +09:00
Travis Webb
19e777ba99
quiet stderr tty output
2018-10-04 16:25:28 -04:00
Travis Webb
61865db2cc
quiet tty command output
2018-10-04 16:24:50 -04:00
Travis Webb
de4e6d82a3
update python invokeLocal to detect tty
2018-10-04 15:17:48 -04:00
softprops
fdac9df145
generate a dynamic date
2018-09-18 21:02:14 -04:00
softprops
c06ae9ebea
more faithfully represent aws lambda python runtime context
2018-09-12 01:09:12 -04:00
Carlos Hernando Carasol
bbade3d1a8
Basic logging for python invoke local
2017-10-31 12:45:20 +01:00
Daniel Schep
29a85498f5
Set stdin to a TTY in invoke.py to allow PDB use
...
Setting `sys.stdin` to a TTY prevents `pdb.set_trace()` from immediatly throwing
`BdbQuit`. I am unsure if there is a way to make this work in Windows
2017-10-10 14:40:23 -04:00
Daniel Schep
8265b4984d
Fix Python invokeLocal regressions due to context changes
...
The changes in 1.21 allowing custom context introduced bugs in the
Python invoke local implementation:
* If no custom context is set it would error out because the handler
would never be called
* AWS Lambda context objects in python aren't dictionaries, they're
Python objects
2017-08-31 14:44:05 -04:00
Rafal Wilinski
b5e1564ab6
Merge branch 'master' into add-context
2017-08-21 22:59:37 +02:00
Rafał Wiliński
5e5f71df65
Add context and contextPath flags to invoke local cmd
2017-08-19 17:30:52 +02:00
Tommy Brunn
5a61f6c756
Test python implementation of get_remaining_time_in_millis
2017-08-05 19:47:46 +02:00
Tommy Brunn
35102ee3e6
Fix Python implementation of get_remaining_time_in_millis
2017-08-05 16:42:59 +02:00
Daniel Schep
e1c27c3569
🐍 🐍 🐍 Python3.6 support is coming to Lambda!
...
closes #3482
https://aws.amazon.com/releasenotes/5198208415517126
2017-04-18 17:57:48 -04:00
Daniel Schep
a163e65d9f
invoke local python functions! closes #2862
2017-01-18 09:54:29 -05:00