Skip to content

Commit

Permalink
WIP: add asset view as project scope to validation endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
afwillia committed Nov 15, 2023
1 parent 2cd381a commit a9f25f0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions server.R
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,8 @@ shinyServer(function(input, output, session) {
.infile_data <- inFile$data()
.dd_template <- input$dropdown_template
.restrict_rules <- dcc_config_react()$validate_restrict_rules

.project_scope <- selected$master_asset_view()

promises::future_promise({
annotation_status <- switch(dca_schematic_api,
reticulate = manifest_validate_py(
Expand All @@ -740,7 +741,8 @@ shinyServer(function(input, output, session) {
schema_url=.data_model,
data_type=.schema,
file_name=.datapath,
restrict_rules = .restrict_rules),
restrict_rules = .restrict_rules,
project_scope = .project_scope),
{
Sys.sleep(0)
list(list(
Expand Down

0 comments on commit a9f25f0

Please sign in to comment.