Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes for MDS 0.3.x #40

Merged
merged 74 commits into from
Aug 18, 2019
Merged

Changes for MDS 0.3.x #40

merged 74 commits into from
Aug 18, 2019

Conversation

@thekaveman thekaveman changed the base branch from master to dev November 19, 2018 19:40
@thekaveman

This comment has been minimized.

@thekaveman thekaveman added this to the MDS 0.3.0 milestone Nov 26, 2018
@thekaveman

This comment has been minimized.

@thekaveman thekaveman changed the base branch from dev to master December 31, 2018 19:23
@thekaveman

This comment has been minimized.

@thekaveman

This comment has been minimized.

@thekaveman
Copy link
Contributor Author

Rebased on master

@thekaveman
Copy link
Contributor Author

Rebased on master

@thekaveman thekaveman mentioned this pull request Apr 24, 2019
@thekaveman thekaveman added the release Staging changes for an upcoming release label Apr 24, 2019
@thekaveman thekaveman changed the title Changes for MDS 0.3.0 Changes for MDS 0.3.x Apr 24, 2019
thekaveman and others added 14 commits April 24, 2019 12:19
  - tweak encoding format for dates
    converts datetime to int unix ms when unix is the date_format requested

  - encode datetimes for API querystrings

  - convert incoming ms to utc timestamp in postgres
mds.version.Version helps parse and compare version strings
client is now single-Provider focused

Provider refactored to help acquire/configure a single instance at a time
* using relative imports
* import up the package chain
* moving schema constants - breaking
* use ConfigFile
* use new encoding
* allow old/new querystrings regardless of version
* clean up Provider usage
thekaveman added 23 commits May 13, 2019 11:23
* do not exclude any props in .dump()
* case-insensitive search for sub-config
* remove duplicative _provider property
* copy-constructor for incoming Provider instance
* setting some default props directly
* compute API endpoints (all data available in Provider instance)
* initialize with Provider instances and kwargs dict
* set the Accept header using version
* use Provider-computed endpoints
many validation improvements were introduced in 0.2.1,
as the schemas in 0.2.0 were overly restrictive for e.g. allowed nulls
some providers are returning data at 0.2.0 which otherwise validates
at 0.2.1, and this should be resolved by moving to 0.3.x anyway.
when null, the temp table created by DataFrame can type this column
as double precision, failing the later conversion to uuid[] / uuid

this transform was missed in the refactor
* the config keyword parameter pulled out of kwargs to more easily
  directly pass it, with sensible default

* extra kwargs are gathered and merged with config, as an additional
  call style (e.g. with the attribute=value directly vs. in a dict)
@thekaveman thekaveman merged commit b79db3d into master Aug 18, 2019
@thekaveman thekaveman deleted the mds-0.3 branch August 19, 2019 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release Staging changes for an upcoming release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant