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 | None | 2019-03-30T02:17:56.337600 | Latanya | pythondev_help_Latanya_2019-03-30T02:17:56.337600 | 1,553,912,276.3376 | 15,921 |
pythondev | help | here: i was trying to make average function in python | 2019-03-30T02:18:34.338600 | Latanya | pythondev_help_Latanya_2019-03-30T02:18:34.338600 | 1,553,912,314.3386 | 15,922 |
pythondev | help | and i got indent error | 2019-03-30T02:18:46.339000 | Latanya | pythondev_help_Latanya_2019-03-30T02:18:46.339000 | 1,553,912,326.339 | 15,923 |
pythondev | help | <@Latanya> Which editor are you using? | 2019-03-30T02:19:04.339600 | Valeri | pythondev_help_Valeri_2019-03-30T02:19:04.339600 | 1,553,912,344.3396 | 15,924 |
pythondev | help | it looks good to me. | 2019-03-30T02:19:05.339800 | Latanya | pythondev_help_Latanya_2019-03-30T02:19:05.339800 | 1,553,912,345.3398 | 15,925 |
pythondev | help | online editor from `<http://codeacademy.com|codeacademy.com>` | 2019-03-30T02:19:31.340300 | Latanya | pythondev_help_Latanya_2019-03-30T02:19:31.340300 | 1,553,912,371.3403 | 15,926 |
pythondev | help | Your code has indentation error | 2019-03-30T02:19:40.340500 | Valeri | pythondev_help_Valeri_2019-03-30T02:19:40.340500 | 1,553,912,380.3405 | 15,927 |
pythondev | help | Make sure you have `4 spaces` before the `for` line | 2019-03-30T02:20:14.341200 | Valeri | pythondev_help_Valeri_2019-03-30T02:20:14.341200 | 1,553,912,414.3412 | 15,928 |
pythondev | help | :thinking_face: i think 2 indents is enough as `for` is under `else`. | 2019-03-30T02:21:08.341800 | Latanya | pythondev_help_Latanya_2019-03-30T02:21:08.341800 | 1,553,912,468.3418 | 15,929 |
pythondev | help | pls, help me to understand why i'm needing `4 spaces` here. | 2019-03-30T02:21:41.342600 | Latanya | pythondev_help_Latanya_2019-03-30T02:21:41.342600 | 1,553,912,501.3426 | 15,930 |
pythondev | help | Well | 2019-03-30T02:22:23.343000 | Valeri | pythondev_help_Valeri_2019-03-30T02:22:23.343000 | 1,553,912,543.343 | 15,931 |
pythondev | help | <@Valeri> still got this error | 2019-03-30T02:22:30.343400 | Latanya | pythondev_help_Latanya_2019-03-30T02:22:30.343400 | 1,553,912,550.3434 | 15,932 |
pythondev | help | None | 2019-03-30T02:22:37.343700 | Latanya | pythondev_help_Latanya_2019-03-30T02:22:37.343700 | 1,553,912,557.3437 | 15,933 |
pythondev | help | You'll have to paste your code somewhere | 2019-03-30T02:22:41.344000 | Valeri | pythondev_help_Valeri_2019-03-30T02:22:41.344000 | 1,553,912,561.344 | 15,934 |
pythondev | help | Images don't help in understanding the indentation | 2019-03-30T02:23:02.344500 | Valeri | pythondev_help_Valeri_2019-03-30T02:23:02.344500 | 1,553,912,582.3445 | 15,935 |
pythondev | help | oh, sorry. will do | 2019-03-30T02:23:15.344800 | Latanya | pythondev_help_Latanya_2019-03-30T02:23:15.344800 | 1,553,912,595.3448 | 15,936 |
pythondev | help | ```lloyd = {
"name": "Lloyd",
"homework": [90.0, 97.0, 75.0, 92.0],
"quizzes": [88.0, 40.0, 94.0],
"tests": [75.0, 90.0]
}
alice = {
"name": "Alice",
"homework": [100.0, 92.0, 98.0, 100.0],
"quizzes": [82.0, 83.0, 91.0],
"tests": [89.0, 97.0]
}
tyler = {
"name": "Tyler",
"homework": [0.0, 87.0, 75.0, 22.0],
"quizzes": [0.0, 75.0, 78.0],
"tests": [100.0, 100.0]
}
# Add your function below!
def average(numbers):
if len(numbers) == 0:
return 0
else:
sum = 0
for num in numbers:
sum += num
return float(sum) / len(num)
``` | 2019-03-30T02:23:30.345000 | Latanya | pythondev_help_Latanya_2019-03-30T02:23:30.345000 | 1,553,912,610.345 | 15,937 |
pythondev | help | Aah | 2019-03-30T02:23:39.345400 | Valeri | pythondev_help_Valeri_2019-03-30T02:23:39.345400 | 1,553,912,619.3454 | 15,938 |
pythondev | help | there it is | 2019-03-30T02:23:41.345600 | Valeri | pythondev_help_Valeri_2019-03-30T02:23:41.345600 | 1,553,912,621.3456 | 15,939 |
pythondev | help | You don't need an indent before for | 2019-03-30T02:24:01.346000 | Valeri | pythondev_help_Valeri_2019-03-30T02:24:01.346000 | 1,553,912,641.346 | 15,940 |
pythondev | help | Your entire `else` is a single block | 2019-03-30T02:24:22.346400 | Valeri | pythondev_help_Valeri_2019-03-30T02:24:22.346400 | 1,553,912,662.3464 | 15,941 |
pythondev | help | Remove the indent from the last three lines of your code | 2019-03-30T02:24:48.347400 | Valeri | pythondev_help_Valeri_2019-03-30T02:24:48.347400 | 1,553,912,688.3474 | 15,942 |
pythondev | help | That did the trick! Thank you <@Valeri> this is your :taco: | 2019-03-30T02:24:53.347800 | Conchita | pythondev_help_Conchita_2019-03-30T02:24:53.347800 | 1,553,912,693.3478 | 15,943 |
pythondev | help | Does that make sense <@Latanya> | 2019-03-30T02:25:13.348300 | Valeri | pythondev_help_Valeri_2019-03-30T02:25:13.348300 | 1,553,912,713.3483 | 15,944 |
pythondev | help | ? | 2019-03-30T02:25:14.348500 | Valeri | pythondev_help_Valeri_2019-03-30T02:25:14.348500 | 1,553,912,714.3485 | 15,945 |
pythondev | help | That's how it was before, though. | 2019-03-30T02:25:16.348600 | Sasha | pythondev_help_Sasha_2019-03-30T02:25:16.348600 | 1,553,912,716.3486 | 15,946 |
pythondev | help | Aaah excuse my vision <@Sasha> | 2019-03-30T02:25:41.348900 | Valeri | pythondev_help_Valeri_2019-03-30T02:25:41.348900 | 1,553,912,741.3489 | 15,947 |
pythondev | help | Some sort of tab versus space mixup? | 2019-03-30T02:25:55.349200 | Sasha | pythondev_help_Sasha_2019-03-30T02:25:55.349200 | 1,553,912,755.3492 | 15,948 |
pythondev | help | oh, no. i followed your word and gave him `4 spaces` :disappointed: | 2019-03-30T02:26:03.349400 | Latanya | pythondev_help_Latanya_2019-03-30T02:26:03.349400 | 1,553,912,763.3494 | 15,949 |
pythondev | help | Sorry my bad | 2019-03-30T02:26:26.349600 | Valeri | pythondev_help_Valeri_2019-03-30T02:26:26.349600 | 1,553,912,786.3496 | 15,950 |
pythondev | help | originally i used `2 spaces` and it gave me error. | 2019-03-30T02:26:33.349800 | Latanya | pythondev_help_Latanya_2019-03-30T02:26:33.349800 | 1,553,912,793.3498 | 15,951 |
pythondev | help | Sorry? | 2019-03-30T02:26:44.350100 | Valeri | pythondev_help_Valeri_2019-03-30T02:26:44.350100 | 1,553,912,804.3501 | 15,952 |
pythondev | help | any idea? | 2019-03-30T02:26:45.350200 | Latanya | pythondev_help_Latanya_2019-03-30T02:26:45.350200 | 1,553,912,805.3502 | 15,953 |
pythondev | help | <@Conchita> Thanks :smile: it's been long since I've been here and got that snack lol | 2019-03-30T02:27:09.350900 | Valeri | pythondev_help_Valeri_2019-03-30T02:27:09.350900 | 1,553,912,829.3509 | 15,954 |
pythondev | help | So PEP8 recommends 4 spaces | 2019-03-30T02:27:29.351000 | Valeri | pythondev_help_Valeri_2019-03-30T02:27:29.351000 | 1,553,912,849.351 | 15,955 |
pythondev | help | Never use 2 spaces to indent your code | 2019-03-30T02:27:38.351300 | Valeri | pythondev_help_Valeri_2019-03-30T02:27:38.351300 | 1,553,912,858.3513 | 15,956 |
pythondev | help | You must swing by more often then! | 2019-03-30T02:27:45.351700 | Conchita | pythondev_help_Conchita_2019-03-30T02:27:45.351700 | 1,553,912,865.3517 | 15,957 |
pythondev | help | <@Latanya> <https://codebeautify.org/python-formatter-beautifier> use this to indent your code if you're still facing problems | 2019-03-30T02:28:14.352100 | Valeri | pythondev_help_Valeri_2019-03-30T02:28:14.352100 | 1,553,912,894.3521 | 15,958 |
pythondev | help | I wish I had so much bandwidth in life :smile: | 2019-03-30T02:29:02.352400 | Valeri | pythondev_help_Valeri_2019-03-30T02:29:02.352400 | 1,553,912,942.3524 | 15,959 |
pythondev | help | <@Valeri> thanks | 2019-03-30T02:29:04.352600 | Latanya | pythondev_help_Latanya_2019-03-30T02:29:04.352600 | 1,553,912,944.3526 | 15,960 |
pythondev | help | Did you understand why your solution wasn't working tho? | 2019-03-30T02:29:57.352800 | Valeri | pythondev_help_Valeri_2019-03-30T02:29:57.352800 | 1,553,912,997.3528 | 15,961 |
pythondev | help | Np. Did that help? | 2019-03-30T02:30:10.353000 | Valeri | pythondev_help_Valeri_2019-03-30T02:30:10.353000 | 1,553,913,010.353 | 15,962 |
pythondev | help | Just providing solutions isn't enough I guess | 2019-03-30T02:30:46.353200 | Valeri | pythondev_help_Valeri_2019-03-30T02:30:46.353200 | 1,553,913,046.3532 | 15,963 |
pythondev | help | <@Conchita> | 2019-03-30T02:30:50.353400 | Valeri | pythondev_help_Valeri_2019-03-30T02:30:50.353400 | 1,553,913,050.3534 | 15,964 |
pythondev | help | Well, not really | 2019-03-30T02:34:06.353600 | Conchita | pythondev_help_Conchita_2019-03-30T02:34:06.353600 | 1,553,913,246.3536 | 15,965 |
pythondev | help | Care to explain? | 2019-03-30T02:34:38.353800 | Conchita | pythondev_help_Conchita_2019-03-30T02:34:38.353800 | 1,553,913,278.3538 | 15,966 |
pythondev | help | Sure | 2019-03-30T02:35:20.354000 | Valeri | pythondev_help_Valeri_2019-03-30T02:35:20.354000 | 1,553,913,320.354 | 15,967 |
pythondev | help | no, seems like editor bug. :wink: | 2019-03-30T02:40:25.354200 | Latanya | pythondev_help_Latanya_2019-03-30T02:40:25.354200 | 1,553,913,625.3542 | 15,968 |
pythondev | help | <@Latanya>
```
lloyd = {
"name": "Lloyd",
"homework": [90.0, 97.0, 75.0, 92.0],
"quizzes": [88.0, 40.0, 94.0],
"tests": [75.0, 90.0]
}
alice = {
"name": "Alice",
"homework": [100.0, 92.0, 98.0, 100.0],
"quizzes": [82.0, 83.0, 91.0],
"tests": [89.0, 97.0]
}
tyler = {
"name": "Tyler",
"homework": [0.0, 87.0, 75.0, 22.0],
"quizzes": [0.0, 75.0, 78.0],
"tests": [100.0, 100.0]
}
# Add your function below!
def average(numbers):
if len(numbers) == 0:
return 0
else :
sum = 0
for num in numbers:
sum += num
return float(sum) / len(num)
``` | 2019-03-30T02:44:30.354500 | Valeri | pythondev_help_Valeri_2019-03-30T02:44:30.354500 | 1,553,913,870.3545 | 15,969 |
pythondev | help | This is what you need | 2019-03-30T02:44:33.354800 | Valeri | pythondev_help_Valeri_2019-03-30T02:44:33.354800 | 1,553,913,873.3548 | 15,970 |
pythondev | help | <@Valeri> how about this? ```def average(numbers):
total = sum(numbers)
total = float(total)
return total / len(numbers)``` | 2019-03-30T02:47:13.355500 | Latanya | pythondev_help_Latanya_2019-03-30T02:47:13.355500 | 1,553,914,033.3555 | 15,971 |
pythondev | help | <@Latanya> That's a logic change and not a syntax error | 2019-03-30T02:47:53.356000 | Valeri | pythondev_help_Valeri_2019-03-30T02:47:53.356000 | 1,553,914,073.356 | 15,972 |
pythondev | help | You can surely try that | 2019-03-30T02:47:59.356300 | Valeri | pythondev_help_Valeri_2019-03-30T02:47:59.356300 | 1,553,914,079.3563 | 15,973 |
pythondev | help | Also, like I said please use 4 spaces | 2019-03-30T02:48:14.357000 | Valeri | pythondev_help_Valeri_2019-03-30T02:48:14.357000 | 1,553,914,094.357 | 15,974 |
pythondev | help | just forgot to use built-in function `sum` | 2019-03-30T02:48:18.357200 | Latanya | pythondev_help_Latanya_2019-03-30T02:48:18.357200 | 1,553,914,098.3572 | 15,975 |
pythondev | help | Watch out for the length-0 case if that is a possibility. | 2019-03-30T02:48:28.357600 | Sasha | pythondev_help_Sasha_2019-03-30T02:48:28.357600 | 1,553,914,108.3576 | 15,976 |
pythondev | help | <@Valeri> do i have to use different indentation for `function`? | 2019-03-30T02:48:46.358000 | Latanya | pythondev_help_Latanya_2019-03-30T02:48:46.358000 | 1,553,914,126.358 | 15,977 |
pythondev | help | ```tyler = {
"name": "Tyler",
"homework": [0.0, 87.0, 75.0, 22.0],
"quizzes": [0.0, 75.0, 78.0],
"tests": [100.0, 100.0]
}``` | 2019-03-30T02:49:16.358300 | Latanya | pythondev_help_Latanya_2019-03-30T02:49:16.358300 | 1,553,914,156.3583 | 15,978 |
pythondev | help | you used here 2 spaces. | 2019-03-30T02:49:36.358700 | Latanya | pythondev_help_Latanya_2019-03-30T02:49:36.358700 | 1,553,914,176.3587 | 15,979 |
pythondev | help | I just copy pasted your code | 2019-03-30T02:49:45.359000 | Valeri | pythondev_help_Valeri_2019-03-30T02:49:45.359000 | 1,553,914,185.359 | 15,980 |
pythondev | help | ```# Add your function below!
def average(numbers):
if len(numbers) == 0:
return 0
else :
sum = 0
for num in numbers:
sum += num
return float(sum) / len(num)``` | 2019-03-30T02:49:46.359100 | Latanya | pythondev_help_Latanya_2019-03-30T02:49:46.359100 | 1,553,914,186.3591 | 15,981 |
pythondev | help | and 4 spaces here? | 2019-03-30T02:49:54.359500 | Latanya | pythondev_help_Latanya_2019-03-30T02:49:54.359500 | 1,553,914,194.3595 | 15,982 |
pythondev | help | Yes right | 2019-03-30T02:49:57.359700 | Valeri | pythondev_help_Valeri_2019-03-30T02:49:57.359700 | 1,553,914,197.3597 | 15,983 |
pythondev | help | think it depends on editor, right? | 2019-03-30T02:50:18.360300 | Latanya | pythondev_help_Latanya_2019-03-30T02:50:18.360300 | 1,553,914,218.3603 | 15,984 |
pythondev | help | <@Valeri>? | 2019-03-30T02:51:11.360500 | Latanya | pythondev_help_Latanya_2019-03-30T02:51:11.360500 | 1,553,914,271.3605 | 15,985 |
pythondev | help | Probably | 2019-03-30T02:51:38.360900 | Valeri | pythondev_help_Valeri_2019-03-30T02:51:38.360900 | 1,553,914,298.3609 | 15,986 |
pythondev | help | But every Python dev loves to stick to PEP8 | 2019-03-30T02:51:57.361300 | Valeri | pythondev_help_Valeri_2019-03-30T02:51:57.361300 | 1,553,914,317.3613 | 15,987 |
pythondev | help | So, you'll probably be despised for using 2 spaces. :stuck_out_tongue: Although, technically it's not incorrect. | 2019-03-30T02:52:41.362200 | Valeri | pythondev_help_Valeri_2019-03-30T02:52:41.362200 | 1,553,914,361.3622 | 15,988 |
pythondev | help | Also, I'd highly recommend Pycharm. It's the best Python IDE out there | 2019-03-30T02:55:50.363100 | Valeri | pythondev_help_Valeri_2019-03-30T02:55:50.363100 | 1,553,914,550.3631 | 15,989 |
pythondev | help | <@Valeri> You are right. it works with 4 indentation in online editor. | 2019-03-30T02:59:29.363900 | Latanya | pythondev_help_Latanya_2019-03-30T02:59:29.363900 | 1,553,914,769.3639 | 15,990 |
pythondev | help | Weird. From a language perspective, Python should only care that an indented block is self-aligned and indented "more" than the enclosing block. So anything from 1 space and up ought to be allowed. | 2019-03-30T03:02:27.365600 | Sasha | pythondev_help_Sasha_2019-03-30T03:02:27.365600 | 1,553,914,947.3656 | 15,991 |
pythondev | help | <@Sasha> Yes right. Which is why 2 spaces worked | 2019-03-30T03:19:56.366000 | Valeri | pythondev_help_Valeri_2019-03-30T03:19:56.366000 | 1,553,915,996.366 | 15,992 |
pythondev | help | For one of my applications I send slack notifications for important operational stuff, through a function called `slack_notification`. But for debug purposes I want to just print the same messages to the terminal, instead of sending msg on slack
Is there a nice way to achieve this?
Since the difference between the two is `print('this')` and `slack_notification('that')` | 2019-03-30T07:02:00.367300 | Conchita | pythondev_help_Conchita_2019-03-30T07:02:00.367300 | 1,553,929,320.3673 | 15,993 |
pythondev | help | That works fine when `DEBUG = False` but doesn't print to terminal when `DEBUG = True`. It just runs | 2019-03-30T07:02:37.367400 | Conchita | pythondev_help_Conchita_2019-03-30T07:02:37.367400 | 1,553,929,357.3674 | 15,994 |
pythondev | help | Could it be a better idea to use logging rather than print? | 2019-03-30T07:11:16.368600 | Hiroko | pythondev_help_Hiroko_2019-03-30T07:11:16.368600 | 1,553,929,876.3686 | 15,995 |
pythondev | help | Also, why a `while` loop rather than an `if` conditional? | 2019-03-30T07:11:47.369900 | Hiroko | pythondev_help_Hiroko_2019-03-30T07:11:47.369900 | 1,553,929,907.3699 | 15,996 |
pythondev | help | Forgive me for being a python noob.
I'd like to install <https://github.com/clarkperkins/django-rest-framework-siren> - but make edits (improvements) (specifically add actions to the json output).
Can I just download this from git and drop in my project somewhere to get it to work or do I have to run the setup.py script and then use that to add it to pip?
Seems annoying to have to run setup.py everytime I make edits to test it... (which is what my googling seems to suggest is the right way) | 2019-03-30T07:13:12.371700 | Novella | pythondev_help_Novella_2019-03-30T07:13:12.371700 | 1,553,929,992.3717 | 15,997 |
pythondev | help | Yeah, you do have to. Because how can the changes be picked up? | 2019-03-30T07:33:28.372900 | Hiroko | pythondev_help_Hiroko_2019-03-30T07:33:28.372900 | 1,553,931,208.3729 | 15,998 |
pythondev | help | Web pack has a hot module reload, which basically has all resources in memory | 2019-03-30T07:33:59.373900 | Hiroko | pythondev_help_Hiroko_2019-03-30T07:33:59.373900 | 1,553,931,239.3739 | 15,999 |
pythondev | help | But not sure if python has anything similar | 2019-03-30T07:34:13.374400 | Hiroko | pythondev_help_Hiroko_2019-03-30T07:34:13.374400 | 1,553,931,253.3744 | 16,000 |
pythondev | help | Was hoping I could just add in in a subdirectory and then it would automatically pickup changes.. But ok. | 2019-03-30T07:37:24.375600 | Novella | pythondev_help_Novella_2019-03-30T07:37:24.375600 | 1,553,931,444.3756 | 16,001 |
pythondev | help | Solution seems to be to add the github code directly to lib/python3.5/site-packages. I can edit the package there and the changes are automatically picked up :+1: | 2019-03-30T07:50:44.376300 | Novella | pythondev_help_Novella_2019-03-30T07:50:44.376300 | 1,553,932,244.3763 | 16,002 |
pythondev | help | ohhh, right | 2019-03-30T08:03:30.376600 | Hiroko | pythondev_help_Hiroko_2019-03-30T08:03:30.376600 | 1,553,933,010.3766 | 16,003 |
pythondev | help | good point | 2019-03-30T08:03:32.376800 | Hiroko | pythondev_help_Hiroko_2019-03-30T08:03:32.376800 | 1,553,933,012.3768 | 16,004 |
pythondev | help | that reminded me, one of the easier ways for me to work with internal libs at work is to do the same thing | 2019-03-30T08:03:55.377400 | Hiroko | pythondev_help_Hiroko_2019-03-30T08:03:55.377400 | 1,553,933,035.3774 | 16,005 |
pythondev | help | only, because we use docker, its a path mapping in a volume | 2019-03-30T08:04:14.378000 | Hiroko | pythondev_help_Hiroko_2019-03-30T08:04:14.378000 | 1,553,933,054.378 | 16,006 |
pythondev | help | eg, in `docker-compose.override.yml`:
``` volumes:
- ./keys:/keys
# example of overriding feather to use your local feather repo
- /Users/dd82/projects/feather/feather/:/usr/local/lib/python3.6/site-packages/feather/``` | 2019-03-30T08:06:12.378800 | Hiroko | pythondev_help_Hiroko_2019-03-30T08:06:12.378800 | 1,553,933,172.3788 | 16,007 |
pythondev | help | How to convert `--data-urlencode` from below curl in python requests?
```curl -G <https://api.abuseipdb.com/api/v2/check> \
--data-urlencode "ipAddress=125.19.180.206" \
-d maxAgeInDays=90 \
-H "Key: <MY API KEY>" \
-H "Accept: application/json"```
I have managed data and headers but I'm not able to convert `--data-urlencode "ipAddress=125.19.180.206" ` into python
```headers = {'Key':'<MY API KEY>','Accept':'application/json'}
data = {'maxAgeInDays':'90'}
requests.get('<https://api.abuseipdb.com/api/v2/check>', data=data, headers=headers)``` | 2019-03-30T08:11:09.381500 | Soo | pythondev_help_Soo_2019-03-30T08:11:09.381500 | 1,553,933,469.3815 | 16,008 |
pythondev | help | is it required? | 2019-03-30T08:13:40.381700 | Hiroko | pythondev_help_Hiroko_2019-03-30T08:13:40.381700 | 1,553,933,620.3817 | 16,009 |
pythondev | help | <https://curl.trillworks.com/> | 2019-03-30T08:13:43.381900 | Hiroko | pythondev_help_Hiroko_2019-03-30T08:13:43.381900 | 1,553,933,623.3819 | 16,010 |
pythondev | help | entering the curl command to this results in ```headers = {
'Key': '<MY API KEY>',
'Accept': 'application/json',
}
data = {
'maxAgeInDays': '90'
}
response = <http://requests.post|requests.post>('<https://api.abuseipdb.com/api/v2/check>', headers=headers, data=data)``` | 2019-03-30T08:14:08.382400 | Hiroko | pythondev_help_Hiroko_2019-03-30T08:14:08.382400 | 1,553,933,648.3824 | 16,011 |
pythondev | help | <https://stackoverflow.com/a/47806982/214892> | 2019-03-30T08:14:53.382600 | Hiroko | pythondev_help_Hiroko_2019-03-30T08:14:53.382600 | 1,553,933,693.3826 | 16,012 |
pythondev | help | Yes, `--data-urlencode "ipAddress=125.19.180.206"` is required otherwise output says
```{"errors":[{"detail":"The ip address field is required.","status":422}]}``` | 2019-03-30T08:16:37.383300 | Soo | pythondev_help_Soo_2019-03-30T08:16:37.383300 | 1,553,933,797.3833 | 16,013 |
pythondev | help | alright | 2019-03-30T08:16:57.383500 | Hiroko | pythondev_help_Hiroko_2019-03-30T08:16:57.383500 | 1,553,933,817.3835 | 16,014 |
pythondev | help | so check the SO link above | 2019-03-30T08:17:08.383800 | Hiroko | pythondev_help_Hiroko_2019-03-30T08:17:08.383800 | 1,553,933,828.3838 | 16,015 |
pythondev | help | <@Hiroko> Thanks for SO link, I've already been there.. It results in same error. | 2019-03-30T08:21:15.384600 | Soo | pythondev_help_Soo_2019-03-30T08:21:15.384600 | 1,553,934,075.3846 | 16,016 |
pythondev | help | what if you urlencode `ipAddress` and add it to the `data` dict? | 2019-03-30T08:24:09.385200 | Hiroko | pythondev_help_Hiroko_2019-03-30T08:24:09.385200 | 1,553,934,249.3852 | 16,017 |
pythondev | help | eg
```
data = {
'maxAgeInDays': '90',
'ipAddress': '125.19.180.206'
}``` | 2019-03-30T08:25:06.386000 | Hiroko | pythondev_help_Hiroko_2019-03-30T08:25:06.386000 | 1,553,934,306.386 | 16,018 |
pythondev | help | None | 2019-03-30T08:35:42.386500 | Soo | pythondev_help_Soo_2019-03-30T08:35:42.386500 | 1,553,934,942.3865 | 16,019 |
pythondev | help | I think I might use `subprocess` or `pycurl` :disappointed: | 2019-03-30T08:37:31.387400 | Soo | pythondev_help_Soo_2019-03-30T08:37:31.387400 | 1,553,935,051.3874 | 16,020 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.