Leo Q

Results 239 comments of Leo Q

compared with github personal token, github app is a better choice in most circumstance, github apps has more accurate permission control and more secured authenticate method, really recommand you try...

I have the same issue when trying to select data structure from database.

not sure if it's relevant, I'm using s3 storage to `mirror` packages, but the packages deleted in pypi.org was not deleted in my mirror sites. what can I do to...

Is there any existing command to achieve this? Or I have to implement it on my own?

hmmm I checked the list_object_v2 api again and found that it only produce folders when scan folder for the first time, this is a long last problem....

I found that if I set Delimiter to '', all contents of the folder will be returned. maybe we can use this to make it more efficient. https://github.com/liormizr/s3path/blob/a20403d49450987d0dc3955df1c4db2d2968bb7e/s3path.py#L115-L117

I replaced glob method to ```python def glob(self, pattern): bucket_name = self.bucket resource, _ = self._accessor.configuration_map.get_configuration(self) if not bucket_name: for bucket in resource.buckets.filter(Prefix=str(self)): yield S3Path(bucket) return bucket = resource.Bucket(bucket_name) kwargs...

hmmm, I dont know, it's just for me I need all files like "*.html" in all subdirectories. If I use regular pathlib style and walk through all directories, it would...

自己升呗, 下载下来覆盖就行了, 这玩意儿不是goinception 提供的

That's pretty cool!