workspace
stringclasses 1
value | channel
stringclasses 1
value | sentences
stringlengths 1
3.93k
| ts
stringlengths 26
26
| user
stringlengths 2
11
| sentence_id
stringlengths 44
53
| timestamp
float64 1.5B
1.56B
| __index_level_0__
int64 0
106k
|
---|---|---|---|---|---|---|---|
pythondev | help | i stuck i in bash_profile and it worked | 2019-03-27T18:57:00.887300 | Jordon | pythondev_help_Jordon_2019-03-27T18:57:00.887300 | 1,553,713,020.8873 | 15,321 |
pythondev | help | my msgs are out of order due to wifi problems… | 2019-03-27T18:57:13.887800 | Jordon | pythondev_help_Jordon_2019-03-27T18:57:13.887800 | 1,553,713,033.8878 | 15,322 |
pythondev | help | Yeah, you can share that easily with the tail of .bash_history in your user directory, just be sure to censor any passwords you may have typed as command line arguments anywhere. | 2019-03-27T18:57:14.887900 | Kristine | pythondev_help_Kristine_2019-03-27T18:57:14.887900 | 1,553,713,034.8879 | 15,323 |
pythondev | help | Oh well you got it working at least. | 2019-03-27T18:57:28.888100 | Kristine | pythondev_help_Kristine_2019-03-27T18:57:28.888100 | 1,553,713,048.8881 | 15,324 |
pythondev | help | thanks for the help everyone! | 2019-03-27T18:58:08.888300 | Jordon | pythondev_help_Jordon_2019-03-27T18:58:08.888300 | 1,553,713,088.8883 | 15,325 |
pythondev | help | much appreciated | 2019-03-27T18:58:15.888500 | Jordon | pythondev_help_Jordon_2019-03-27T18:58:15.888500 | 1,553,713,095.8885 | 15,326 |
pythondev | help | Yeah, .bashrc didn’t work because on OSX, when you run <http://Terminal.app|Terminal.app>, it creates a login-shell in each new terminal window instead of a non-login shell like you would normally experience on Linux. .bashrc is for non-login shells, and .bash_profile is for login shells | 2019-03-27T18:59:41.889500 | Kristine | pythondev_help_Kristine_2019-03-27T18:59:41.889500 | 1,553,713,181.8895 | 15,327 |
pythondev | help | does that also apply to iterm2? | 2019-03-27T19:00:20.889700 | Hiroko | pythondev_help_Hiroko_2019-03-27T19:00:20.889700 | 1,553,713,220.8897 | 15,328 |
pythondev | help | I believe so, yes. | 2019-03-27T19:00:28.890100 | Kristine | pythondev_help_Kristine_2019-03-27T19:00:28.890100 | 1,553,713,228.8901 | 15,329 |
pythondev | help | gotcha. | 2019-03-27T19:00:33.890500 | Hiroko | pythondev_help_Hiroko_2019-03-27T19:00:33.890500 | 1,553,713,233.8905 | 15,330 |
pythondev | help | I use iterm2, but I haven’t actually paid close enough attention. Probably has an option somewhere to disable that behavior given how much freedom it gives us. | 2019-03-27T19:01:08.891100 | Kristine | pythondev_help_Kristine_2019-03-27T19:01:08.891100 | 1,553,713,268.8911 | 15,331 |
pythondev | help | Absolutely a gem of a program. | 2019-03-27T19:01:15.891400 | Kristine | pythondev_help_Kristine_2019-03-27T19:01:15.891400 | 1,553,713,275.8914 | 15,332 |
pythondev | help | i should start using it | 2019-03-27T19:01:49.891900 | Jordon | pythondev_help_Jordon_2019-03-27T19:01:49.891900 | 1,553,713,309.8919 | 15,333 |
pythondev | help | everyone at work uses it | 2019-03-27T19:01:49.892000 | Jordon | pythondev_help_Jordon_2019-03-27T19:01:49.892000 | 1,553,713,309.892 | 15,334 |
pythondev | help | im on the default terminal | 2019-03-27T19:01:50.892100 | Jordon | pythondev_help_Jordon_2019-03-27T19:01:50.892100 | 1,553,713,310.8921 | 15,335 |
pythondev | help | One solution if you’re really used to using .bashrc from working on linux so much is to add
```if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi```
to your .bash_profile | 2019-03-27T19:02:26.892800 | Kristine | pythondev_help_Kristine_2019-03-27T19:02:26.892800 | 1,553,713,346.8928 | 15,336 |
pythondev | help | that way you could even share a .bashrc file across multiple linux and mac machines, and not have to worry about it not functioning properly on the macs, or having to echo the changes across to your .bash_profile every time | 2019-03-27T19:03:18.893600 | Kristine | pythondev_help_Kristine_2019-03-27T19:03:18.893600 | 1,553,713,398.8936 | 15,337 |
pythondev | help | thanks for the tips! | 2019-03-27T19:03:29.893800 | Jordon | pythondev_help_Jordon_2019-03-27T19:03:29.893800 | 1,553,713,409.8938 | 15,338 |
pythondev | help | My equality comparison operators notebook:
<https://github.com/paulgureghian/Comparison_Operators_in_Python/blob/master/'is'_vs_'%3D%3D'.ipynb> | 2019-03-27T19:56:55.894700 | Clayton | pythondev_help_Clayton_2019-03-27T19:56:55.894700 | 1,553,716,615.8947 | 15,339 |
pythondev | help | anyone familiar with <https://quicktype.io/> ? seems like a cool tool but i'm left trying to figure out how exactly it is useful / how to use it. i pasted a large json snippet into it and it output a bunch of code. so is the purpose of that generated code to be able to parse that type of json as input? i guess i'm looking for a basic example to wrap my head around it, or maybe i'm just not understanding its purpose. | 2019-03-27T21:41:32.897200 | Stacy | pythondev_help_Stacy_2019-03-27T21:41:32.897200 | 1,553,722,892.8972 | 15,340 |
pythondev | help | I’m not sure how it would be useful? | 2019-03-27T21:43:36.897600 | Hiroko | pythondev_help_Hiroko_2019-03-27T21:43:36.897600 | 1,553,723,016.8976 | 15,341 |
pythondev | help | requires you to write the json definition first, where you could be spending that time writing the code itself | 2019-03-27T21:43:58.898100 | Hiroko | pythondev_help_Hiroko_2019-03-27T21:43:58.898100 | 1,553,723,038.8981 | 15,342 |
pythondev | help | yeah so i just provided it json output from an API, so i'm not sure if the code being generated is to ultimately be able to parse/use the json output more efficiently moving forward or something, if you were to save the json output to a file, read it in using python then leveraging the python generated code or something. no idea. | 2019-03-27T21:48:21.900300 | Stacy | pythondev_help_Stacy_2019-03-27T21:48:21.900300 | 1,553,723,301.9003 | 15,343 |
pythondev | help | Maybe it’s more useful for schema and/or GraphQL? I don’t know those personally so I can’t speak for the practicality of using it for those. | 2019-03-27T21:53:59.901000 | Kristine | pythondev_help_Kristine_2019-03-27T21:53:59.901000 | 1,553,723,639.901 | 15,344 |
pythondev | help | Seems more like a competitor to Swagger files. For when you’re the one writing the (public) API and you want to automatically generate API clients for many languages, or even support languages you haven’t considered yet. | 2019-03-27T22:12:04.901900 | Letty | pythondev_help_Letty_2019-03-27T22:12:04.901900 | 1,553,724,724.9019 | 15,345 |
pythondev | help | Well one clear advantage it has over Swagger Files is a better name :stuck_out_tongue: | 2019-03-27T22:14:56.902300 | Kristine | pythondev_help_Kristine_2019-03-27T22:14:56.902300 | 1,553,724,896.9023 | 15,346 |
pythondev | help | Hey guys, is it good idea to run nodejs as web server to serve requests and proxy those to django app servers? Will it cause any performance overhead over nginx (reverse proxy nodejs requests to django app-servers)? | 2019-03-28T02:26:36.000400 | Cathi | pythondev_help_Cathi_2019-03-28T02:26:36.000400 | 1,553,739,996.0004 | 15,347 |
pythondev | help | <@Cathi> Why do you need the node server in between? | 2019-03-28T03:26:07.000900 | Valeri | pythondev_help_Valeri_2019-03-28T03:26:07.000900 | 1,553,743,567.0009 | 15,348 |
pythondev | help | It will be used to serve React frontend. I'd then proxy the API requests to Django servers.. | 2019-03-28T03:26:49.001700 | Cathi | pythondev_help_Cathi_2019-03-28T03:26:49.001700 | 1,553,743,609.0017 | 15,349 |
pythondev | help | There is an obvious overhead don't you think | 2019-03-28T03:27:32.002200 | Valeri | pythondev_help_Valeri_2019-03-28T03:27:32.002200 | 1,553,743,652.0022 | 15,350 |
pythondev | help | ? | 2019-03-28T03:27:33.002400 | Valeri | pythondev_help_Valeri_2019-03-28T03:27:33.002400 | 1,553,743,653.0024 | 15,351 |
pythondev | help | That I can put the react part inside Django? | 2019-03-28T03:28:00.002800 | Cathi | pythondev_help_Cathi_2019-03-28T03:28:00.002800 | 1,553,743,680.0028 | 15,352 |
pythondev | help | I want to use WS and message brokers later which will be handled by Django and nodejs will notify the users... | 2019-03-28T03:30:00.003600 | Cathi | pythondev_help_Cathi_2019-03-28T03:30:00.003600 | 1,553,743,800.0036 | 15,353 |
pythondev | help | (in realtime) | 2019-03-28T03:30:11.003800 | Cathi | pythondev_help_Cathi_2019-03-28T03:30:11.003800 | 1,553,743,811.0038 | 15,354 |
pythondev | help | Is this right? | 2019-03-28T03:30:20.004000 | Cathi | pythondev_help_Cathi_2019-03-28T03:30:20.004000 | 1,553,743,820.004 | 15,355 |
pythondev | help | Please tell if I'm supposed to figure out that or question of this type can be asked haha.. | 2019-03-28T03:32:17.004600 | Cathi | pythondev_help_Cathi_2019-03-28T03:32:17.004600 | 1,553,743,937.0046 | 15,356 |
pythondev | help | What do you mean by: `I'd then proxy the API requests to Django servers..`? | 2019-03-28T03:32:50.005000 | Valeri | pythondev_help_Valeri_2019-03-28T03:32:50.005000 | 1,553,743,970.005 | 15,357 |
pythondev | help | There's a javascript server serving frontend reqs and a django server serving backend requests arising from the frontend? | 2019-03-28T03:33:27.006200 | Valeri | pythondev_help_Valeri_2019-03-28T03:33:27.006200 | 1,553,744,007.0062 | 15,358 |
pythondev | help | Is that what you wish to do? | 2019-03-28T03:33:35.006500 | Valeri | pythondev_help_Valeri_2019-03-28T03:33:35.006500 | 1,553,744,015.0065 | 15,359 |
pythondev | help | Node will run on specific ports and Django on its own. So users will request the node server. If it is API request, then I'll forward that to Django endpoints from node's, that'll need proxy. | 2019-03-28T03:34:08.007300 | Cathi | pythondev_help_Cathi_2019-03-28T03:34:08.007300 | 1,553,744,048.0073 | 15,360 |
pythondev | help | Yes | 2019-03-28T03:34:43.007900 | Cathi | pythondev_help_Cathi_2019-03-28T03:34:43.007900 | 1,553,744,083.0079 | 15,361 |
pythondev | help | Aah basically a react/vue frontend and a django backend is what you're trying to do? | 2019-03-28T03:35:19.008600 | Valeri | pythondev_help_Valeri_2019-03-28T03:35:19.008600 | 1,553,744,119.0086 | 15,362 |
pythondev | help | Yes exactly. | 2019-03-28T03:36:02.008800 | Cathi | pythondev_help_Cathi_2019-03-28T03:36:02.008800 | 1,553,744,162.0088 | 15,363 |
pythondev | help | I've not done anything like that before, just served monoliths.. | 2019-03-28T03:36:30.009800 | Cathi | pythondev_help_Cathi_2019-03-28T03:36:30.009800 | 1,553,744,190.0098 | 15,364 |
pythondev | help | Heard that nodejs could handle large number of requests whereas my Django server could crash. I can use kafka/ redis to queue requests (only which require processing), I mean only want to use Django servers for processing.. | 2019-03-28T03:37:54.011200 | Cathi | pythondev_help_Cathi_2019-03-28T03:37:54.011200 | 1,553,744,274.0112 | 15,365 |
pythondev | help | <@Cathi> I'm not sure what the magnitude of your requests are | 2019-03-28T03:41:39.011600 | Valeri | pythondev_help_Valeri_2019-03-28T03:41:39.011600 | 1,553,744,499.0116 | 15,366 |
pythondev | help | <https://pyvideo.org/pycon-us-2011/pycon-2011--disqus--serving-400-million-people-wi.html> | 2019-03-28T03:41:55.012000 | Valeri | pythondev_help_Valeri_2019-03-28T03:41:55.012000 | 1,553,744,515.012 | 15,367 |
pythondev | help | It'll have continuous open connections in WS for most end users. I'll be serving large files too (basically a file processing and sync app). | 2019-03-28T03:44:30.013200 | Cathi | pythondev_help_Cathi_2019-03-28T03:44:30.013200 | 1,553,744,670.0132 | 15,368 |
pythondev | help | Thanks for the video, I'll consider watching.. | 2019-03-28T03:45:37.013500 | Cathi | pythondev_help_Cathi_2019-03-28T03:45:37.013500 | 1,553,744,737.0135 | 15,369 |
pythondev | help | ```
curl -XGET "<http://localhost:9200/_search>" -H 'Content-Type: application/json' -d' { "query": { "range": { "created": { "gte": "2016-01-01", "lte": "2018-01-01", "format": "yyyy-MM-dd" } } } }'
``` | 2019-03-28T05:04:15.014800 | Valeri | pythondev_help_Valeri_2019-03-28T05:04:15.014800 | 1,553,749,455.0148 | 15,370 |
pythondev | help | Can anybody tell me the python equivalent of this curl? | 2019-03-28T05:04:30.015200 | Valeri | pythondev_help_Valeri_2019-03-28T05:04:30.015200 | 1,553,749,470.0152 | 15,371 |
pythondev | help | I've tried this:
```
query = {
"query": {
"range": {
"created": {
"gte": start_date,
"lte": end_date,
"format": "yyyy-MM-dd"
}
}
}
}
response = requests.request(
method='get',
url=settings.ES_SERVER_URL + SEARCH_URL,
data=query,
headers={'Content-Type': 'application/json'},
)
``` | 2019-03-28T05:05:02.015600 | Valeri | pythondev_help_Valeri_2019-03-28T05:05:02.015600 | 1,553,749,502.0156 | 15,372 |
pythondev | help | <https://curl.trillworks.com> | 2019-03-28T05:05:25.015800 | Hiroko | pythondev_help_Hiroko_2019-03-28T05:05:25.015800 | 1,553,749,525.0158 | 15,373 |
pythondev | help | ```
[
"{\"error\":{\"root_cause\":[{\"type\":\"json_parse_exception\",\"reason\":\"Unrecognized token 'query': was expecting ('true', 'false' or '",
"null')\\n at [Source: org.elasticsearch.transport.netty4.ByteBufStreamInput@415647d6; line: 1, column: 7]\"}],\"type\":\"json_parse_e",
"xception\",\"reason\":\"Unrecognized token 'query': was expecting ('true', 'false' or 'null')\\n at [Source: org.elasticsearch.transp",
"ort.netty4.ByteBufStreamInput@415647d6; line: 1, column: 7]\"},\"status\":500}"
]
``` | 2019-03-28T05:05:41.016100 | Valeri | pythondev_help_Valeri_2019-03-28T05:05:41.016100 | 1,553,749,541.0161 | 15,374 |
pythondev | help | <@Hiroko> Thanks | 2019-03-28T05:08:23.016300 | Valeri | pythondev_help_Valeri_2019-03-28T05:08:23.016300 | 1,553,749,703.0163 | 15,375 |
pythondev | help | But that didn't help | 2019-03-28T05:08:29.016700 | Valeri | pythondev_help_Valeri_2019-03-28T05:08:29.016700 | 1,553,749,709.0167 | 15,376 |
pythondev | help | ```
query = {
"query": {
"range": {
"created": {
"gte": start_date,
"lte": end_date,
"format": "yyyy-MM-dd"
}
}
}
}
response = <http://requests.post|requests.post>(
url=settings.ES_SERVER_URL + SEARCH_URL,
data=str(query),
headers={'Content-Type': 'application/json'},
)
``` | 2019-03-28T05:09:05.017000 | Valeri | pythondev_help_Valeri_2019-03-28T05:09:05.017000 | 1,553,749,745.017 | 15,377 |
pythondev | help | That's what I'm doing now | 2019-03-28T05:09:14.017300 | Valeri | pythondev_help_Valeri_2019-03-28T05:09:14.017300 | 1,553,749,754.0173 | 15,378 |
pythondev | help | What do you get in response? | 2019-03-28T05:13:27.017500 | Cathi | pythondev_help_Cathi_2019-03-28T05:13:27.017500 | 1,553,750,007.0175 | 15,379 |
pythondev | help | I've posted above | 2019-03-28T05:14:08.017900 | Valeri | pythondev_help_Valeri_2019-03-28T05:14:08.017900 | 1,553,750,048.0179 | 15,380 |
pythondev | help | The error messages? | 2019-03-28T05:14:17.018200 | Cathi | pythondev_help_Cathi_2019-03-28T05:14:17.018200 | 1,553,750,057.0182 | 15,381 |
pythondev | help | ```
[
"{\"error\":{\"root_cause\":[{\"type\":\"json_parse_exception\",\"reason\":\"Unexpected character (''' (code 39)): was expecting double-quot",
"e to start field name\\n at [Source: org.elasticsearch.transport.netty4.ByteBufStreamInput@14bca104; line: 1, column: 3]\"}],\"type",
"\":\"json_parse_exception\",\"reason\":\"Unexpected character (''' (code 39)): was expecting double-quote to start field name\\n at [So",
"urce: org.elasticsearch.transport.netty4.ByteBufStreamInput@14bca104; line: 1, column: 3]\"},\"status\":500}"
]
``` | 2019-03-28T05:14:19.018300 | Valeri | pythondev_help_Valeri_2019-03-28T05:14:19.018300 | 1,553,750,059.0183 | 15,382 |
pythondev | help | I do not have hands on ES, probably format is not matching which the ES is expecting.. | 2019-03-28T05:17:06.019100 | Cathi | pythondev_help_Cathi_2019-03-28T05:17:06.019100 | 1,553,750,226.0191 | 15,383 |
pythondev | help | Can you try directly sending requests.get or <http://requests.post|requests.post> without passing headers but the dict object directly? | 2019-03-28T05:18:32.019700 | Cathi | pythondev_help_Cathi_2019-03-28T05:18:32.019700 | 1,553,750,312.0197 | 15,384 |
pythondev | help | Can't do that | 2019-03-28T05:23:43.019900 | Valeri | pythondev_help_Valeri_2019-03-28T05:23:43.019900 | 1,553,750,623.0199 | 15,385 |
pythondev | help | ES doesn't support `application/x-www-form-urlencoded` | 2019-03-28T05:24:02.020200 | Valeri | pythondev_help_Valeri_2019-03-28T05:24:02.020200 | 1,553,750,642.0202 | 15,386 |
pythondev | help | ```
[
"{\"error\":\"Content-Type header [application/x-www-form-urlencoded] is not supported\",\"status\":406}"
]
``` | 2019-03-28T05:24:17.020400 | Valeri | pythondev_help_Valeri_2019-03-28T05:24:17.020400 | 1,553,750,657.0204 | 15,387 |
pythondev | help | Oh, default content-type of requests, sorry. | 2019-03-28T05:52:09.021600 | Cathi | pythondev_help_Cathi_2019-03-28T05:52:09.021600 | 1,553,752,329.0216 | 15,388 |
pythondev | help | <@Valeri> any reason to not use the python ES client? | 2019-03-28T05:55:49.022600 | Hiroko | pythondev_help_Hiroko_2019-03-28T05:55:49.022600 | 1,553,752,549.0226 | 15,389 |
pythondev | help | I don't need it | 2019-03-28T06:03:54.022900 | Valeri | pythondev_help_Valeri_2019-03-28T06:03:54.022900 | 1,553,753,034.0229 | 15,390 |
pythondev | help | I don't need to create indexes | 2019-03-28T06:04:07.023200 | Valeri | pythondev_help_Valeri_2019-03-28T06:04:07.023200 | 1,553,753,047.0232 | 15,391 |
pythondev | help | I don't need to update them | 2019-03-28T06:04:12.023400 | Valeri | pythondev_help_Valeri_2019-03-28T06:04:12.023400 | 1,553,753,052.0234 | 15,392 |
pythondev | help | I just need to fetch data from an ES server using python/django and serve that to a react frontend | 2019-03-28T06:04:43.024200 | Valeri | pythondev_help_Valeri_2019-03-28T06:04:43.024200 | 1,553,753,083.0242 | 15,393 |
pythondev | help | <@Hiroko> | 2019-03-28T06:04:53.024400 | Valeri | pythondev_help_Valeri_2019-03-28T06:04:53.024400 | 1,553,753,093.0244 | 15,394 |
pythondev | help | you can still use the ES client | 2019-03-28T06:14:45.024700 | Mica | pythondev_help_Mica_2019-03-28T06:14:45.024700 | 1,553,753,685.0247 | 15,395 |
pythondev | help | I use it still | 2019-03-28T06:14:47.024900 | Mica | pythondev_help_Mica_2019-03-28T06:14:47.024900 | 1,553,753,687.0249 | 15,396 |
pythondev | help | and I only retrieve data | 2019-03-28T06:14:52.025100 | Mica | pythondev_help_Mica_2019-03-28T06:14:52.025100 | 1,553,753,692.0251 | 15,397 |
pythondev | help | Okay | 2019-03-28T06:19:43.025300 | Valeri | pythondev_help_Valeri_2019-03-28T06:19:43.025300 | 1,553,753,983.0253 | 15,398 |
pythondev | help | But what am I doing wrong here? | 2019-03-28T06:19:52.025600 | Valeri | pythondev_help_Valeri_2019-03-28T06:19:52.025600 | 1,553,753,992.0256 | 15,399 |
pythondev | help | I don’t think you are | 2019-03-28T06:30:51.025900 | Hiroko | pythondev_help_Hiroko_2019-03-28T06:30:51.025900 | 1,553,754,651.0259 | 15,400 |
pythondev | help | everything looks right to me, so its either a specific elasticsearch endpoint thing, or requests isn’t crafting the correct URL | 2019-03-28T06:31:35.026700 | Hiroko | pythondev_help_Hiroko_2019-03-28T06:31:35.026700 | 1,553,754,695.0267 | 15,401 |
pythondev | help | <@Valeri> what is `response.url`? | 2019-03-28T06:33:39.027100 | Hiroko | pythondev_help_Hiroko_2019-03-28T06:33:39.027100 | 1,553,754,819.0271 | 15,402 |
pythondev | help | for the get request? | 2019-03-28T06:33:45.027300 | Hiroko | pythondev_help_Hiroko_2019-03-28T06:33:45.027300 | 1,553,754,825.0273 | 15,403 |
pythondev | help | oh oh | 2019-03-28T06:33:55.027500 | Hiroko | pythondev_help_Hiroko_2019-03-28T06:33:55.027500 | 1,553,754,835.0275 | 15,404 |
pythondev | help | for `get`, you need `params` kwarg, not `data` | 2019-03-28T06:34:07.027800 | Hiroko | pythondev_help_Hiroko_2019-03-28T06:34:07.027800 | 1,553,754,847.0278 | 15,405 |
pythondev | help | >>> Requests allows you to provide these arguments as a dictionary of strings, using the params keyword argument | 2019-03-28T06:34:30.028000 | Hiroko | pythondev_help_Hiroko_2019-03-28T06:34:30.028000 | 1,553,754,870.028 | 15,406 |
pythondev | help | <http://docs.python-requests.org/en/master/user/quickstart/#passing-parameters-in-urls> | 2019-03-28T06:35:11.028200 | Hiroko | pythondev_help_Hiroko_2019-03-28T06:35:11.028200 | 1,553,754,911.0282 | 15,407 |
pythondev | help | ```
[
"{\"error\":{\"root_cause\":[{\"type\":\"illegal_argument_exception\",\"reason\":\"request [/_search] contains unrecognized parameter: [{'qu",
"ery': {'range': {'created': {'gte': '1995-02-01', 'lte': '1995-03-01', 'format': 'yyyy-MM-dd'}}}}]\"}],\"type\":\"illegal_argument_e",
"xception\",\"reason\":\"request [/_search] contains unrecognized parameter: [{'query': {'range': {'created': {'gte': '1995-02-01', '",
"lte': '1995-03-01', 'format': 'yyyy-MM-dd'}}}}]\"},\"status\":400}"
]
``` | 2019-03-28T06:58:08.028600 | Valeri | pythondev_help_Valeri_2019-03-28T06:58:08.028600 | 1,553,756,288.0286 | 15,408 |
pythondev | help | I get this now | 2019-03-28T06:58:11.028800 | Valeri | pythondev_help_Valeri_2019-03-28T06:58:11.028800 | 1,553,756,291.0288 | 15,409 |
pythondev | help | ```
response = requests.get(
url=settings.ES_SERVER_URL + SEARCH_URL,
headers={'Content-Type': 'application/json'},
params=str(query),
)
``` | 2019-03-28T06:58:18.029000 | Valeri | pythondev_help_Valeri_2019-03-28T06:58:18.029000 | 1,553,756,298.029 | 15,410 |
pythondev | help | That's my request | 2019-03-28T06:58:24.029200 | Valeri | pythondev_help_Valeri_2019-03-28T06:58:24.029200 | 1,553,756,304.0292 | 15,411 |
pythondev | help | Removing `str` gives me:
```
[
"{\"error\":{\"root_cause\":[{\"type\":\"illegal_argument_exception\",\"reason\":\"request [/_search] contains unrecognized parameter: [quer",
"y]\"}],\"type\":\"illegal_argument_exception\",\"reason\":\"request [/_search] contains unrecognized parameter: [query]\"},\"status\":400}"
]
``` | 2019-03-28T06:59:59.029700 | Valeri | pythondev_help_Valeri_2019-03-28T06:59:59.029700 | 1,553,756,399.0297 | 15,412 |
pythondev | help | <@Hiroko> | 2019-03-28T07:00:42.029900 | Valeri | pythondev_help_Valeri_2019-03-28T07:00:42.029900 | 1,553,756,442.0299 | 15,413 |
pythondev | help | you’re converting the dict to a string | 2019-03-28T07:02:01.030100 | Hiroko | pythondev_help_Hiroko_2019-03-28T07:02:01.030100 | 1,553,756,521.0301 | 15,414 |
pythondev | help | probably why | 2019-03-28T07:02:03.030300 | Hiroko | pythondev_help_Hiroko_2019-03-28T07:02:03.030300 | 1,553,756,523.0303 | 15,415 |
pythondev | help | remove the `str` bit in `params` | 2019-03-28T07:02:15.030600 | Hiroko | pythondev_help_Hiroko_2019-03-28T07:02:15.030600 | 1,553,756,535.0306 | 15,416 |
pythondev | help | Yeah I did that too | 2019-03-28T07:04:05.030800 | Valeri | pythondev_help_Valeri_2019-03-28T07:04:05.030800 | 1,553,756,645.0308 | 15,417 |
pythondev | help | ```
[
"{\"error\":{\"root_cause\":[{\"type\":\"illegal_argument_exception\",\"reason\":\"request [/_search] contains unrecognized parameter: [{'qu",
"ery': {'range': {'created': {'gte': '1995-02-01', 'lte': '1995-03-01', 'format': 'yyyy-MM-dd'}}}}]\"}],\"type\":\"illegal_argument_e",
"xception\",\"reason\":\"request [/_search] contains unrecognized parameter: [{'query': {'range': {'created': {'gte': '1995-02-01', '",
"lte': '1995-03-01', 'format': 'yyyy-MM-dd'}}}}]\"},\"status\":400}"
]
``` | 2019-03-28T07:04:14.031000 | Valeri | pythondev_help_Valeri_2019-03-28T07:04:14.031000 | 1,553,756,654.031 | 15,418 |
pythondev | help | got this <@Hiroko> | 2019-03-28T07:04:19.031300 | Valeri | pythondev_help_Valeri_2019-03-28T07:04:19.031300 | 1,553,756,659.0313 | 15,419 |
pythondev | help | hmm, ok | 2019-03-28T07:04:39.031600 | Hiroko | pythondev_help_Hiroko_2019-03-28T07:04:39.031600 | 1,553,756,679.0316 | 15,420 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.