Hugh A. Miles II
bc435e08d0
fix: overwrite update override columns on PUT /dataset ( #20862 )
...
* update override columns
* save
* fix overwrite with session.flush
* write test
* write test
* layup
* address concerns
* address concerns
2022-07-29 21:51:35 -04:00
John Bodley
f0ca158989
fix: Refactor ownership checks and ensure consistency ( #20499 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2022-07-07 11:04:27 -07:00
Ville Brofeldt
a619cb4ea9
chore: upgrade black ( #19410 )
2022-03-29 20:03:09 +03:00
Hugh A. Miles II
331de0c4ae
fix: Fix Uniqueness check before update for Sqllab Overwrites ( #16859 )
...
* add condition to make sure columns are available before throwing
* fix
* remove database_id from history changed
* refactor update call to datasets
* cleanup
* oops
* prettier
2021-09-29 13:38:29 -04:00
Ville Brofeldt
ac1d779a30
chore(ci): bump pylint to 2.10.2 ( #16463 )
2021-08-26 20:30:41 +03:00
John Bodley
be7065faf8
chore(pylint): Reenable raise-missing-from check ( #16266 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2021-08-17 10:26:10 +12:00
Ville Brofeldt
d6f9c48aa1
feat(dao): admin can remove self from object owners ( #15149 )
2021-08-13 12:42:48 +03:00
Hugh A. Miles II
a0b81357cd
fix(datasets): renaming openAPI columns ( #11858 )
2020-11-30 12:01:11 -08:00
Hugh A. Miles II
0689738e7c
feat: Sqllab to Explore UX improvements api changes ( #11836 )
2020-11-30 09:23:11 -08:00
Daniel Vaz Gaspar
878dbcda3f
feat(api): bump marshmallow and FAB to version 3 ( #9964 )
...
* feat(api): bump marshmallow and FAB to version 3
* revert query context tests changes
* obey mypy
* fix tests
* ignore types that collide with marshmallow
* preparing for RC2
* fix tests for marshmallow 3
* typing fixes for marshmallow
* fix tests and black
* fix tests
* bump to RC3 and lint
* Test RC4
* Final 3.0.0
* Address comments, fix tests, better naming, docs
* fix test
* couple of fixes, addressing comments
* bumping marshmallow
2020-07-07 13:26:54 +01:00
John Bodley
91517a56a3
style(mypy): Spit-and-polish pass ( #10001 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2020-06-07 08:53:46 -07:00
Ville Brofeldt
980dd2fd41
pylint: accept specific 2 character names by default ( #9460 )
...
* lint: accept 2 letter names by default
* Address review comments
* Remove e and d from good-names
2020-04-08 20:32:26 +03:00
Daniel Vaz Gaspar
4be827544e
[datasets] Add strict type annotation ( #9437 )
...
* [datasets] Add strict type annotation
* Fix refresh endpoint
* Improve logic on update
2020-04-07 16:22:57 +01:00
Daniel Vaz Gaspar
ccb22dc976
[dataset] columns and metrics API (nested) ( #9268 )
...
* [dataset] columns and metrics API (nested)
* [dataset] tests and validation
* [datasets] Fix, revert list field name to database_name
2020-03-24 17:24:08 +00:00
Daniel Vaz Gaspar
c34df6b7b3
[dashboard] Refactor API using SIP-35 ( #9315 )
...
* [dashboard] Refactor API using SIP-35
* [dashboard] Fix, import
* [dashboard] more tests
* [dashboards] a misc of improvements
* [charts] Fix, DAO and tests
* [dashboards] small exceptions refactor
* [dashboards] lint
* [dashboards] Improves comments on base classes
* [dashboards] lint
2020-03-20 16:32:03 +00:00
Daniel Vaz Gaspar
52c59d6890
[datasets] new, API using command pattern ( #9129 )
...
* [datasets] new, API using command pattern
* [datasets] tests and improvements
* [datasets] lint
* [database] address comments
* [datasets] lint
* [datasets] Address PR comments
* [dataset] Fix, dataset expects a Dict now
* [dataset] lint and optional commits
* [dataset] mypy
* [dataset] Fix, license and parent class
* [dataset] Make CRUD DAO raise exceptions
2020-03-08 09:13:08 +00:00