Roger Hunwicks

Results 13 comments of Roger Hunwicks

You could also consider Pandas as a drop-in replacement for Tablib - i.e. it just reads or writes a DataFrame in the appropriate format, and have Import-Export iterate over the...

I am happy to work on a Pandas version in parallel, if that will help with the API design for making the dataset read/write pluggable?

@PlasmaSheep said: > It seems that faker lacks a provider to pick a random choice out a of a list, like fuzzy.FuzzyChoice does That's true. In the meantime, I have...

@jmafc my take is that no-one in their right mind is going to run `yamltodb` on any database of value without doing a dry run first to see what's going...

@jmafc I agree. My normal approach would be to update `schema.yml` to create the new tables (often by changing the tables in a dev database directly and then using `dbtoyaml`,...

I'm travelling at the moment and can't look, but I think you can probably achieve what you want with functions and function templates. I'm including a sampe augment.yaml. If this...

@amercader I think this is an issue datapusher rather than with ckanext-cloudstorage. When you use CloudStorage the attempt to get the resource in `jobs.push_to_datastore` returns a Redirect that points to...

I can't recreate this issue using the current version of datapusher that uses `requests.get` instead of `urllib2.urlopen` to get the resource. It can be closed as far as I can...

Could we just make the choice of sheet more customizable? At the moment `jobs.push_to_datastore` just does `row_set = table_set.tables.pop()`. We could: * change `deployment/datapusher_settings.py` to include: ```python get_row_set = lambda...

Even simpler, we change `push_to_datastore`: ```python get_row_set = web.app.config.get('GET_ROW_SET', lambda table_set: table_set.tables.pop()) row_set = get_row_set(table_set) ``` That way existing deployments with custom settings files continue to work unaltered, but the...