Skip to content

Commit c306eea

Browse files
committed
source-ashby: new connector
1 parent 5d0cddd commit c306eea

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+6616
-2
lines changed

.github/workflows/python.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ on:
6060
- "source-iterable-native/**"
6161
- "source-ringcentral/**"
6262
- "source-posthog/**"
63+
- "source-ashby/**"
6364

6465
pull_request:
6566
branches: [main]
@@ -121,6 +122,7 @@ on:
121122
- "source-iterable-native/**"
122123
- "source-ringcentral/**"
123124
- "source-posthog/**"
125+
- "source-ashby/**"
124126

125127
concurrency:
126128
group: ${{ github.workflow }}-${{ github.ref }}
@@ -356,6 +358,10 @@ jobs:
356358
type: capture
357359
version: v1
358360
usage_rate: "1.0"
361+
- name: source-ashby
362+
type: capture
363+
version: v1
364+
usage_rate: "1.0"
359365

360366
steps:
361367
- uses: actions/checkout@v4

estuary-cdk/estuary_cdk/capture/common.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
Iterable,
1818
Literal,
1919
TypeVar,
20-
Tuple,
2120
)
2221
from pydantic import AwareDatetime, BaseModel, Field, NonNegativeInt
2322

@@ -40,7 +39,7 @@
4039
from ..pydantic_polyfill import GenericModel
4140
from . import Task, request, response
4241

43-
LogCursor = Tuple[str | int] | AwareDatetime | NonNegativeInt
42+
LogCursor = tuple[str | int] | AwareDatetime | NonNegativeInt
4443
"""LogCursor is a cursor into a logical log of changes.
4544
The two predominant strategies for accessing logs are:
4645
a) fetching entities which were created / updated / deleted since a given datetime.

source-ashby/VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v1
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
$defs:
2+
Meta:
3+
properties:
4+
op:
5+
default: u
6+
description: 'Operation type (c: Create, u: Update, d: Delete)'
7+
enum:
8+
- c
9+
- u
10+
- d
11+
title: Op
12+
type: string
13+
row_id:
14+
default: -1
15+
description: Row ID of the Document, counting up from zero, or -1 if not known
16+
title: Row Id
17+
type: integer
18+
title: Meta
19+
type: object
20+
additionalProperties: true
21+
properties:
22+
_meta:
23+
$ref: '#/$defs/Meta'
24+
description: Document metadata
25+
id:
26+
title: Id
27+
type: string
28+
createdAt:
29+
format: date-time
30+
title: Createdat
31+
type: string
32+
updatedAt:
33+
format: date-time
34+
title: Updatedat
35+
type: string
36+
required:
37+
- id
38+
- createdAt
39+
- updatedAt
40+
title: Applications
41+
type: object
42+
x-infer-schema: true
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
$defs:
2+
Meta:
3+
properties:
4+
op:
5+
default: u
6+
description: 'Operation type (c: Create, u: Update, d: Delete)'
7+
enum:
8+
- c
9+
- u
10+
- d
11+
title: Op
12+
type: string
13+
row_id:
14+
default: -1
15+
description: Row ID of the Document, counting up from zero, or -1 if not known
16+
title: Row Id
17+
type: integer
18+
title: Meta
19+
type: object
20+
additionalProperties: true
21+
properties:
22+
_meta:
23+
$ref: '#/$defs/Meta'
24+
description: Document metadata
25+
id:
26+
title: Id
27+
type: string
28+
required:
29+
- id
30+
title: Approvals
31+
type: object
32+
x-infer-schema: true
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
$defs:
2+
Meta:
3+
properties:
4+
op:
5+
default: u
6+
description: 'Operation type (c: Create, u: Update, d: Delete)'
7+
enum:
8+
- c
9+
- u
10+
- d
11+
title: Op
12+
type: string
13+
row_id:
14+
default: -1
15+
description: Row ID of the Document, counting up from zero, or -1 if not known
16+
title: Row Id
17+
type: integer
18+
title: Meta
19+
type: object
20+
additionalProperties: true
21+
properties:
22+
_meta:
23+
$ref: '#/$defs/Meta'
24+
description: Document metadata
25+
id:
26+
title: Id
27+
type: string
28+
required:
29+
- id
30+
title: ArchiveReasons
31+
type: object
32+
x-infer-schema: true
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
$defs:
2+
Meta:
3+
properties:
4+
op:
5+
default: u
6+
description: 'Operation type (c: Create, u: Update, d: Delete)'
7+
enum:
8+
- c
9+
- u
10+
- d
11+
title: Op
12+
type: string
13+
row_id:
14+
default: -1
15+
description: Row ID of the Document, counting up from zero, or -1 if not known
16+
title: Row Id
17+
type: integer
18+
title: Meta
19+
type: object
20+
additionalProperties: true
21+
properties:
22+
_meta:
23+
$ref: '#/$defs/Meta'
24+
description: Document metadata
25+
id:
26+
title: Id
27+
type: string
28+
required:
29+
- id
30+
title: CandidateTags
31+
type: object
32+
x-infer-schema: true
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
$defs:
2+
Meta:
3+
properties:
4+
op:
5+
default: u
6+
description: 'Operation type (c: Create, u: Update, d: Delete)'
7+
enum:
8+
- c
9+
- u
10+
- d
11+
title: Op
12+
type: string
13+
row_id:
14+
default: -1
15+
description: Row ID of the Document, counting up from zero, or -1 if not known
16+
title: Row Id
17+
type: integer
18+
title: Meta
19+
type: object
20+
additionalProperties: true
21+
properties:
22+
_meta:
23+
$ref: '#/$defs/Meta'
24+
description: Document metadata
25+
id:
26+
title: Id
27+
type: string
28+
required:
29+
- id
30+
title: Candidates
31+
type: object
32+
x-infer-schema: true
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
$defs:
2+
Meta:
3+
properties:
4+
op:
5+
default: u
6+
description: 'Operation type (c: Create, u: Update, d: Delete)'
7+
enum:
8+
- c
9+
- u
10+
- d
11+
title: Op
12+
type: string
13+
row_id:
14+
default: -1
15+
description: Row ID of the Document, counting up from zero, or -1 if not known
16+
title: Row Id
17+
type: integer
18+
title: Meta
19+
type: object
20+
additionalProperties: true
21+
properties:
22+
_meta:
23+
$ref: '#/$defs/Meta'
24+
description: Document metadata
25+
id:
26+
title: Id
27+
type: string
28+
required:
29+
- id
30+
title: CustomFields
31+
type: object
32+
x-infer-schema: true
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
$defs:
2+
Meta:
3+
properties:
4+
op:
5+
default: u
6+
description: 'Operation type (c: Create, u: Update, d: Delete)'
7+
enum:
8+
- c
9+
- u
10+
- d
11+
title: Op
12+
type: string
13+
row_id:
14+
default: -1
15+
description: Row ID of the Document, counting up from zero, or -1 if not known
16+
title: Row Id
17+
type: integer
18+
title: Meta
19+
type: object
20+
additionalProperties: true
21+
properties:
22+
_meta:
23+
$ref: '#/$defs/Meta'
24+
description: Document metadata
25+
id:
26+
title: Id
27+
type: string
28+
required:
29+
- id
30+
title: Departments
31+
type: object
32+
x-infer-schema: true

0 commit comments

Comments
 (0)