This file contains hidden or 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
upstream batata{ | |
server 127.0.0.1:8000; | |
} | |
error_log /var/log/nginx/error.log; | |
access_log /var/log/nginx/access.log; | |
server { | |
listen 80; | |
server_name 159.203.86.164; |
This file contains hidden or 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 pycallgraph import PyCallGraph | |
from pycallgraph.output import GraphvizOutput | |
from pycallgraph import Config | |
with PyCallGraph(output=GraphvizOutput(), config=Config(max_depth=5)): | |
pass |
This file contains hidden or 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
"hits" : [ | |
{ | |
"_index" : "animal", | |
"_type" : "animal", | |
"_id" : "6d7a9391-9e7f-47e9-ad46-4d6fe85bba7d", | |
"_score" : 1.0, | |
"_source" : { | |
"scope" : { | |
"farm_id" : "7c60dea5-1d80-4997-87e5-a78a262229fd", | |
"holding_id" : "af13a51c-a1c6-4596-afd8-a15fbe54fe40" |
This file contains hidden or 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
class AnimalDoc(Document): | |
_id = Text() | |
class Index: | |
name = 'animal' | |
# Object type definition |
OlderNewer