python

package
v0.0.0-...-0e43621 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const TemplatesPath = "templates/compage-template-python"

TemplatesPath directory of template files

Variables

This section is empty.

Functions

func AddValuesToContext

func AddValuesToContext(ctx context.Context) context.Context

func Generate

func Generate(ctx context.Context) error

Generate generates python specific code according to config passed

func GetPythonTemplatesRootPath

func GetPythonTemplatesRootPath() string

func Process

func Process(ctx context.Context) error

Types

type LPythonNode

type LPythonNode struct {
	*languages.LanguageNode
}

LPythonNode language specific struct.

func (*LPythonNode) FillDefaults

func (n *LPythonNode) FillDefaults() error

FillDefaults constructor function

type Values

type Values struct {
	Values     *languages.Values
	PythonNode *LPythonNode
}

Directories

Path Synopsis
integrations

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL