Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ namespace HealthDataAIServices.DeidServices {
@@clientName(DeidentifyTextRequest.body, "content", "csharp");
@@clientName(Azure.Core.Foundations.OperationState,
"operationStatus",
"csharp,java"
"csharp,java,python"
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ model DeidentificationJob {
@maxLength(36)
@minLength(3) // Must be 3 to match regex
@pattern("^[a-zA-Z0-9][a-zA-Z0-9-_]+[a-zA-Z0-9]$")
@clientName("jobName", "csharp,java")
@clientName("jobName", "csharp,java,python")
name: string;

@doc("Operation to perform on the input documents.")
@clientName("operationType", "csharp,java")
@clientName("operationType", "csharp,java,python")
operation?: DeidentificationOperationType = DeidentificationOperationType.Surrogate;

@doc("Storage location to perform the operation on.")
Expand Down Expand Up @@ -70,19 +70,19 @@ model DeidentificationJob {
@doc("Summary metrics of a job.")
model DeidentificationJobSummary {
@doc("Number of documents that have completed.")
@clientName("successfulCount", "csharp,java")
@clientName("successfulCount", "csharp,java,python")
successful: int32;

@doc("Number of documents that have failed.")
@clientName("failedCount", "csharp,java")
@clientName("failedCount", "csharp,java,python")
failed: int32;

@doc("Number of documents that have been canceled.")
@clientName("canceledCount", "csharp,java")
@clientName("canceledCount", "csharp,java,python")
canceled: int32;

@doc("Number of documents total.")
@clientName("totalCount", "csharp,java")
@clientName("totalCount", "csharp,java,python")
total: int32;

@doc("Number of bytes processed.")
Expand All @@ -100,11 +100,11 @@ model DeidentificationDocumentDetails {
id: string;

@doc("Location for the input.")
@clientName("inputLocation", "csharp,java")
@clientName("inputLocation", "csharp,java,python")
input: DeidentificationDocumentLocation;

@doc("Location for the output.")
@clientName("outputLocation", "csharp,java")
@clientName("outputLocation", "csharp,java,python")
output?: DeidentificationDocumentLocation;

@doc("Status of the document.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ model DeidentificationContent {
inputText: string;

@doc("Operation to perform on the input documents.")
@clientName("operationType", "csharp,java")
@clientName("operationType", "csharp,java,python")
operation?: DeidentificationOperationType = DeidentificationOperationType.Surrogate;

@doc("Customization parameters to override default service behaviors.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ options:
namespace: "azure.health.deidentification"
package-mode: dataplane
flavor: azure
generate-test: true
generate-sample: true
generate-test: false
generate-sample: false
"@azure-tools/typespec-csharp":
package-dir: "Azure.Health.Deidentification"
namespace: "{package-dir}"
Expand Down