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 | So maybe what you want your filter to do is actually iterate through the lines and modify the message. | 2019-04-23T00:52:35.299200 | Sasha | pythondev_help_Sasha_2019-04-23T00:52:35.299200 | 1,555,980,755.2992 | 20,021 |
pythondev | help | so I can do re.match i guess | 2019-04-23T00:52:36.299300 | Kam | pythondev_help_Kam_2019-04-23T00:52:36.299300 | 1,555,980,756.2993 | 20,022 |
pythondev | help | so i can do `for line in getMessage(): do blah` in my class I guess. | 2019-04-23T00:54:33.300500 | Kam | pythondev_help_Kam_2019-04-23T00:54:33.300500 | 1,555,980,873.3005 | 20,023 |
pythondev | help | Yeah, that will actually loop by character, but you can use `split('\n')`, etc. | 2019-04-23T00:55:08.301000 | Sasha | pythondev_help_Sasha_2019-04-23T00:55:08.301000 | 1,555,980,908.301 | 20,024 |
pythondev | help | okay so i've added this code | 2019-04-23T00:57:56.301400 | Kam | pythondev_help_Kam_2019-04-23T00:57:56.301400 | 1,555,981,076.3014 | 20,025 |
pythondev | help | ```class my_bin_convert_filter(logging.Filter):
def filter(self, record):
if record.getMessage().startswith('Processed'):
print('hello world')
else:
return record.getMessage()``` | 2019-04-23T00:58:20.301700 | Kam | pythondev_help_Kam_2019-04-23T00:58:20.301700 | 1,555,981,100.3017 | 20,026 |
pythondev | help | and got ```python3 maystreet_v2.py --instrument cts --date 2019-04-18 --directory ./drezden
hello world``` | 2019-04-23T00:58:54.302100 | Kam | pythondev_help_Kam_2019-04-23T00:58:54.302100 | 1,555,981,134.3021 | 20,027 |
pythondev | help | but in the log i don't see another message | 2019-04-23T00:59:48.302600 | Kam | pythondev_help_Kam_2019-04-23T00:59:48.302600 | 1,555,981,188.3026 | 20,028 |
pythondev | help | from another line `Just a test` | 2019-04-23T01:00:06.303000 | Kam | pythondev_help_Kam_2019-04-23T01:00:06.303000 | 1,555,981,206.303 | 20,029 |
pythondev | help | Remember, the `getMessage()` result is both lines, since they were output in one big string by the subprocess call. | 2019-04-23T01:00:40.303700 | Sasha | pythondev_help_Sasha_2019-04-23T01:00:40.303700 | 1,555,981,240.3037 | 20,030 |
pythondev | help | so it matches both lines as one message | 2019-04-23T01:01:28.304100 | Kam | pythondev_help_Kam_2019-04-23T01:01:28.304100 | 1,555,981,288.3041 | 20,031 |
pythondev | help | Yes, the message would be `"Processed 107367496 Packets\nJust a test"`. | 2019-04-23T01:01:57.304600 | Sasha | pythondev_help_Sasha_2019-04-23T01:01:57.304600 | 1,555,981,317.3046 | 20,032 |
pythondev | help | so if i do `for line in getMessage().split('\n')`: | 2019-04-23T01:02:22.305000 | Kam | pythondev_help_Kam_2019-04-23T01:02:22.305000 | 1,555,981,342.305 | 20,033 |
pythondev | help | something like this: | 2019-04-23T01:04:29.305600 | Kam | pythondev_help_Kam_2019-04-23T01:04:29.305600 | 1,555,981,469.3056 | 20,034 |
pythondev | help | ```class my_bin_convert_filter(logging.Filter):
def filter(self, record):
for line in record.getMessage().split('\n'):
if line.startswith('Processed'):
print('hello world')
else:
return line``` | 2019-04-23T01:04:31.305900 | Kam | pythondev_help_Kam_2019-04-23T01:04:31.305900 | 1,555,981,471.3059 | 20,035 |
pythondev | help | It looks like filters are allowed to modify the `msg` attribute of a record if they want. Note that they just return `True` or `False`, though, not the data. | 2019-04-23T01:04:52.306600 | Sasha | pythondev_help_Sasha_2019-04-23T01:04:52.306600 | 1,555,981,492.3066 | 20,036 |
pythondev | help | How do I unpack tuple while doing list slicing?
```
class MyCustomList:
def __init__(self, list = []):
self.list = list
def __getitem__(self, key):
print(key)
return self.list[*key]
if __name__ == '__main__':
list = MyCustomList(list=[1, 2, 3, 4])
print(list[1, 3])
```
Gives me errors. | 2019-04-23T01:05:20.307200 | Cordell | pythondev_help_Cordell_2019-04-23T01:05:20.307200 | 1,555,981,520.3072 | 20,037 |
pythondev | help | ```
File "/Users/aruprakshit/python_playground/python_methods.py", line 110
return self.list[*key]
^
SyntaxError: invalid syntax
Process terminated with an exit code of 1
``` | 2019-04-23T01:05:23.307400 | Cordell | pythondev_help_Cordell_2019-04-23T01:05:23.307400 | 1,555,981,523.3074 | 20,038 |
pythondev | help | <https://stackoverflow.com/questions/2936863/python-implementing-slicing-in-getitem> | 2019-04-23T01:08:17.308200 | Sasha | pythondev_help_Sasha_2019-04-23T01:08:17.308200 | 1,555,981,697.3082 | 20,039 |
pythondev | help | oh yes.. I messed with Ruby.. thanks <@Sasha> | 2019-04-23T01:09:59.308800 | Cordell | pythondev_help_Cordell_2019-04-23T01:09:59.308800 | 1,555,981,799.3088 | 20,040 |
pythondev | help | oh wow i got it working it seem <@Sasha> | 2019-04-23T01:10:03.309000 | Kam | pythondev_help_Kam_2019-04-23T01:10:03.309000 | 1,555,981,803.309 | 20,041 |
pythondev | help | Thanks for your help | 2019-04-23T01:10:13.309300 | Kam | pythondev_help_Kam_2019-04-23T01:10:13.309300 | 1,555,981,813.3093 | 20,042 |
pythondev | help | this seem to work | 2019-04-23T01:10:17.309500 | Kam | pythondev_help_Kam_2019-04-23T01:10:17.309500 | 1,555,981,817.3095 | 20,043 |
pythondev | help | ```class my_bin_convert_filter(logging.Filter):
def filter(self, record):
for line in record.getMessage().split('\n'):
if line.startswith('Processed'):
print('hello world')
else:
return True``` | 2019-04-23T01:10:29.309900 | Kam | pythondev_help_Kam_2019-04-23T01:10:29.309900 | 1,555,981,829.3099 | 20,044 |
pythondev | help | i get `Hello World` in stdout in console | 2019-04-23T01:10:48.310300 | Kam | pythondev_help_Kam_2019-04-23T01:10:48.310300 | 1,555,981,848.3103 | 20,045 |
pythondev | help | and this in the log | 2019-04-23T01:11:10.310600 | Kam | pythondev_help_Kam_2019-04-23T01:11:10.310600 | 1,555,981,870.3106 | 20,046 |
pythondev | help | ```2019-04-23 05:09:30,756 INFO Done downloading files for instrument cts from source: feeds/cts/2019/04/18 to target: ./drezden/cts/2019/04/18
2019-04-23 05:09:30,757 INFO Starting conversion of pcap files in directory: ./drezden/cts/2019/04/18 for instrument: cts
2019-04-23 05:09:30,767 INFO Processed 107367496 Packets
Just a test
2019-04-23 05:09:30,767 INFO Completed converting bin files for instrument: cts. Output file is ./drezden/cts/2019/04/18/cts-2019-04-18``` | 2019-04-23T01:11:13.310800 | Kam | pythondev_help_Kam_2019-04-23T01:11:13.310800 | 1,555,981,873.3108 | 20,047 |
pythondev | help | oh never mind | 2019-04-23T01:11:31.311000 | Kam | pythondev_help_Kam_2019-04-23T01:11:31.311000 | 1,555,981,891.311 | 20,048 |
pythondev | help | it has `INFO Processed 107367496 Packets` | 2019-04-23T01:11:40.311300 | Kam | pythondev_help_Kam_2019-04-23T01:11:40.311300 | 1,555,981,900.3113 | 20,049 |
pythondev | help | in there. | 2019-04-23T01:11:43.311500 | Kam | pythondev_help_Kam_2019-04-23T01:11:43.311500 | 1,555,981,903.3115 | 20,050 |
pythondev | help | How can i construct the message so it will skip that `Processed` | 2019-04-23T01:12:19.312600 | Kam | pythondev_help_Kam_2019-04-23T01:12:19.312600 | 1,555,981,939.3126 | 20,051 |
pythondev | help | Probably the second line is hitting the `return True` case, which enables logging for the whole record. | 2019-04-23T01:12:21.312700 | Sasha | pythondev_help_Sasha_2019-04-23T01:12:21.312700 | 1,555,981,941.3127 | 20,052 |
pythondev | help | yeah in that case i want only to log that line | 2019-04-23T01:12:49.313200 | Kam | pythondev_help_Kam_2019-04-23T01:12:49.313200 | 1,555,981,969.3132 | 20,053 |
pythondev | help | but not the whole message | 2019-04-23T01:12:55.313500 | Kam | pythondev_help_Kam_2019-04-23T01:12:55.313500 | 1,555,981,975.3135 | 20,054 |
pythondev | help | How about:
```def filter(self, record):
record.msg = '\n'.join(line for line in record.msg.split('\n') if not line.startswith("Processed"))
return bool(record.msg)``` | 2019-04-23T01:14:14.314700 | Sasha | pythondev_help_Sasha_2019-04-23T01:14:14.314700 | 1,555,982,054.3147 | 20,055 |
pythondev | help | hmm, let me try | 2019-04-23T01:14:56.315000 | Kam | pythondev_help_Kam_2019-04-23T01:14:56.315000 | 1,555,982,096.315 | 20,056 |
pythondev | help | `AttributeError: '_io.TextIOWrapper' object has no attribute 'split'` | 2019-04-23T01:16:14.315200 | Kam | pythondev_help_Kam_2019-04-23T01:16:14.315200 | 1,555,982,174.3152 | 20,057 |
pythondev | help | Ah, fun, throw a `str()` in there I guess. | 2019-04-23T01:16:39.315600 | Sasha | pythondev_help_Sasha_2019-04-23T01:16:39.315600 | 1,555,982,199.3156 | 20,058 |
pythondev | help | you mean `str(record.msg.split('\n'))` | 2019-04-23T01:19:02.316000 | Kam | pythondev_help_Kam_2019-04-23T01:19:02.316000 | 1,555,982,342.316 | 20,059 |
pythondev | help | so in source | 2019-04-23T01:20:42.316200 | Kam | pythondev_help_Kam_2019-04-23T01:20:42.316200 | 1,555,982,442.3162 | 20,060 |
pythondev | help | ```ef filter(self, record):
"""
Determine if the specified record is to be logged.
Is the specified record to be logged? Returns 0 for no, nonzero for
yes. If deemed appropriate, the record may be modified in-place.
"""
if self.nlen == 0:
return True
elif self.name == record.name:
return True
elif record.name.find(self.name, 0, self.nlen) != 0:
return False
return (record.name[self.nlen] == ".")``` | 2019-04-23T01:20:44.316400 | Kam | pythondev_help_Kam_2019-04-23T01:20:44.316400 | 1,555,982,444.3164 | 20,061 |
pythondev | help | I mean `str(record.msg).split('\n')`. Though I must admit I was surprised that `msg` wasn't already a string, so I may not have the pattern right for how you're supposed to modify it. | 2019-04-23T01:24:25.317800 | Sasha | pythondev_help_Sasha_2019-04-23T01:24:25.317800 | 1,555,982,665.3178 | 20,062 |
pythondev | help | it worked | 2019-04-23T01:26:08.318000 | Kam | pythondev_help_Kam_2019-04-23T01:26:08.318000 | 1,555,982,768.318 | 20,063 |
pythondev | help | ```2019-04-23 05:25:51,789 INFO Done downloading files for instrument cts from source: feeds/cts/2019/04/18 to target: ./drezden/cts/2019/04/18
2019-04-23 05:25:51,790 INFO Starting conversion of pcap files in directory: ./drezden/cts/2019/04/18 for instrument: cts
2019-04-23 05:25:51,796 INFO Just a test
2019-04-23 05:25:51,796 INFO Completed converting bin files for instrument: cts. Output file is ./drezden/cts/2019/04/18/cts-2019-04-18``` | 2019-04-23T01:26:11.318200 | Kam | pythondev_help_Kam_2019-04-23T01:26:11.318200 | 1,555,982,771.3182 | 20,064 |
pythondev | help | Let me try to apply to the whole command. | 2019-04-23T01:26:46.318500 | Kam | pythondev_help_Kam_2019-04-23T01:26:46.318500 | 1,555,982,806.3185 | 20,065 |
pythondev | help | Thank you again for all the babysitting, this is first time i am coding python in last 3 years or so. | 2019-04-23T01:27:16.319200 | Kam | pythondev_help_Kam_2019-04-23T01:27:16.319200 | 1,555,982,836.3192 | 20,066 |
pythondev | help | No problem, I'm learning from this exercise too. :grin: | 2019-04-23T01:28:31.319800 | Sasha | pythondev_help_Sasha_2019-04-23T01:28:31.319800 | 1,555,982,911.3198 | 20,067 |
pythondev | help | yeah, that's a beauty of collaboration you learn 5x times faster | 2019-04-23T01:29:39.320300 | Kam | pythondev_help_Kam_2019-04-23T01:29:39.320300 | 1,555,982,979.3203 | 20,068 |
pythondev | help | with more practical examples of solving real world problems -))) | 2019-04-23T01:30:06.320800 | Kam | pythondev_help_Kam_2019-04-23T01:30:06.320800 | 1,555,983,006.3208 | 20,069 |
pythondev | help | I have a few CSV files and I want to unite them.
But I have a problem - different headers in all csv files.
For example:
1 file - headers `first, second, third`
2 - file - headers `second, first, third`
3 - file - headers `third, second, first`
etc
What do you think what the best way to unite these files? | 2019-04-23T05:06:47.321400 | Jung | pythondev_help_Jung_2019-04-23T05:06:47.321400 | 1,555,996,007.3214 | 20,070 |
pythondev | help | csv.DictReader, csv.DictWriter | 2019-04-23T05:09:03.321800 | Jettie | pythondev_help_Jettie_2019-04-23T05:09:03.321800 | 1,555,996,143.3218 | 20,071 |
pythondev | help | Been struggling with this for 10 hours now. I'm using Google Pub/Sub to send messages from a topic to Google Hangout Chat. This works fine locally where I feed the script a locally stored keyfile.json. But when deploying on GCP, it fails to deploy due to credentials not being loaded / passed correctly. The json keyfile with the creds are passed in a env variable (I'm aware of the security danger, but hey its company procedure)
Have read up and down the docs, through the code of `oauth2client.service_account` but can't make it work. Anyone else experience this, and have insight? | 2019-04-23T06:05:46.321900 | Conchita | pythondev_help_Conchita_2019-04-23T06:05:46.321900 | 1,555,999,546.3219 | 20,072 |
pythondev | help | The exception handling on Google isn't that descriptive / doesn't point to the issue at hand, so difficult to figure out the core here | 2019-04-23T06:07:18.322900 | Conchita | pythondev_help_Conchita_2019-04-23T06:07:18.322900 | 1,555,999,638.3229 | 20,073 |
pythondev | help | This is the docs for the module responsible for authorizing my credentials <https://oauth2client.readthedocs.io/en/latest/source/oauth2client.service_account.html> | 2019-04-23T06:17:43.323100 | Conchita | pythondev_help_Conchita_2019-04-23T06:17:43.323100 | 1,556,000,263.3231 | 20,074 |
pythondev | help | <@Conchita> are you sure the env var is populated correctly? | 2019-04-23T06:40:37.323600 | Hiroko | pythondev_help_Hiroko_2019-04-23T06:40:37.323600 | 1,556,001,637.3236 | 20,075 |
pythondev | help | specifically `data = os.environ['GOOGLE_APPLICATION_CREDENTIALS']` | 2019-04-23T06:41:04.324000 | Hiroko | pythondev_help_Hiroko_2019-04-23T06:41:04.324000 | 1,556,001,664.324 | 20,076 |
pythondev | help | According to my colleagues, yes. I have simply pasted the content of the json file (below )into the env var value field
```{
"type": "xxx",
"project_id": "xxxxx",
"private_key_id": "xxxx",
"private_key": "-----BEGIN PRIVATE KEY-----\nxxxx",
"client_email": "xxx",
"client_id": "xxx",
"auth_uri": "<https://accounts.google.com/o/oauth2/auth>",
"token_uri": "<https://oauth2.googleapis.com/token>",
"auth_provider_x509_cert_url": "<https://www.googleapis.com/oauth2/v1/certs>",
"client_x509_cert_url": "xxxxx"
}
```
and I have used the google logging module to print the value of the key `auth_provider_x509_cert_url` and `type` from the file. Which results in the correct values | 2019-04-23T06:55:06.324100 | Conchita | pythondev_help_Conchita_2019-04-23T06:55:06.324100 | 1,556,002,506.3241 | 20,077 |
pythondev | help | <@Hiroko> | 2019-04-23T06:55:11.324300 | Conchita | pythondev_help_Conchita_2019-04-23T06:55:11.324300 | 1,556,002,511.3243 | 20,078 |
pythondev | help | and this exact code is working locally? with the exact same version of this package | 2019-04-23T06:56:57.324800 | Hiroko | pythondev_help_Hiroko_2019-04-23T06:56:57.324800 | 1,556,002,617.3248 | 20,079 |
pythondev | help | also, are you aware that
>>>oauth2client is now deprecated. No more features will be added to the libraries and the core team is turning down support. We recommend you use google-auth and oauthlib. For more details on the deprecation, see oauth2client deprecation. | 2019-04-23T07:00:58.327600 | Hiroko | pythondev_help_Hiroko_2019-04-23T07:00:58.327600 | 1,556,002,858.3276 | 20,080 |
pythondev | help | <https://google-auth.readthedocs.io/en/latest/oauth2client-deprecation.html> | 2019-04-23T07:01:19.328200 | Hiroko | pythondev_help_Hiroko_2019-04-23T07:01:19.328200 | 1,556,002,879.3282 | 20,081 |
pythondev | help | When running locally there is 1 change:
GCP deploy:
```SCOPES = '<https://www.googleapis.com/auth/chat.bot>'
data = os.environ['GOOGLE_APPLICATION_CREDENTIALS']
credentials = json.loads(data)
creds = ServiceAccountCredentials.from_json(credentials)```
Locally:
```SCOPES = '<https://www.googleapis.com/auth/chat.bot>'
credentials = ServiceAccountCredentials.from_json(
'/path/key.json', SCOPES)
``` | 2019-04-23T07:02:34.329800 | Conchita | pythondev_help_Conchita_2019-04-23T07:02:34.329800 | 1,556,002,954.3298 | 20,082 |
pythondev | help | Not aware | 2019-04-23T07:03:16.330100 | Conchita | pythondev_help_Conchita_2019-04-23T07:03:16.330100 | 1,556,002,996.3301 | 20,083 |
pythondev | help | why the code difference? | 2019-04-23T07:03:17.330300 | Hiroko | pythondev_help_Hiroko_2019-04-23T07:03:17.330300 | 1,556,002,997.3303 | 20,084 |
pythondev | help | Local worked, then with the company requirement to pass the key.json through an env var, I had to make a adjustment | 2019-04-23T07:04:17.331700 | Conchita | pythondev_help_Conchita_2019-04-23T07:04:17.331700 | 1,556,003,057.3317 | 20,085 |
pythondev | help | Hello, I am creating a school scheduling program and I need to store recurrence rules. However, each instance of a recurring event can have a different teacher assigned to it. Could anyone tell me the most efficient way to store this in a database? preferable using the django framework. | 2019-04-23T07:04:42.332000 | Wai | pythondev_help_Wai_2019-04-23T07:04:42.332000 | 1,556,003,082.332 | 20,086 |
pythondev | help | I could have used a bucket to store the file, but the team opposed it | 2019-04-23T07:04:56.332400 | Conchita | pythondev_help_Conchita_2019-04-23T07:04:56.332400 | 1,556,003,096.3324 | 20,087 |
pythondev | help | gotcha. But I meant more the exclusion of `SCOPES` from creating the `ServiceAccountCredentials` object | 2019-04-23T07:05:29.333200 | Hiroko | pythondev_help_Hiroko_2019-04-23T07:05:29.333200 | 1,556,003,129.3332 | 20,088 |
pythondev | help | <@Wai> have you looked at <http://djangopackages.org|djangopackages.org>? | 2019-04-23T07:06:04.333500 | Hiroko | pythondev_help_Hiroko_2019-04-23T07:06:04.333500 | 1,556,003,164.3335 | 20,089 |
pythondev | help | there might be something there for your needs | 2019-04-23T07:06:14.333800 | Hiroko | pythondev_help_Hiroko_2019-04-23T07:06:14.333800 | 1,556,003,174.3338 | 20,090 |
pythondev | help | Right <@Hiroko> I'm sorry but I wrote up the wrong code here, tried so many different ways so messed it up. `from_json` just takes in the json file, while `from_json_keyfile_name` takes in two args; json file + SCOPES. The code that works locally is;
```
SCOPES = '<https://www.googleapis.com/auth/chat.bot>'
credentials = ServiceAccountCredentials.from_json_keyfile_name(
'/path/key.json', SCOPES)``` | 2019-04-23T07:08:33.335700 | Conchita | pythondev_help_Conchita_2019-04-23T07:08:33.335700 | 1,556,003,313.3357 | 20,091 |
pythondev | help | understood | 2019-04-23T07:09:17.336200 | Hiroko | pythondev_help_Hiroko_2019-04-23T07:09:17.336200 | 1,556,003,357.3362 | 20,092 |
pythondev | help | what’s the error output? | 2019-04-23T07:11:06.337400 | Hiroko | pythondev_help_Hiroko_2019-04-23T07:11:06.337400 | 1,556,003,466.3374 | 20,093 |
pythondev | help | thanks <@Hiroko> I'll check that out | 2019-04-23T07:11:13.337600 | Wai | pythondev_help_Wai_2019-04-23T07:11:13.337600 | 1,556,003,473.3376 | 20,094 |
pythondev | help | ```Deployment failure: Function failed on loading user code. Error message: File { "type": "servic.........<http://ount.com|ount.com>" } was not found.``` | 2019-04-23T07:12:26.338400 | Conchita | pythondev_help_Conchita_2019-04-23T07:12:26.338400 | 1,556,003,546.3384 | 20,095 |
pythondev | help | do you ave a stack trace? | 2019-04-23T07:16:36.338600 | Hiroko | pythondev_help_Hiroko_2019-04-23T07:16:36.338600 | 1,556,003,796.3386 | 20,096 |
pythondev | help | Not any meaningful one | 2019-04-23T07:17:10.339100 | Conchita | pythondev_help_Conchita_2019-04-23T07:17:10.339100 | 1,556,003,830.3391 | 20,097 |
pythondev | help | Maybe I should get better at using the google.logging module | 2019-04-23T07:17:31.339500 | Conchita | pythondev_help_Conchita_2019-04-23T07:17:31.339500 | 1,556,003,851.3395 | 20,098 |
pythondev | help | None | 2019-04-23T07:18:04.339600 | Alvina | pythondev_help_Alvina_2019-04-23T07:18:04.339600 | 1,556,003,884.3396 | 20,099 |
pythondev | help | do you think using the django slugify makes sense for filenames and column names (preparing for a database load), in general? | 2019-04-23T07:18:25.340500 | Alvina | pythondev_help_Alvina_2019-04-23T07:18:25.340500 | 1,556,003,905.3405 | 20,100 |
pythondev | help | the only risk I can see is that removing some special symbol might create a duplicate column name | 2019-04-23T07:18:43.341000 | Alvina | pythondev_help_Alvina_2019-04-23T07:18:43.341000 | 1,556,003,923.341 | 20,101 |
pythondev | help | like value_(min), value_min | 2019-04-23T07:18:58.341600 | Alvina | pythondev_help_Alvina_2019-04-23T07:18:58.341600 | 1,556,003,938.3416 | 20,102 |
pythondev | help | file names, I guess | 2019-04-23T07:19:00.341800 | Hiroko | pythondev_help_Hiroko_2019-04-23T07:19:00.341800 | 1,556,003,940.3418 | 20,103 |
pythondev | help | some weird edge case | 2019-04-23T07:19:04.342200 | Alvina | pythondev_help_Alvina_2019-04-23T07:19:04.342200 | 1,556,003,944.3422 | 20,104 |
pythondev | help | but column names in a db, no | 2019-04-23T07:19:07.342400 | Hiroko | pythondev_help_Hiroko_2019-04-23T07:19:07.342400 | 1,556,003,947.3424 | 20,105 |
pythondev | help | Maybe I should take a look at either `google-auth` and `oauthlib` | 2019-04-23T07:19:23.342700 | Conchita | pythondev_help_Conchita_2019-04-23T07:19:23.342700 | 1,556,003,963.3427 | 20,106 |
pythondev | help | I would. those projects are supported, and doesn’t seem like you have anything requiring to use the current one | 2019-04-23T07:19:50.343300 | Hiroko | pythondev_help_Hiroko_2019-04-23T07:19:50.343300 | 1,556,003,990.3433 | 20,107 |
pythondev | help | <@Alvina> why would you want a slug as a column name? | 2019-04-23T07:20:10.344000 | Hiroko | pythondev_help_Hiroko_2019-04-23T07:20:10.344000 | 1,556,004,010.344 | 20,108 |
pythondev | help | Yep, my need / case is pretty simple | 2019-04-23T07:20:12.344100 | Conchita | pythondev_help_Conchita_2019-04-23T07:20:12.344100 | 1,556,004,012.3441 | 20,109 |
pythondev | help | well, my convention is lowercase underscore | 2019-04-23T07:20:30.344900 | Alvina | pythondev_help_Alvina_2019-04-23T07:20:30.344900 | 1,556,004,030.3449 | 20,110 |
pythondev | help | and some symbols are not allowed in postgres at all | 2019-04-23T07:20:38.345300 | Alvina | pythondev_help_Alvina_2019-04-23T07:20:38.345300 | 1,556,004,038.3453 | 20,111 |
pythondev | help | Thanks for helping out this is a :taco: <@Hiroko> | 2019-04-23T07:20:40.345400 | Conchita | pythondev_help_Conchita_2019-04-23T07:20:40.345400 | 1,556,004,040.3454 | 20,112 |
pythondev | help | i find it cleaner to get rid of symbols when possible | 2019-04-23T07:20:52.345900 | Alvina | pythondev_help_Alvina_2019-04-23T07:20:52.345900 | 1,556,004,052.3459 | 20,113 |
pythondev | help | anytime! | 2019-04-23T07:21:03.346300 | Hiroko | pythondev_help_Hiroko_2019-04-23T07:21:03.346300 | 1,556,004,063.3463 | 20,114 |
pythondev | help | <@Alvina> I still can’t understand why you want to have slugs as a db column name | 2019-04-23T07:21:21.347000 | Hiroko | pythondev_help_Hiroko_2019-04-23T07:21:21.347000 | 1,556,004,081.347 | 20,115 |
pythondev | help | are you really changing your schema that much? | 2019-04-23T07:21:29.347300 | Hiroko | pythondev_help_Hiroko_2019-04-23T07:21:29.347300 | 1,556,004,089.3473 | 20,116 |
pythondev | help | a lot of my data comes from files which can contain anything (especially Excel) | 2019-04-23T07:22:21.348200 | Alvina | pythondev_help_Alvina_2019-04-23T07:22:21.348200 | 1,556,004,141.3482 | 20,117 |
pythondev | help | if spaces are in the column name, I would need to add quotes as well | 2019-04-23T07:22:55.348600 | Alvina | pythondev_help_Alvina_2019-04-23T07:22:55.348600 | 1,556,004,175.3486 | 20,118 |
pythondev | help | are you trying to 1:1 the spreadsheet as much as possible? | 2019-04-23T07:23:27.349200 | Hiroko | pythondev_help_Hiroko_2019-04-23T07:23:27.349200 | 1,556,004,207.3492 | 20,119 |
pythondev | help | i keep the raw column names from DB sources, and REST APIs (after unnesting the data) | 2019-04-23T07:23:45.349700 | Alvina | pythondev_help_Alvina_2019-04-23T07:23:45.349700 | 1,556,004,225.3497 | 20,120 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.