Python relative imports in AWS Lambda fail with attempted relative import with no known parent package
In AWS Lambda if I attempt an explicit relative import like this
.
├── lambda_file.py
└── example.py
// Defines constants for all websocket close event codes that are used in practice | |
// Link: https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent | |
/** | |
* Normal closure; the connection successfully completed whatever purpose for which it was created. | |
*/ | |
const NORMAL_CLOSURE = 1000 | |
/** | |
* The endpoint is going away, either because of a server failure |
<?php | |
namespace NiisanTokyo; | |
/** | |
* ランキング生成・取得クラス | |
* | |
* phpredis エクステンションが必要 | |
* | |
* @see https://github.com/phpredis/phpredis | |
*/ |