Skip to content

Commit ecded74

Browse files
authored
Merge pull request #8 from guardrails-ai/rename
Rename
2 parents c9d9340 + 67e4224 commit ecded74

File tree

82 files changed

+29
-29
lines changed

Some content is hidden

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

82 files changed

+29
-29
lines changed

.github/workflows/build-sdk.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
with:
4343
# The arguments for the `git add` command (see the paragraph below for more info)
4444
# Default: '.'
45-
add: 'open-api-spec.yml guard-rails-api-client'
45+
add: 'open-api-spec.yml guardrails-api-client'
4646

4747
# The name of the user that will be displayed as the author of the commit.
4848
# Default: depends on the default_author input

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
open-api-spec.yml
2-
guard-rails-api-client
2+
guardrails-api-client
33
.venv

archive/telemetry-service-spec.orig.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: '3.0.0'
22
info:
3-
title: GuardRails Telemetry
3+
title: Guardrails Telemetry
44
version: '1.0'
55
description: Hello!
66
paths:

build-sdk.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
22
python3 -m pip install openapi-python-client;
33
version=$(yq '.info.version' open-api-spec.yml);
4-
rm -rf ./guard-rails-api-client;
4+
rm -rf ./guardrails-api-client;
55
openapi-python-client generate --config ./config.json --path ./open-api-spec.yml --meta setup;

config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"package_version_override": "0.0.2"
2+
"package_version_override": "0.1.0"
33
}
File renamed without changes.

guard-rails-api-client/README.md guardrails-api-client/README.md

+13-13

guard-rails-api-client/guard_rails_api_client/__init__.py guardrails-api-client/guardrails_api_client/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""A client library for accessing GuardRails API"""
1+
"""A client library for accessing Guardrails API"""
22

33
from .client import AuthenticatedClient, Client
44

File renamed without changes.

guard-rails-api-client/setup.py guardrails-api-client/setup.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
long_description = (here / "README.md").read_text(encoding="utf-8")
77

88
setup(
9-
name="guard-rails-api-client",
10-
version="0.0.2",
11-
description="A client library for accessing GuardRails API",
9+
name="guardrails-api-client",
10+
version="0.1.0",
11+
description="A client library for accessing Guardrails API",
1212
long_description=long_description,
1313
long_description_content_type="text/markdown",
1414
packages=find_packages(),
1515
python_requires=">=3.8, <4",
1616
install_requires=["httpx >= 0.20.0, < 0.28.0", "attrs >= 21.3.0", "python-dateutil >= 2.8.0, < 3"],
17-
package_data={"guard_rails_api_client": ["py.typed"]},
17+
package_data={"guardrails_api_client": ["py.typed"]},
1818
)

open-api-spec.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
openapi: "3.0.0"
22
info:
3-
title: GuardRails API
3+
title: Guardrails API
44
version: "0.0.0"
5-
description: GuardRails CRUD API
5+
description: Guardrails CRUD API
66
paths:
77
/health-check:
88
get:

service-specs/guardrails-service-spec.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
openapi: "3.0.0"
22
info:
3-
title: GuardRails API
3+
title: Guardrails API
44
version: "0.0.0"
5-
description: GuardRails CRUD API
5+
description: Guardrails CRUD API
66
paths:
77
/health-check:
88
get:

service-specs/reporting-service-spec.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
openapi: "3.0.0"
22
info:
3-
title: GuardRails Reporting API
3+
title: Guardrails Reporting API
44
version: "0.0.0"
5-
description: GuardRails Reporting API
5+
description: Guardrails Reporting API
66
paths:
77
/health-check:
88
get:

0 commit comments

Comments
 (0)