Skip to content

Commit

Permalink
Merge pull request #254 from Axonius/develop
Browse files Browse the repository at this point in the history
5.0.5
  • Loading branch information
nate-axonius committed Jun 23, 2023
2 parents 590feb3 + b2fb6fc commit 5f6bac9
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 18 deletions.
2 changes: 1 addition & 1 deletion axonius_api_client/api/assets/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ def get_field_schema(
return schema

if not fields_error:
self.LOG.warning(f"No schema found for field {search!r}, creating custom schema")
self.LOG.debug(f"No schema found for field {search!r}, creating custom schema")
schema = schema_custom(name=search)
return schema

Expand Down
33 changes: 17 additions & 16 deletions axonius_api_client/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,22 +300,23 @@ def __init__( # noqa: PLR0913
self.HTTP_HEADERS: T_Headers = headers if is_headers(headers) else {}
self.HTTP_COOKIES: T_Cookies = cookies if is_cookies(cookies) else {}

self.set_cf_token(
url=cf_url,
token=cf_token,
run=cf_run,
path=cf_path,
run_login=cf_run_login,
run_access=cf_run_access,
env=cf_env,
echo=cf_echo,
echo_verbose=cf_echo_verbose,
error=cf_error,
error_login=cf_error_login,
error_access=cf_error_access,
timeout_access=cf_timeout_access,
timeout_login=cf_timeout_login,
)
if cf_token or cf_env or cf_run:
self.set_cf_token(
url=cf_url,
token=cf_token,
run=cf_run,
path=cf_path,
run_login=cf_run_login,
run_access=cf_run_access,
env=cf_env,
echo=cf_echo,
echo_verbose=cf_echo_verbose,
error=cf_error,
error_login=cf_error_login,
error_access=cf_error_access,
timeout_access=cf_timeout_access,
timeout_login=cf_timeout_login,
)

self.CERT_PATH: t.Optional[PathLike] = certpath
self.CERT_WARN: bool = coerce_bool(certwarn)
Expand Down
2 changes: 1 addition & 1 deletion axonius_api_client/projects/cf_token/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def join_envs(values):
FLOW_ERROR: bool = True
"""Default value for `error` argument used in workflows"""

FLOW_ENV: bool = True
FLOW_ENV: bool = False
"""Default value for `env` argument used in workflows"""

FLOW_RUN: bool = True
Expand Down

0 comments on commit 5f6bac9

Please sign in to comment.