Commit 257aede
authored
Release v0.15.0 (#364)
* Validate resource names
([#357](#357)). In this
update, we introduce resource name validation for the Lakeview API,
allowing only alphanumeric characters, hyphens, and underscores. A new
method, `_is_valid_resource_name`, has been added to facilitate
validation. Existing classes, like `BaseHandler`, `TileMetadata`, and
various methods, have been updated to incorporate this validation. If a
resource name fails validation, a ValueError will be raised. The
`TileMetadata` class has also been updated to modify the naming
convention of filter tile IDs. Additionally, new unit tests have been
implemented to ensure proper validation of tile IDs, names, and filter
specifications, enhancing consistency and readability in dashboard
metadata. Issues
[#355](#355),
[#356](#356), and
[#354](#354) have been
addressed in this commit.1 parent a3d7b62 commit 257aede
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
3 | 8 | | |
4 | 9 | | |
5 | 10 | | |
| |||
0 commit comments