Skip to content

Commit

Permalink
added aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
nfx committed Mar 27, 2024
1 parent 5bae103 commit 193f397
Show file tree
Hide file tree
Showing 546 changed files with 5,413 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .codegen/service.R.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ NULL
#' @return `data.frame` with all of the response pages.
{{end}}#'
#' @rdname {{.AsFlat.SnakeName}}
#' @alias {{.Service.CamelName}}{{.PascalName}}
#' @export
{{- $hasRequiredFields := and .Request (gt (len .Request.RequiredFields) 0) }}
{{.AsFlat.SnakeName}} <- function(client{{- if .Request}}{{range .Request.RequiredFields}}, {{.SnakeName}}{{end -}}
Expand All @@ -19,6 +20,10 @@ NULL
{{- template "method-serialize" .}}
{{template "method-call" .}}
}

#' @rdname {{.AsFlat.SnakeName}}
#' @export
{{.Service.CamelName}}{{.PascalName}} <- {{.AsFlat.SnakeName}}
{{end}}
{{- range .Methods}}{{if and .Wait (not .IsCrudRead)}}{{.Comment "#' " 80}}
#' @param client Required. Instance of DatabricksClient()
Expand Down
Loading

0 comments on commit 193f397

Please sign in to comment.