superset 0.3.1 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/superset/dashboard/datasets/list.rb +4 -0
- data/lib/superset/database/connection.rb +26 -0
- data/lib/superset/version.rb +1 -1
- data/lib/superset.rb +1 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c06f7ee91293a564daf7b79d25c602d8ed7195795de421e2ae6930889f733758
|
|
4
|
+
data.tar.gz: fb2e77fca736ab2fe2581b5cd9155d5c47c3e562f7e50194dbd99a428f29487a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7d9bfa94afeedd33f40c2ca5cd872067777cba0965fe24feb3219fa6014c638017aa25312bd7c35f49fdd69027391aeba6ef36ecb1edbca032f2736673de1285
|
|
7
|
+
data.tar.gz: eff8b1735469dec69c9bc587e093e90268b9dff773d783079425161f62170706b046197149a9bcbf6f8e3cd07353362b1e59e373ed9c162fbb53119cecf81c7c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
## Change Log
|
|
2
2
|
|
|
3
|
+
## 0.3.3 - 2025-12-11
|
|
4
|
+
* Add databases method to Superset::Dashboard::Datasets::List
|
|
5
|
+
* New class to get Superset::Database::Connection details
|
|
6
|
+
|
|
7
|
+
## 0.3.2 - 2025-11-28
|
|
8
|
+
* Add require happi
|
|
9
|
+
|
|
10
|
+
## 0.3.1 - 2025-11-27
|
|
11
|
+
* Add require terminal table
|
|
12
|
+
|
|
3
13
|
## 0.3.0 - 2025-11-26
|
|
4
14
|
* Rename reserved object_id to target_id in https://github.com/rdytech/superset-client/pull/58
|
|
5
15
|
* Add dashboard cascade ownship in https://github.com/rdytech/superset-client/pull/59
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
module Superset
|
|
2
|
+
module Database
|
|
3
|
+
class Connection < Superset::Request
|
|
4
|
+
|
|
5
|
+
attr_reader :id
|
|
6
|
+
|
|
7
|
+
def initialize(id)
|
|
8
|
+
@id = id
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
def self.call(id)
|
|
12
|
+
self.new(id).result
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
def connection_db_name
|
|
16
|
+
result['parameters']['database']
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
private
|
|
20
|
+
|
|
21
|
+
def route
|
|
22
|
+
"database/#{id}/connection"
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
data/lib/superset/version.rb
CHANGED
data/lib/superset.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: superset
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- jbat
|
|
@@ -246,6 +246,7 @@ files:
|
|
|
246
246
|
- lib/superset/dashboard/list.rb
|
|
247
247
|
- lib/superset/dashboard/put.rb
|
|
248
248
|
- lib/superset/dashboard/warm_up_cache.rb
|
|
249
|
+
- lib/superset/database/connection.rb
|
|
249
250
|
- lib/superset/database/export.rb
|
|
250
251
|
- lib/superset/database/get.rb
|
|
251
252
|
- lib/superset/database/get_catalogs.rb
|