Skip to content

GitHubLoader

Description: Loads files from a GitHub repository. Note that you will likely hit rate limits on all but the smallest repositories unless a TOKEN is provided

PropertyPatternTypeDeprecatedDefinitionTitle/Description
- implementationNoconstNo-GitHubLoader
+ ownerNostringNo-Owner
+ repoNostringNo-Repo
- client_argsNoobjectNo-Client Args
- root_pathNoCombinationNo-Root Path
- patternNoCombinationNo-Pattern
- excludeNoCombinationNo-Exclude
- tokenNoCombinationNo-Token

1. Property implementation

Typeconst
RequiredNo

Description: GitHubLoader

Specific value: "GitHubLoader"

2. Property owner

Title: Owner

Typestring
RequiredYes

3. Property repo

Title: Repo

Typestring
RequiredYes

4. Property client_args

Title: Client Args

Typeobject
RequiredNo
Additional properties[Any type: allowed]
Default{}

5. Property root_path

Title: Root Path

Typecombining
RequiredNo
Additional properties[Any type: allowed]
Defaultnull
Any of(Option)
item 0
item 1

5.1. Property item 0

Typestring
RequiredNo

5.2. Property item 1

Typenull
RequiredNo

6. Property pattern

Title: Pattern

Typecombining
RequiredNo
Additional properties[Any type: allowed]
Default"**"
Any of(Option)
item 0
item 1

6.1. Property item 0

Typestring
RequiredNo

6.2. Property item 1

Typearray of string
RequiredNo
Array restrictions
Min itemsN/A
Max itemsN/A
Items unicityFalse
Additional itemsFalse
Tuple validationSee below
Each item of this array must beDescription
item 1 items-

6.2.1. item 1 items

Typestring
RequiredNo

7. Property exclude

Title: Exclude

Typecombining
RequiredNo
Additional properties[Any type: allowed]
Default[]
Any of(Option)
item 0
item 1

7.1. Property item 0

Typestring
RequiredNo

7.2. Property item 1

Typearray of string
RequiredNo
Array restrictions
Min itemsN/A
Max itemsN/A
Items unicityFalse
Additional itemsFalse
Tuple validationSee below
Each item of this array must beDescription
item 1 items-

7.2.1. item 1 items

Typestring
RequiredNo

8. Property token

Title: Token

Typecombining
RequiredNo
Additional properties[Any type: allowed]

Description: Github token, can also be set via envar ‘GITHUB_TOKEN’

Any of(Option)
item 0
item 1

8.1. Property item 0

Typestring
RequiredNo

8.2. Property item 1

Typenull
RequiredNo