Last active
December 14, 2015 08:48
-
-
Save q/5060092 to your computer and use it in GitHub Desktop.
An example of how easy it is to standup a new Python service in the Netflix ecosystem.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from netflix.service import BotoService, Route53Service | |
from netflix.service.bottle import BottleService, get | |
class HelloNflx(BottleService, Route53Service): | |
@get('/') | |
def index(self): | |
return "Hello from Netflix!" | |
if __name__ == "__main__": | |
HelloNflx.main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment