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 | ….for now ^^ | 2018-02-22T13:14:53.000285 | Cuc | pythondev_help_Cuc_2018-02-22T13:14:53.000285 | 1,519,305,293.000285 | 35,524 |
pythondev | help | thanks for the help!! | 2018-02-22T13:15:04.000727 | Cuc | pythondev_help_Cuc_2018-02-22T13:15:04.000727 | 1,519,305,304.000727 | 35,525 |
pythondev | help | can I give you stack overflow points? | 2018-02-22T13:15:10.000300 | Cuc | pythondev_help_Cuc_2018-02-22T13:15:10.000300 | 1,519,305,310.0003 | 35,526 |
pythondev | help | haha | 2018-02-22T13:15:11.000431 | Cuc | pythondev_help_Cuc_2018-02-22T13:15:11.000431 | 1,519,305,311.000431 | 35,527 |
pythondev | help | Nope | 2018-02-22T13:15:20.000704 | Garrett | pythondev_help_Garrett_2018-02-22T13:15:20.000704 | 1,519,305,320.000704 | 35,528 |
pythondev | help | I'm fairly anti-StackOverflow :smile: | 2018-02-22T13:15:31.000062 | Garrett | pythondev_help_Garrett_2018-02-22T13:15:31.000062 | 1,519,305,331.000062 | 35,529 |
pythondev | help | it is a bit dickish | 2018-02-22T13:15:39.000245 | Cuc | pythondev_help_Cuc_2018-02-22T13:15:39.000245 | 1,519,305,339.000245 | 35,530 |
pythondev | help | we use :taco: here. You have five per day to dish out | 2018-02-22T13:16:29.000565 | Floy | pythondev_help_Floy_2018-02-22T13:16:29.000565 | 1,519,305,389.000565 | 35,531 |
pythondev | help | Or you just eat them all yourself. :nomnomnom: | 2018-02-22T13:16:45.000744 | Garrett | pythondev_help_Garrett_2018-02-22T13:16:45.000744 | 1,519,305,405.000744 | 35,532 |
pythondev | help | just type in `@username :taco:` | 2018-02-22T13:16:46.000243 | Floy | pythondev_help_Floy_2018-02-22T13:16:46.000243 | 1,519,305,406.000243 | 35,533 |
pythondev | help | unfortunately, virtual tacos have no physical value :disappointed: | 2018-02-22T13:17:08.000028 | Floy | pythondev_help_Floy_2018-02-22T13:17:08.000028 | 1,519,305,428.000028 | 35,534 |
pythondev | help | so you can’t redeem them at your favorite local taco bar | 2018-02-22T13:17:20.000761 | Floy | pythondev_help_Floy_2018-02-22T13:17:20.000761 | 1,519,305,440.000761 | 35,535 |
pythondev | help | <@Floy> :taco: | 2018-02-22T13:17:36.000707 | Cuc | pythondev_help_Cuc_2018-02-22T13:17:36.000707 | 1,519,305,456.000707 | 35,536 |
pythondev | help | So they're exactly as useful as StackOverflow points | 2018-02-22T13:17:37.000540 | Garrett | pythondev_help_Garrett_2018-02-22T13:17:37.000540 | 1,519,305,457.00054 | 35,537 |
pythondev | help | lol | 2018-02-22T13:17:43.000017 | Cuc | pythondev_help_Cuc_2018-02-22T13:17:43.000017 | 1,519,305,463.000017 | 35,538 |
pythondev | help | they used to have changetip for bitcoin like 5 years ago | 2018-02-22T13:17:51.000279 | Cuc | pythondev_help_Cuc_2018-02-22T13:17:51.000279 | 1,519,305,471.000279 | 35,539 |
pythondev | help | i would use that to send 2 bucks | 2018-02-22T13:17:59.000461 | Cuc | pythondev_help_Cuc_2018-02-22T13:17:59.000461 | 1,519,305,479.000461 | 35,540 |
pythondev | help | Or HackerNews cred. Don't tell tech twitter, though | 2018-02-22T13:18:03.000295 | Garrett | pythondev_help_Garrett_2018-02-22T13:18:03.000295 | 1,519,305,483.000295 | 35,541 |
pythondev | help | hahaha | 2018-02-22T13:18:08.000694 | Cuc | pythondev_help_Cuc_2018-02-22T13:18:08.000694 | 1,519,305,488.000694 | 35,542 |
pythondev | help | it’d be awesome if slack had an add-on like buy a beer for you | 2018-02-22T13:18:25.000544 | Cuc | pythondev_help_Cuc_2018-02-22T13:18:25.000544 | 1,519,305,505.000544 | 35,543 |
pythondev | help | useable at any nearby pub | 2018-02-22T13:18:57.000533 | Cuc | pythondev_help_Cuc_2018-02-22T13:18:57.000533 | 1,519,305,537.000533 | 35,544 |
pythondev | help | *<@Garrett>* received a *Pet Rock* from *<@Cuc>* | 2018-02-22T13:22:13.000137 | Ewa | pythondev_help_Ewa_2018-02-22T13:22:13.000137 | 1,519,305,733.000137 | 35,545 |
pythondev | help | :thumbsup: | 2018-02-22T13:22:34.000635 | Floy | pythondev_help_Floy_2018-02-22T13:22:34.000635 | 1,519,305,754.000635 | 35,546 |
pythondev | help | OMG so much responsibility | 2018-02-22T13:22:37.000699 | Garrett | pythondev_help_Garrett_2018-02-22T13:22:37.000699 | 1,519,305,757.000699 | 35,547 |
pythondev | help | hahaha | 2018-02-22T13:22:46.000683 | Cuc | pythondev_help_Cuc_2018-02-22T13:22:46.000683 | 1,519,305,766.000683 | 35,548 |
pythondev | help | yeah, feed, water, shelter :_D | 2018-02-22T13:22:48.000021 | Floy | pythondev_help_Floy_2018-02-22T13:22:48.000021 | 1,519,305,768.000021 | 35,549 |
pythondev | help | so good | 2018-02-22T13:22:48.000168 | Cuc | pythondev_help_Cuc_2018-02-22T13:22:48.000168 | 1,519,305,768.000168 | 35,550 |
pythondev | help | I don't know if I'm ready for this | 2018-02-22T13:22:59.000448 | Garrett | pythondev_help_Garrett_2018-02-22T13:22:59.000448 | 1,519,305,779.000448 | 35,551 |
pythondev | help | the greatest gift of all, responsbility | 2018-02-22T13:22:59.000732 | Cuc | pythondev_help_Cuc_2018-02-22T13:22:59.000732 | 1,519,305,779.000732 | 35,552 |
pythondev | help | I can barely take care of myself and my kids | 2018-02-22T13:23:09.000387 | Garrett | pythondev_help_Garrett_2018-02-22T13:23:09.000387 | 1,519,305,789.000387 | 35,553 |
pythondev | help | hi all. I'm doing a daily coding problem and this challenge is "Given a list of integers, write a function that returns the largest sum of non-adjacent numbers. Numbers can be 0 or negative.
For example, [2, 4, 6, 8] should return 12, since we pick 4 and 8. [5, 1, 1, 5] should return 10, since we pick 5 and 5." | 2018-02-22T13:26:42.000638 | Jasmin | pythondev_help_Jasmin_2018-02-22T13:26:42.000638 | 1,519,306,002.000638 | 35,554 |
pythondev | help | can someone give me a hint? should i be using enumerate? | 2018-02-22T13:26:54.000747 | Jasmin | pythondev_help_Jasmin_2018-02-22T13:26:54.000747 | 1,519,306,014.000747 | 35,555 |
pythondev | help | <@Jasmin> So you need to compare the product of any given number when multiplied by any other number in the list so long as they're non-adjacent | 2018-02-22T13:33:53.000513 | Garrett | pythondev_help_Garrett_2018-02-22T13:33:53.000513 | 1,519,306,433.000513 | 35,556 |
pythondev | help | hey <@Garrett> do you mean sum of non-adjacent numbers? | 2018-02-22T13:34:41.000722 | Jasmin | pythondev_help_Jasmin_2018-02-22T13:34:41.000722 | 1,519,306,481.000722 | 35,557 |
pythondev | help | ...yes, sum, not product :smile: | 2018-02-22T13:34:51.000171 | Garrett | pythondev_help_Garrett_2018-02-22T13:34:51.000171 | 1,519,306,491.000171 | 35,558 |
pythondev | help | lol | 2018-02-22T13:34:54.000423 | Jasmin | pythondev_help_Jasmin_2018-02-22T13:34:54.000423 | 1,519,306,494.000423 | 35,559 |
pythondev | help | ``` | 2018-02-22T13:35:06.000073 | Jaqueline | pythondev_help_Jaqueline_2018-02-22T13:35:06.000073 | 1,519,306,506.000073 | 35,560 |
pythondev | help | yup. i was a dummy and didn't read the non-adjacent part and i was thinking this was a piece of cake haha | 2018-02-22T13:35:19.000385 | Jasmin | pythondev_help_Jasmin_2018-02-22T13:35:19.000385 | 1,519,306,519.000385 | 35,561 |
pythondev | help | So let's take your first list: `[2, 4, 6, 8]` and assume we're looking at the first number, `2`. How would you get a list of `[6, 8]`? | 2018-02-22T13:35:36.000106 | Garrett | pythondev_help_Garrett_2018-02-22T13:35:36.000106 | 1,519,306,536.000106 | 35,562 |
pythondev | help | (without using `2` explicitly) | 2018-02-22T13:35:44.000326 | Garrett | pythondev_help_Garrett_2018-02-22T13:35:44.000326 | 1,519,306,544.000326 | 35,563 |
pythondev | help | yes. so i thought of splicing the array .. i had two arrays of even numbers and odd numbers | 2018-02-22T13:36:07.000156 | Jasmin | pythondev_help_Jasmin_2018-02-22T13:36:07.000156 | 1,519,306,567.000156 | 35,564 |
pythondev | help | but the second [5, 1 , 1 ,5] throws it off | 2018-02-22T13:36:36.000384 | Jasmin | pythondev_help_Jasmin_2018-02-22T13:36:36.000384 | 1,519,306,596.000384 | 35,565 |
pythondev | help | simplest and most brute-force way with double for loop + enumerate might work I think? | 2018-02-22T13:36:53.000426 | Jaqueline | pythondev_help_Jaqueline_2018-02-22T13:36:53.000426 | 1,519,306,613.000426 | 35,566 |
pythondev | help | can’t you use max? | 2018-02-22T13:37:04.000047 | Cuc | pythondev_help_Cuc_2018-02-22T13:37:04.000047 | 1,519,306,624.000047 | 35,567 |
pythondev | help | just skip those for which the indices are off by 1 | 2018-02-22T13:37:12.000633 | Jaqueline | pythondev_help_Jaqueline_2018-02-22T13:37:12.000633 | 1,519,306,632.000633 | 35,568 |
pythondev | help | I'd suggest `enumerate` for finding the index of the current number. But then you'd probably want slices to get the rest of the numbers. | 2018-02-22T13:37:58.000655 | Garrett | pythondev_help_Garrett_2018-02-22T13:37:58.000655 | 1,519,306,678.000655 | 35,569 |
pythondev | help | i'll try enumerate. thanks for the help | 2018-02-22T13:38:23.000604 | Jasmin | pythondev_help_Jasmin_2018-02-22T13:38:23.000604 | 1,519,306,703.000604 | 35,570 |
pythondev | help | and how can i get better at these coding problems? haha | 2018-02-22T13:38:34.000686 | Jasmin | pythondev_help_Jasmin_2018-02-22T13:38:34.000686 | 1,519,306,714.000686 | 35,571 |
pythondev | help | Do more of them :smile: | 2018-02-22T13:38:56.000069 | Garrett | pythondev_help_Garrett_2018-02-22T13:38:56.000069 | 1,519,306,736.000069 | 35,572 |
pythondev | help | I know that's crappy advice, but there are very few ways to get better at doing something without, you know, doing the thing. | 2018-02-22T13:40:11.000566 | Garrett | pythondev_help_Garrett_2018-02-22T13:40:11.000566 | 1,519,306,811.000566 | 35,573 |
pythondev | help | yeah sometimes i find these coding problems impossible to do | 2018-02-22T13:40:37.000541 | Jasmin | pythondev_help_Jasmin_2018-02-22T13:40:37.000541 | 1,519,306,837.000541 | 35,574 |
pythondev | help | Go back and redo ones you've already solved. Try to find a different solution. Look through the docs for built-in tools that might solve this problem for you. | 2018-02-22T13:41:04.000127 | Garrett | pythondev_help_Garrett_2018-02-22T13:41:04.000127 | 1,519,306,864.000127 | 35,575 |
pythondev | help | thanks for the help again :slightly_smiling_face: | 2018-02-22T13:41:56.000068 | Jasmin | pythondev_help_Jasmin_2018-02-22T13:41:56.000068 | 1,519,306,916.000068 | 35,576 |
pythondev | help | is using built in functions frowned upon in job interviews? | 2018-02-22T13:42:57.000245 | Jasmin | pythondev_help_Jasmin_2018-02-22T13:42:57.000245 | 1,519,306,977.000245 | 35,577 |
pythondev | help | If so, walk out | 2018-02-22T13:43:04.000153 | Garrett | pythondev_help_Garrett_2018-02-22T13:43:04.000153 | 1,519,306,984.000153 | 35,578 |
pythondev | help | lol | 2018-02-22T13:43:19.000187 | Jasmin | pythondev_help_Jasmin_2018-02-22T13:43:19.000187 | 1,519,306,999.000187 | 35,579 |
pythondev | help | Seriously, though, any company that shames someone for using provided tools is a company no one should work for | 2018-02-22T13:46:34.000788 | Garrett | pythondev_help_Garrett_2018-02-22T13:46:34.000788 | 1,519,307,194.000788 | 35,580 |
pythondev | help | I’ve had interviews where they’ve asked me to reimplement an existing function, which can make sense, and obviously prevents you from using that function itself :slightly_smiling_face: but outside of that, you should lean on the “batteries included” promise as heavily as possible, in my opinion | 2018-02-22T13:48:30.000048 | Stacia | pythondev_help_Stacia_2018-02-22T13:48:30.000048 | 1,519,307,310.000048 | 35,581 |
pythondev | help | when doing these coding problems, i use a lot of the python's built in functions..it feels like cheating sometimes | 2018-02-22T13:49:51.000042 | Jasmin | pythondev_help_Jasmin_2018-02-22T13:49:51.000042 | 1,519,307,391.000042 | 35,582 |
pythondev | help | Yeah, I've had students recreate, say, `zip`. | 2018-02-22T13:49:59.000189 | Garrett | pythondev_help_Garrett_2018-02-22T13:49:59.000189 | 1,519,307,399.000189 | 35,583 |
pythondev | help | why? | 2018-02-22T13:49:59.000503 | Floy | pythondev_help_Floy_2018-02-22T13:49:59.000503 | 1,519,307,399.000503 | 35,584 |
pythondev | help | ah, that was to <@Jasmin> | 2018-02-22T13:50:17.000423 | Floy | pythondev_help_Floy_2018-02-22T13:50:17.000423 | 1,519,307,417.000423 | 35,585 |
pythondev | help | It's 100% not cheating to use available tools. Use them always. | 2018-02-22T13:50:25.000080 | Garrett | pythondev_help_Garrett_2018-02-22T13:50:25.000080 | 1,519,307,425.00008 | 35,586 |
pythondev | help | exactly | 2018-02-22T13:50:32.000297 | Floy | pythondev_help_Floy_2018-02-22T13:50:32.000297 | 1,519,307,432.000297 | 35,587 |
pythondev | help | its very helpful to know how they work | 2018-02-22T13:50:40.000031 | Floy | pythondev_help_Floy_2018-02-22T13:50:40.000031 | 1,519,307,440.000031 | 35,588 |
pythondev | help | and possible alternatives | 2018-02-22T13:50:45.000759 | Floy | pythondev_help_Floy_2018-02-22T13:50:45.000759 | 1,519,307,445.000759 | 35,589 |
pythondev | help | but relying on alternative implementation in working code… | 2018-02-22T13:51:06.000056 | Floy | pythondev_help_Floy_2018-02-22T13:51:06.000056 | 1,519,307,466.000056 | 35,590 |
pythondev | help | lets just say I won’t thank you for dumping that maintenance on my lap | 2018-02-22T13:51:17.000507 | Floy | pythondev_help_Floy_2018-02-22T13:51:17.000507 | 1,519,307,477.000507 | 35,591 |
pythondev | help | especially if it doesn’t do anything different from the stdlib | 2018-02-22T13:51:38.000280 | Floy | pythondev_help_Floy_2018-02-22T13:51:38.000280 | 1,519,307,498.00028 | 35,592 |
pythondev | help | i did a problem where it asked for binary to decimal. i think i just used python's int() | 2018-02-22T13:52:05.000282 | Jasmin | pythondev_help_Jasmin_2018-02-22T13:52:05.000282 | 1,519,307,525.000282 | 35,593 |
pythondev | help | this guy wrote a whole algorithm to convert | 2018-02-22T13:53:01.000067 | Jasmin | pythondev_help_Jasmin_2018-02-22T13:53:01.000067 | 1,519,307,581.000067 | 35,594 |
pythondev | help | right. If someone was interviewing to join my team and they went to great lengths to implement their own version of a stdlib function, I’d assume they
1. Didn’t know that function was in the stdlib, or
2. Were an extreme “cowboy coder” <https://en.wikipedia.org/wiki/Cowboy_coding> | 2018-02-22T13:54:43.000435 | Stacia | pythondev_help_Stacia_2018-02-22T13:54:43.000435 | 1,519,307,683.000435 | 35,595 |
pythondev | help | it’s a worthy exercise to try implementing it yourself, and ponder why the accepted implementation differs, but… definitely not in an interview. | 2018-02-22T13:56:30.000768 | Stacia | pythondev_help_Stacia_2018-02-22T13:56:30.000768 | 1,519,307,790.000768 | 35,596 |
pythondev | help | thanks for all the feedback | 2018-02-22T13:57:17.000738 | Jasmin | pythondev_help_Jasmin_2018-02-22T13:57:17.000738 | 1,519,307,837.000738 | 35,597 |
pythondev | help | Just to throw in my 2 cents, I have found it helpful to treat it more of a conversation than an interview. Don't be afraid to push back/ask questions about the question the interviewer gave you and say something to the effect of "I know I can use such and such function so would you like to see an implementation with t... | 2018-02-22T14:03:22.000800 | Leanora | pythondev_help_Leanora_2018-02-22T14:03:22.000800 | 1,519,308,202.0008 | 35,598 |
pythondev | help | And don't stress about it, far more chance involved than anyone likes to admit, and interviewing is a discrete skill, it doesn't really inform your day-to-day work | 2018-02-22T14:08:21.000764 | Huong | pythondev_help_Huong_2018-02-22T14:08:21.000764 | 1,519,308,501.000764 | 35,599 |
pythondev | help | You'll fail more interviews than you succeed in, if you do many interviews, most likely | 2018-02-22T14:08:41.000183 | Huong | pythondev_help_Huong_2018-02-22T14:08:41.000183 | 1,519,308,521.000183 | 35,600 |
pythondev | help | For whatever it’s worth, my two biggest interview tips have nothing to do with coding: if you sincerely feel enthusiasm about the role, try your hardest to let that shine through, and saying “I haven’t learned that yet, but I’d love to work somewhere that I will get the chance to build that skill” is a perfectly accept... | 2018-02-22T14:18:49.000234 | Stacia | pythondev_help_Stacia_2018-02-22T14:18:49.000234 | 1,519,309,129.000234 | 35,601 |
pythondev | help | Thanks for the insight! Right now i'm doing coding challenges and working on a few projects. | 2018-02-22T14:27:22.000605 | Jasmin | pythondev_help_Jasmin_2018-02-22T14:27:22.000605 | 1,519,309,642.000605 | 35,602 |
pythondev | help | I'm with <@Stacia> on this <@Jasmin>. Enthusiasm is very important, especially as a Junior. The person wants to see that you are excited to learn things and that you are curious and driven. | 2018-02-22T14:28:55.000043 | Rigoberto | pythondev_help_Rigoberto_2018-02-22T14:28:55.000043 | 1,519,309,735.000043 | 35,603 |
pythondev | help | Trying to write unit tests in python2.7.
I’m getting the error:
```
AttributeError: 'module' object has no attribute 'test_packagename'
```
Unsure how to proceed. Im trying to import the package I wish to test, but it’s throwing errors. | 2018-02-22T15:52:14.000162 | Lai | pythondev_help_Lai_2018-02-22T15:52:14.000162 | 1,519,314,734.000162 | 35,604 |
pythondev | help | <@Lai> how are you trying to import it? Got code we can see? Also, do you already have that module installed on your system? | 2018-02-22T16:24:19.000501 | Henrietta | pythondev_help_Henrietta_2018-02-22T16:24:19.000501 | 1,519,316,659.000501 | 35,605 |
pythondev | help | a tree of your directory structure would be helpful too | 2018-02-22T16:24:53.000415 | Floy | pythondev_help_Floy_2018-02-22T16:24:53.000415 | 1,519,316,693.000415 | 35,606 |
pythondev | help | Figured it out | 2018-02-22T16:29:35.000556 | Lai | pythondev_help_Lai_2018-02-22T16:29:35.000556 | 1,519,316,975.000556 | 35,607 |
pythondev | help | was importing… wrong | 2018-02-22T16:29:40.000148 | Lai | pythondev_help_Lai_2018-02-22T16:29:40.000148 | 1,519,316,980.000148 | 35,608 |
pythondev | help | \o/ | 2018-02-22T16:29:40.000481 | Henrietta | pythondev_help_Henrietta_2018-02-22T16:29:40.000481 | 1,519,316,980.000481 | 35,609 |
pythondev | help | STILL struggling with python module/package system haha | 2018-02-22T16:29:57.000211 | Lai | pythondev_help_Lai_2018-02-22T16:29:57.000211 | 1,519,316,997.000211 | 35,610 |
pythondev | help | Hi all! I just wanted to ask if theres anyone here that has experience with graph databases? We’re starting to dive into graph db, specifically locations, and came up with Neo4j (based on popularity). Would appreciate some advice before we commit to it. :simple_smile: | 2018-02-22T21:47:54.000163 | Margert | pythondev_help_Margert_2018-02-22T21:47:54.000163 | 1,519,336,074.000163 | 35,611 |
pythondev | help | hi guys — I have a question regarding creating an executable file on mac. basically, I want to run this command with sudo, which would prompt for passwords, and then open a link in my browser to a database. I want to know if it is possible to provide passwords automatically? Let’s say I create keychain for couple of pa... | 2018-02-22T21:58:35.000251 | Carina | pythondev_help_Carina_2018-02-22T21:58:35.000251 | 1,519,336,715.000251 | 35,612 |
pythondev | help | <@Margert> might want to ask in <#C3X4T24LB|databases>. I think there was an ongoing conversation about neo4j recently | 2018-02-22T22:29:40.000065 | Floy | pythondev_help_Floy_2018-02-22T22:29:40.000065 | 1,519,338,580.000065 | 35,613 |
pythondev | help | Sweet! I’ll do some back reading from there. Thanks <@Floy> | 2018-02-22T22:30:14.000161 | Margert | pythondev_help_Margert_2018-02-22T22:30:14.000161 | 1,519,338,614.000161 | 35,614 |
pythondev | help | Hi people. I know this is a dumb question but I'm asking because I'm not sure of the answer. Suppose I have a list and within that list, I have dictionaries storing data in the format [`{'something': something}`]. How do I add a new dictionary to the list and modify a dictionary within the list? | 2018-02-22T23:42:39.000015 | Hans | pythondev_help_Hans_2018-02-22T23:42:39.000015 | 1,519,342,959.000015 | 35,615 |
pythondev | help | <@Hans>, a good place to start looking on how to add something to a list is the python docs (<https://docs.python.org/3/tutorial/datastructures.html>). Next, where does a new item in a list get added? Front or back of the list? If front, what element # in list is this? | 2018-02-23T00:10:09.000118 | Shaun | pythondev_help_Shaun_2018-02-23T00:10:09.000118 | 1,519,344,609.000118 | 35,616 |
pythondev | help | Back? | 2018-02-23T00:10:26.000056 | Shaun | pythondev_help_Shaun_2018-02-23T00:10:26.000056 | 1,519,344,626.000056 | 35,617 |
pythondev | help | <@Shaun> just looked through that. There are two methods I could use: `update` or `append`. I want to add to the back of list. | 2018-02-23T00:25:16.000191 | Hans | pythondev_help_Hans_2018-02-23T00:25:16.000191 | 1,519,345,516.000191 | 35,618 |
pythondev | help | I had thought of using `update` but I didn't know if it's a valid method to use, thus my consideration of `append`.
P. S: I'll use `append`. Thanks for the resource. | 2018-02-23T00:25:55.000084 | Hans | pythondev_help_Hans_2018-02-23T00:25:55.000084 | 1,519,345,555.000084 | 35,619 |
pythondev | help | I'd like to create an API endpoint that registers a business. I have a helper application class that handles the logic of the application. So how do I pass the correct arguments so that I return JSON data in the browser as output to show that a business has been registered. Code is below:
```
class WeConnect():
"""... | 2018-02-23T01:08:26.000227 | Hans | pythondev_help_Hans_2018-02-23T01:08:26.000227 | 1,519,348,106.000227 | 35,620 |
pythondev | help | At present, I haven't written code for handling business registration on the endpoint side. I just have code that checks whether `name` is in `request.json` and returns a `404` page. | 2018-02-23T01:11:49.000177 | Hans | pythondev_help_Hans_2018-02-23T01:11:49.000177 | 1,519,348,309.000177 | 35,621 |
pythondev | help | <@Hans> do you mean passing argument like this?
``` <http://127.0.0.1:8000/api/v1/businesses?name=abc> ``` | 2018-02-23T03:22:31.000379 | Delilah | pythondev_help_Delilah_2018-02-23T03:22:31.000379 | 1,519,356,151.000379 | 35,622 |
pythondev | help | Yes | 2018-02-23T03:22:59.000363 | Hans | pythondev_help_Hans_2018-02-23T03:22:59.000363 | 1,519,356,179.000363 | 35,623 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.