640
641
642
643
@@ -9461,8 +9476,46 @@
767
768
769
-770 | class Azure(WritableFileSystem, WritableDeploymentStorage):
+770
+771
+772
+773
+774
+775
+776
+777
+778
+779
+780
+781
+782
+783
+784
+785
+786
+787
+788
+789
+790
+791
+792
+793
+794
+795
+796
+797
+798
| @deprecated_class(
+ start_date="Mar 2024",
+ help="Use the `AzureBlobStorageContainer` block from prefect-azure instead.",
+)
+class Azure(WritableFileSystem, WritableDeploymentStorage):
"""
+ DEPRECATION WARNING:
+
+ This class is deprecated as of March 2024 and will not be available after September 2024.
+ It has been replaced by `AzureBlobStorageContainer` from the `prefect-azure` package, which
+ offers enhanced functionality and better a better user experience.
+
Store data as a file on Azure Datalake and Azure Blob Storage.
Example:
@@ -9647,18 +9700,18 @@
Source code in prefect/filesystems.py
- 735
-736
-737
-738
-739
-740
-741
-742
-743
-744
-745
-746 | @sync_compatible
+ 763
+764
+765
+766
+767
+768
+769
+770
+771
+772
+773
+774 | @sync_compatible
async def get_directory(
self, from_path: Optional[str] = None, local_path: Optional[str] = None
) -> bytes:
@@ -9698,21 +9751,21 @@
Source code in prefect/filesystems.py
- 748
-749
-750
-751
-752
-753
-754
-755
-756
-757
-758
-759
-760
-761
-762 | @sync_compatible
+ 776
+777
+778
+779
+780
+781
+782
+783
+784
+785
+786
+787
+788
+789
+790 | @sync_compatible
async def put_directory(
self,
local_path: Optional[str] = None,
@@ -9758,7 +9811,11 @@
Bases: WritableFileSystem , WritableDeploymentStorage
- Store data as a file on Google Cloud Storage.
+ DEPRECATION WARNING:
+This class is deprecated as of March 2024 and will not be available after September 2024.
+It has been replaced by GcsBucket from the prefect-gcp package, which offers enhanced functionality
+and better a better user experience.
+Store data as a file on Google Cloud Storage.
Example
@@ -9770,17 +9827,7 @@
Source code in prefect/filesystems.py
- 529
-530
-531
-532
-533
-534
-535
-536
-537
-538
-539
+ 539
540
541
542
@@ -9860,8 +9907,34 @@
616
617
618
-619 | class GCS(WritableFileSystem, WritableDeploymentStorage):
+619
+620
+621
+622
+623
+624
+625
+626
+627
+628
+629
+630
+631
+632
+633
+634
+635
+636
+637
| @deprecated_class(
+ start_date="Mar 2024", help="Use the `GcsBucket` block from prefect-gcp instead."
+)
+class GCS(WritableFileSystem, WritableDeploymentStorage):
"""
+ DEPRECATION WARNING:
+
+ This class is deprecated as of March 2024 and will not be available after September 2024.
+ It has been replaced by `GcsBucket` from the `prefect-gcp` package, which offers enhanced functionality
+ and better a better user experience.
Store data as a file on Google Cloud Storage.
Example:
@@ -9988,18 +10061,18 @@
Source code in prefect/filesystems.py
- 584
-585
-586
-587
-588
-589
-590
-591
-592
-593
-594
-595 | @sync_compatible
+ 602
+603
+604
+605
+606
+607
+608
+609
+610
+611
+612
+613 | @sync_compatible
async def get_directory(
self, from_path: Optional[str] = None, local_path: Optional[str] = None
) -> bytes:
@@ -10039,21 +10112,21 @@
Source code in prefect/filesystems.py
- 597
-598
-599
-600
-601
-602
-603
-604
-605
-606
-607
-608
-609
-610
-611 | @sync_compatible
+ 615
+616
+617
+618
+619
+620
+621
+622
+623
+624
+625
+626
+627
+628
+629 | @sync_compatible
async def put_directory(
self,
local_path: Optional[str] = None,
@@ -10099,39 +10172,19 @@
Bases: ReadableDeploymentStorage
- Interact with files stored on GitHub repositories.
+ DEPRECATION WARNING:
+
+This class is deprecated as of March 2024 and will not be available after September 2024.
+It has been replaced by `GitHubRepository` from the `prefect-github` package, which offers
+enhanced functionality and better a better user experience.
+
+
+q
+ Interact with files stored on GitHub repositories.
Source code in prefect/filesystems.py
- 872
- 873
- 874
- 875
- 876
- 877
- 878
- 879
- 880
- 881
- 882
- 883
- 884
- 885
- 886
- 887
- 888
- 889
- 890
- 891
- 892
- 893
- 894
- 895
- 896
- 897
- 898
- 899
- 900
+ 900
901
902
903
@@ -10241,9 +10294,57 @@
1007
1008
1009
-1010 | class GitHub(ReadableDeploymentStorage):
+1010
+1011
+1012
+1013
+1014
+1015
+1016
+1017
+1018
+1019
+1020
+1021
+1022
+1023
+1024
+1025
+1026
+1027
+1028
+1029
+1030
+1031
+1032
+1033
+1034
+1035
+1036
+1037
+1038
+1039
+1040
+1041
+1042
+1043
+1044
+1045
+1046
+1047
+1048
| @deprecated_class(
+ start_date="Mar 2024",
+ help="Use the `GitHubRepository` block from prefect-github instead.",
+)
+class GitHub(ReadableDeploymentStorage):
"""
- Interact with files stored on GitHub repositories.
+ DEPRECATION WARNING:
+
+ This class is deprecated as of March 2024 and will not be available after September 2024.
+ It has been replaced by `GitHubRepository` from the `prefect-github` package, which offers
+ enhanced functionality and better a better user experience.
+ q
+ Interact with files stored on GitHub repositories.
"""
_block_type_name = "GitHub"
@@ -10463,45 +10564,7 @@
Source code in prefect/filesystems.py
- 964
- 965
- 966
- 967
- 968
- 969
- 970
- 971
- 972
- 973
- 974
- 975
- 976
- 977
- 978
- 979
- 980
- 981
- 982
- 983
- 984
- 985
- 986
- 987
- 988
- 989
- 990
- 991
- 992
- 993
- 994
- 995
- 996
- 997
- 998
- 999
-1000
-1001
-1002
+ 1002
1003
1004
1005
@@ -10509,7 +10572,45 @@
1007
1008
1009
-1010 | @sync_compatible
+1010
+1011
+1012
+1013
+1014
+1015
+1016
+1017
+1018
+1019
+1020
+1021
+1022
+1023
+1024
+1025
+1026
+1027
+1028
+1029
+1030
+1031
+1032
+1033
+1034
+1035
+1036
+1037
+1038
+1039
+1040
+1041
+1042
+1043
+1044
+1045
+1046
+1047
+1048
| @sync_compatible
async def get_directory(
self, from_path: Optional[str] = None, local_path: Optional[str] = None
) -> None:
@@ -10599,8 +10700,7 @@
Source code in prefect/filesystems.py
- 74
- 75
+ 75
76
77
78
@@ -10767,7 +10867,8 @@
239
240
241
-242 | class LocalFileSystem(WritableFileSystem, WritableDeploymentStorage):
+242
+243
| class LocalFileSystem(WritableFileSystem, WritableDeploymentStorage):
"""
Store data as a file on a local file system.
@@ -10973,8 +11074,7 @@
Source code in prefect/filesystems.py
- 129
-130
+ 130
131
132
133
@@ -11006,7 +11106,8 @@ 159
160
161
-162 | @sync_compatible
+162
+163
| @sync_compatible
async def get_directory(
self, from_path: str = None, local_path: str = None
) -> None:
@@ -11069,8 +11170,7 @@
Source code in prefect/filesystems.py
- 179
-180
+ 180
181
182
183
@@ -11099,7 +11199,8 @@ 206
207
208
-209 | @sync_compatible
+209
+210
| @sync_compatible
async def put_directory(
self, local_path: str = None, to_path: str = None, ignore_file: str = None
) -> None:
@@ -11175,8 +11276,7 @@
Source code in prefect/filesystems.py
- 245
-246
+ 246
247
248
249
@@ -11365,7 +11465,8 @@
432
433
434
-435 | class RemoteFileSystem(WritableFileSystem, WritableDeploymentStorage):
+435
+436
| class RemoteFileSystem(WritableFileSystem, WritableDeploymentStorage):
"""
Store data as a file on a remote file system.
@@ -11593,8 +11694,7 @@
Source code in prefect/filesystems.py
- 322
-323
+ 323
324
325
326
@@ -11614,7 +11714,8 @@ 340
341
342
-343 | @sync_compatible
+343
+344
| @sync_compatible
async def get_directory(
self, from_path: Optional[str] = None, local_path: Optional[str] = None
) -> None:
@@ -11664,8 +11765,7 @@
Source code in prefect/filesystems.py
- 345
-346
+ 346
347
348
349
@@ -11716,7 +11816,8 @@ 394
395
396
-397 | @sync_compatible
+397
+398
| @sync_compatible
async def put_directory(
self,
local_path: Optional[str] = None,
@@ -11800,7 +11901,11 @@
Bases: WritableFileSystem , WritableDeploymentStorage
- Store data as a file on AWS S3.
+ DEPRECATION WARNING:
+This class is deprecated as of March 2024 and will not be available after September 2024.
+It has been replaced by S3Bucket from the prefect-aws package, which offers enhanced functionality
+and better a better user experience.
+Store data as a file on AWS S3.
Example
@@ -11812,8 +11917,7 @@
Source code in prefect/filesystems.py
- 438
-439
+ 439
440
441
442
@@ -11900,8 +12004,27 @@
523
524
525
-526 | class S3(WritableFileSystem, WritableDeploymentStorage):
+526
+527
+528
+529
+530
+531
+532
+533
+534
+535
+536
| @deprecated_class(
+ start_date="Mar 2024", help="Use the `S3Bucket` block from prefect-aws instead."
+)
+class S3(WritableFileSystem, WritableDeploymentStorage):
"""
+ DEPRECATION WARNING:
+
+ This class is deprecated as of March 2024 and will not be available after September 2024.
+ It has been replaced by `S3Bucket` from the `prefect-aws` package, which offers enhanced functionality
+ and better a better user experience.
+
Store data as a file on AWS S3.
Example:
@@ -12026,18 +12149,18 @@
Source code in prefect/filesystems.py
- 491
-492
-493
-494
-495
-496
-497
-498
-499
-500
-501
-502 | @sync_compatible
+ 501
+502
+503
+504
+505
+506
+507
+508
+509
+510
+511
+512 | @sync_compatible
async def get_directory(
self, from_path: Optional[str] = None, local_path: Optional[str] = None
) -> bytes:
@@ -12077,21 +12200,21 @@
Source code in prefect/filesystems.py
- 504
-505
-506
-507
-508
-509
-510
-511
-512
-513
-514
+ | @sync_compatible
+518
+519
+520
+521
+522
+523
+524
+525
+526
+527
+528
| @sync_compatible
async def put_directory(
self,
local_path: Optional[str] = None,
@@ -12148,35 +12271,7 @@
Source code in
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|