airbyte-cdk 6.7.0.dev9__py3-none-any.whl → 6.7.0.dev10__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2790,21 +2790,21 @@ interpolation:
2790
2790
  - created_at: "2020-01-01 00:00:00.000+00:00"
2791
2791
  - updated_at: "2020-01-02 00:00:00.000+00:00"
2792
2792
  macros:
2793
- - title: Now (UTC)
2793
+ - title: now_utc
2794
2794
  description: Returns the current date and time in the UTC timezone.
2795
2795
  arguments: {}
2796
2796
  return_type: Datetime
2797
2797
  examples:
2798
2798
  - "'{{ now_utc() }}' -> '2021-09-01 00:00:00+00:00'"
2799
2799
  - "'{{ now_utc().strftime('%Y-%m-%d') }}' -> '2021-09-01'"
2800
- - title: Today (UTC)
2800
+ - title: today_utc
2801
2801
  description: Returns the current date in UTC timezone. The output is a date object.
2802
2802
  arguments: {}
2803
2803
  return_type: Date
2804
2804
  examples:
2805
2805
  - "'{{ today_utc() }}' -> '2021-09-01'"
2806
2806
  - "'{{ today_utc().strftime('%Y/%m/%d')}}' -> '2021/09/01'"
2807
- - title: Timestamp
2807
+ - title: timestamp
2808
2808
  description: Converts a number or a string representing a datetime (formatted as ISO8601) to a timestamp. If the input is a number, it is converted to an int. If no timezone is specified, the string is interpreted as UTC.
2809
2809
  arguments:
2810
2810
  datetime: A string formatted as ISO8601 or an integer representing a unix timestamp
@@ -2815,7 +2815,7 @@ interpolation:
2815
2815
  - "'{{ timestamp('2022-02-28T00:00:00Z') }}' -> 1646006400"
2816
2816
  - "'{{ timestamp('2022-02-28 00:00:00Z') }}' -> 1646006400"
2817
2817
  - "'{{ timestamp('2022-02-28T00:00:00-08:00') }}' -> 1646035200"
2818
- - title: Max
2818
+ - title: max
2819
2819
  description: Returns the largest object of a iterable, or or two or more arguments.
2820
2820
  arguments:
2821
2821
  args: iterable or a sequence of two or more arguments
@@ -2823,7 +2823,7 @@ interpolation:
2823
2823
  examples:
2824
2824
  - "'{{ max(2, 3) }}' -> 3"
2825
2825
  - "'{{ max([2, 3]) }}' -> 3"
2826
- - title: Day Delta
2826
+ - title: day_delta
2827
2827
  description: Returns the datetime of now() + num_days.
2828
2828
  arguments:
2829
2829
  num_days: The number of days to add to now
@@ -2833,8 +2833,8 @@ interpolation:
2833
2833
  - "'{{ day_delta(1) }}' -> '2021-09-02T00:00:00.000000+0000'"
2834
2834
  - "'{{ day_delta(-1) }}' -> '2021-08-31:00:00.000000+0000'"
2835
2835
  - "'{{ day_delta(25, format='%Y-%m-%d') }}' -> '2021-09-02'"
2836
- - title: Duration
2837
- description: Converts an ISO8601 duratioin to datetime.timedelta.
2836
+ - title: duration
2837
+ description: Converts an ISO8601 duration to datetime timedelta.
2838
2838
  arguments:
2839
2839
  duration_string: "A string representing an ISO8601 duration. See https://www.digi.com/resources/documentation/digidocs//90001488-13/reference/r_iso_8601_duration_format.htm for more details."
2840
2840
  return_type: datetime.timedelta
@@ -2842,7 +2842,7 @@ interpolation:
2842
2842
  - "'{{ duration('P1D') }}' -> '1 day, 0:00:00'"
2843
2843
  - "'{{ duration('P6DT23H') }}' -> '6 days, 23:00:00'"
2844
2844
  - "'{{ (now_utc() - duration('P1D')).strftime('%Y-%m-%dT%H:%M:%SZ') }}' -> '2021-08-31T00:00:00Z'"
2845
- - title: Format Datetime
2845
+ - title: format_datetime
2846
2846
  description: Converts a datetime or a datetime-string to the specified format.
2847
2847
  arguments:
2848
2848
  datetime: The datetime object or a string to convert. If datetime is a string, it must be formatted as ISO8601.
@@ -2854,7 +2854,7 @@ interpolation:
2854
2854
  - "{{ format_datetime(config['start_date'], '%Y-%m-%dT%H:%M:%S.%fZ') }}"
2855
2855
  - "{{ format_datetime(config['start_date'], '%Y-%m-%dT%H:%M:%S.%fZ', '%a, %d %b %Y %H:%M:%S %z') }}"
2856
2856
  filters:
2857
- - title: Hash
2857
+ - title: hash
2858
2858
  description: Convert the specified value to a hashed string.
2859
2859
  arguments:
2860
2860
  hash_type: Valid hash type for converts ('md5' as default value).
@@ -2864,26 +2864,26 @@ interpolation:
2864
2864
  - "{{ 'Test client_secret' | hash() }} -> '3032d57a12f76b61a820e47b9a5a0cbb'"
2865
2865
  - "{{ 'Test client_secret' | hash('md5') }} -> '3032d57a12f76b61a820e47b9a5a0cbb'"
2866
2866
  - "{{ 'Test client_secret' | hash('md5', salt='salt') }} -> '5011a0168579c2d94cbbe1c6ad14327c'"
2867
- - title: Base64 encoder
2867
+ - title: base64encode
2868
2868
  description: Convert the specified value to a string in the base64 format.
2869
2869
  arguments: {}
2870
2870
  return_type: str
2871
2871
  examples:
2872
2872
  - "{{ 'Test client_secret' | base64encode }} -> 'VGVzdCBjbGllbnRfc2VjcmV0'"
2873
- - title: Base64 decoder
2873
+ - title: base64decode
2874
2874
  description: Decodes the specified base64 format value into a common string.
2875
2875
  arguments: {}
2876
2876
  return_type: str
2877
2877
  examples:
2878
2878
  - "{{ 'ZmFrZSByZWZyZXNoX3Rva2VuIHZhbHVl' | base64decode }} -> 'fake refresh_token value'"
2879
- - title: String
2879
+ - title: string
2880
2880
  description: Converts the specified value to a string.
2881
2881
  arguments: {}
2882
2882
  return_type: str
2883
2883
  examples:
2884
2884
  - '{{ 1 | string }} -> "1"'
2885
2885
  - '{{ ["hello", "world" | string }} -> "["hello", "world"]"'
2886
- - title: Regex Search
2886
+ - title: regex_search
2887
2887
  description: Match the input string against a regular expression and return the first match.
2888
2888
  arguments:
2889
2889
  regex: The regular expression to search for. It must include a capture group.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: airbyte-cdk
3
- Version: 6.7.0.dev9
3
+ Version: 6.7.0.dev10
4
4
  Summary: A framework for writing Airbyte Connectors.
5
5
  Home-page: https://airbyte.com
6
6
  License: MIT
@@ -66,7 +66,7 @@ airbyte_cdk/sources/declarative/concurrent_declarative_source.py,sha256=BpaTXzdf
66
66
  airbyte_cdk/sources/declarative/datetime/__init__.py,sha256=l9LG7Qm6e5r_qgqfVKnx3mXYtg1I9MmMjomVIPfU4XA,177
67
67
  airbyte_cdk/sources/declarative/datetime/datetime_parser.py,sha256=SX9JjdesN1edN2WVUVMzU_ptqp2QB1OnsnjZ4mwcX7w,2579
68
68
  airbyte_cdk/sources/declarative/datetime/min_max_datetime.py,sha256=8VZJP18eJLabSPP1XBSPDaagUBG6q1ynIiPJy3rE2mc,5344
69
- airbyte_cdk/sources/declarative/declarative_component_schema.yaml,sha256=QGpwBEd-KZIeUwtWiZNvRW9SbG4SLGveZHRjAgUk7mg,110383
69
+ airbyte_cdk/sources/declarative/declarative_component_schema.yaml,sha256=GjHEK3Z3T2e9aNEMDEmjZj5WkuZiBlxQXWIwNMGz-js,110374
70
70
  airbyte_cdk/sources/declarative/declarative_source.py,sha256=nF7wBqFd3AQmEKAm4CnIo29CJoQL562cJGSCeL8U8bA,1531
71
71
  airbyte_cdk/sources/declarative/declarative_stream.py,sha256=JRyNeOIpsFu4ztVZsN6sncqUEIqIE-bUkD2TPgbMgk0,10375
72
72
  airbyte_cdk/sources/declarative/decoders/__init__.py,sha256=hNlhaB5FjNC6IfJyglj5ZJWkYD2nEAukMDmzRz5PC6o,671
@@ -331,8 +331,8 @@ airbyte_cdk/utils/slice_hasher.py,sha256=EemcgcQlI8-LPYOPlYv4Qkdjyho79XVLWaUHF5X
331
331
  airbyte_cdk/utils/spec_schema_transformations.py,sha256=LVc9KbtMeV_z99jWo0Ou8u4l6eBJ0BWNhxj4zrrGKRs,763
332
332
  airbyte_cdk/utils/stream_status_utils.py,sha256=ZmBoiy5HVbUEHAMrUONxZvxnvfV9CesmQJLDTAIWnWw,1171
333
333
  airbyte_cdk/utils/traced_exception.py,sha256=89TQdFuYZ1NJgmFpqLzY_T_T_64TpJYmVqs119Bp43g,6164
334
- airbyte_cdk-6.7.0.dev9.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
335
- airbyte_cdk-6.7.0.dev9.dist-info/METADATA,sha256=pVzvPX6eG7TtRSlP25aPpOHPBYRGaFHQ82vd80zVmaw,13347
336
- airbyte_cdk-6.7.0.dev9.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
337
- airbyte_cdk-6.7.0.dev9.dist-info/entry_points.txt,sha256=fj-e3PAQvsxsQzyyq8UkG1k8spunWnD4BAH2AwlR6NM,95
338
- airbyte_cdk-6.7.0.dev9.dist-info/RECORD,,
334
+ airbyte_cdk-6.7.0.dev10.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
335
+ airbyte_cdk-6.7.0.dev10.dist-info/METADATA,sha256=sU3BMSYh-MXe1-kN-w2Ymntjgk78rjsJ6OfrKJsNwSs,13348
336
+ airbyte_cdk-6.7.0.dev10.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
337
+ airbyte_cdk-6.7.0.dev10.dist-info/entry_points.txt,sha256=fj-e3PAQvsxsQzyyq8UkG1k8spunWnD4BAH2AwlR6NM,95
338
+ airbyte_cdk-6.7.0.dev10.dist-info/RECORD,,