Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Inline primitive models in preprocessing #179

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 24, 2017
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
3 changes: 0 additions & 3 deletions kubernetes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -635,8 +635,6 @@ Class | Method | HTTP request | Description
- [ExtensionsV1beta1Scale](docs/ExtensionsV1beta1Scale.md)
- [ExtensionsV1beta1ScaleSpec](docs/ExtensionsV1beta1ScaleSpec.md)
- [ExtensionsV1beta1ScaleStatus](docs/ExtensionsV1beta1ScaleStatus.md)
- [IntstrIntOrString](docs/IntstrIntOrString.md)
- [ResourceQuantity](docs/ResourceQuantity.md)
- [RuntimeRawExtension](docs/RuntimeRawExtension.md)
- [V1APIGroup](docs/V1APIGroup.md)
- [V1APIGroupList](docs/V1APIGroupList.md)
Expand Down Expand Up @@ -817,7 +815,6 @@ Class | Method | HTTP request | Description
- [V1SubjectAccessReviewStatus](docs/V1SubjectAccessReviewStatus.md)
- [V1TCPSocketAction](docs/V1TCPSocketAction.md)
- [V1Taint](docs/V1Taint.md)
- [V1Time](docs/V1Time.md)
- [V1TokenReview](docs/V1TokenReview.md)
- [V1TokenReviewSpec](docs/V1TokenReviewSpec.md)
- [V1TokenReviewStatus](docs/V1TokenReviewStatus.md)
Expand Down
3 changes: 0 additions & 3 deletions kubernetes/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@
from .models.extensions_v1beta1_scale import ExtensionsV1beta1Scale
from .models.extensions_v1beta1_scale_spec import ExtensionsV1beta1ScaleSpec
from .models.extensions_v1beta1_scale_status import ExtensionsV1beta1ScaleStatus
from .models.intstr_int_or_string import IntstrIntOrString
from .models.resource_quantity import ResourceQuantity
from .models.runtime_raw_extension import RuntimeRawExtension
from .models.v1_api_group import V1APIGroup
from .models.v1_api_group_list import V1APIGroupList
Expand Down Expand Up @@ -220,7 +218,6 @@
from .models.v1_subject_access_review_status import V1SubjectAccessReviewStatus
from .models.v1_tcp_socket_action import V1TCPSocketAction
from .models.v1_taint import V1Taint
from .models.v1_time import V1Time
from .models.v1_token_review import V1TokenReview
from .models.v1_token_review_spec import V1TokenReviewSpec
from .models.v1_token_review_status import V1TokenReviewStatus
Expand Down
4 changes: 4 additions & 0 deletions kubernetes/client/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,8 @@ def __deserialize_date(self, string):
:param string: str.
:return: date.
"""
if not string:
return None
try:
from dateutil.parser import parse
return parse(string).date()
Expand All @@ -606,6 +608,8 @@ def __deserialize_datatime(self, string):
:param string: str.
:return: datetime.
"""
if not string:
return None
try:
from dateutil.parser import parse
return parse(string)
Expand Down
20 changes: 10 additions & 10 deletions kubernetes/client/apis/apps_v1beta1_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1537,7 +1537,7 @@ def patch_namespaced_deployment(self, name, namespace, body, **kwargs):
for asynchronous request. (optional)
:param str name: name of the Deployment (required)
:param str namespace: object name and auth scope, such as for teams and projects (required)
:param V1Patch body: (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: AppsV1beta1Deployment
If the method is called asynchronously,
Expand Down Expand Up @@ -1565,7 +1565,7 @@ def patch_namespaced_deployment_with_http_info(self, name, namespace, body, **kw
for asynchronous request. (optional)
:param str name: name of the Deployment (required)
:param str namespace: object name and auth scope, such as for teams and projects (required)
:param V1Patch body: (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: AppsV1beta1Deployment
If the method is called asynchronously,
Expand Down Expand Up @@ -1660,7 +1660,7 @@ def patch_namespaced_deployment_status(self, name, namespace, body, **kwargs):
for asynchronous request. (optional)
:param str name: name of the Deployment (required)
:param str namespace: object name and auth scope, such as for teams and projects (required)
:param V1Patch body: (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: AppsV1beta1Deployment
If the method is called asynchronously,
Expand Down Expand Up @@ -1688,7 +1688,7 @@ def patch_namespaced_deployment_status_with_http_info(self, name, namespace, bod
for asynchronous request. (optional)
:param str name: name of the Deployment (required)
:param str namespace: object name and auth scope, such as for teams and projects (required)
:param V1Patch body: (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: AppsV1beta1Deployment
If the method is called asynchronously,
Expand Down Expand Up @@ -1783,7 +1783,7 @@ def patch_namespaced_scale_scale(self, name, namespace, body, **kwargs):
for asynchronous request. (optional)
:param str name: name of the Scale (required)
:param str namespace: object name and auth scope, such as for teams and projects (required)
:param V1Patch body: (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: AppsV1beta1Scale
If the method is called asynchronously,
Expand Down Expand Up @@ -1811,7 +1811,7 @@ def patch_namespaced_scale_scale_with_http_info(self, name, namespace, body, **k
for asynchronous request. (optional)
:param str name: name of the Scale (required)
:param str namespace: object name and auth scope, such as for teams and projects (required)
:param V1Patch body: (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: AppsV1beta1Scale
If the method is called asynchronously,
Expand Down Expand Up @@ -1906,7 +1906,7 @@ def patch_namespaced_stateful_set(self, name, namespace, body, **kwargs):
for asynchronous request. (optional)
:param str name: name of the StatefulSet (required)
:param str namespace: object name and auth scope, such as for teams and projects (required)
:param V1Patch body: (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: V1beta1StatefulSet
If the method is called asynchronously,
Expand Down Expand Up @@ -1934,7 +1934,7 @@ def patch_namespaced_stateful_set_with_http_info(self, name, namespace, body, **
for asynchronous request. (optional)
:param str name: name of the StatefulSet (required)
:param str namespace: object name and auth scope, such as for teams and projects (required)
:param V1Patch body: (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: V1beta1StatefulSet
If the method is called asynchronously,
Expand Down Expand Up @@ -2029,7 +2029,7 @@ def patch_namespaced_stateful_set_status(self, name, namespace, body, **kwargs):
for asynchronous request. (optional)
:param str name: name of the StatefulSet (required)
:param str namespace: object name and auth scope, such as for teams and projects (required)
:param V1Patch body: (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: V1beta1StatefulSet
If the method is called asynchronously,
Expand Down Expand Up @@ -2057,7 +2057,7 @@ def patch_namespaced_stateful_set_status_with_http_info(self, name, namespace, b
for asynchronous request. (optional)
:param str name: name of the StatefulSet (required)
:param str namespace: object name and auth scope, such as for teams and projects (required)
:param V1Patch body: (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: V1beta1StatefulSet
If the method is called asynchronously,
Expand Down
8 changes: 4 additions & 4 deletions kubernetes/client/apis/autoscaling_v1_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ def patch_namespaced_horizontal_pod_autoscaler(self, name, namespace, body, **kw
for asynchronous request. (optional)
:param str name: name of the HorizontalPodAutoscaler (required)
:param str namespace: object name and auth scope, such as for teams and projects (required)
:param V1Patch body: (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: V1HorizontalPodAutoscaler
If the method is called asynchronously,
Expand Down Expand Up @@ -811,7 +811,7 @@ def patch_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, namesp
for asynchronous request. (optional)
:param str name: name of the HorizontalPodAutoscaler (required)
:param str namespace: object name and auth scope, such as for teams and projects (required)
:param V1Patch body: (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: V1HorizontalPodAutoscaler
If the method is called asynchronously,
Expand Down Expand Up @@ -906,7 +906,7 @@ def patch_namespaced_horizontal_pod_autoscaler_status(self, name, namespace, bod
for asynchronous request. (optional)
:param str name: name of the HorizontalPodAutoscaler (required)
:param str namespace: object name and auth scope, such as for teams and projects (required)
:param V1Patch body: (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: V1HorizontalPodAutoscaler
If the method is called asynchronously,
Expand Down Expand Up @@ -934,7 +934,7 @@ def patch_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, name,
for asynchronous request. (optional)
:param str name: name of the HorizontalPodAutoscaler (required)
:param str namespace: object name and auth scope, such as for teams and projects (required)
:param V1Patch body: (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: V1HorizontalPodAutoscaler
If the method is called asynchronously,
Expand Down
8 changes: 4 additions & 4 deletions kubernetes/client/apis/autoscaling_v2alpha1_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ def patch_namespaced_horizontal_pod_autoscaler(self, name, namespace, body, **kw
for asynchronous request. (optional)
:param str name: name of the HorizontalPodAutoscaler (required)
:param str namespace: object name and auth scope, such as for teams and projects (required)
:param V1Patch body: (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: V2alpha1HorizontalPodAutoscaler
If the method is called asynchronously,
Expand Down Expand Up @@ -811,7 +811,7 @@ def patch_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, namesp
for asynchronous request. (optional)
:param str name: name of the HorizontalPodAutoscaler (required)
:param str namespace: object name and auth scope, such as for teams and projects (required)
:param V1Patch body: (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: V2alpha1HorizontalPodAutoscaler
If the method is called asynchronously,
Expand Down Expand Up @@ -906,7 +906,7 @@ def patch_namespaced_horizontal_pod_autoscaler_status(self, name, namespace, bod
for asynchronous request. (optional)
:param str name: name of the HorizontalPodAutoscaler (required)
:param str namespace: object name and auth scope, such as for teams and projects (required)
:param V1Patch body: (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: V2alpha1HorizontalPodAutoscaler
If the method is called asynchronously,
Expand Down Expand Up @@ -934,7 +934,7 @@ def patch_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, name,
for asynchronous request. (optional)
:param str name: name of the HorizontalPodAutoscaler (required)
:param str namespace: object name and auth scope, such as for teams and projects (required)
:param V1Patch body: (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: V2alpha1HorizontalPodAutoscaler
If the method is called asynchronously,
Expand Down
8 changes: 4 additions & 4 deletions kubernetes/client/apis/batch_v1_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ def patch_namespaced_job(self, name, namespace, body, **kwargs):
for asynchronous request. (optional)
:param str name: name of the Job (required)
:param str namespace: object name and auth scope, such as for teams and projects (required)
:param V1Patch body: (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: V1Job
If the method is called asynchronously,
Expand Down Expand Up @@ -811,7 +811,7 @@ def patch_namespaced_job_with_http_info(self, name, namespace, body, **kwargs):
for asynchronous request. (optional)
:param str name: name of the Job (required)
:param str namespace: object name and auth scope, such as for teams and projects (required)
:param V1Patch body: (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: V1Job
If the method is called asynchronously,
Expand Down Expand Up @@ -906,7 +906,7 @@ def patch_namespaced_job_status(self, name, namespace, body, **kwargs):
for asynchronous request. (optional)
:param str name: name of the Job (required)
:param str namespace: object name and auth scope, such as for teams and projects (required)
:param V1Patch body: (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: V1Job
If the method is called asynchronously,
Expand Down Expand Up @@ -934,7 +934,7 @@ def patch_namespaced_job_status_with_http_info(self, name, namespace, body, **kw
for asynchronous request. (optional)
:param str name: name of the Job (required)
:param str namespace: object name and auth scope, such as for teams and projects (required)
:param V1Patch body: (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: V1Job
If the method is called asynchronously,
Expand Down
16 changes: 8 additions & 8 deletions kubernetes/client/apis/batch_v2alpha1_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1414,7 +1414,7 @@ def patch_namespaced_cron_job(self, name, namespace, body, **kwargs):
for asynchronous request. (optional)
:param str name: name of the CronJob (required)
:param str namespace: object name and auth scope, such as for teams and projects (required)
:param V1Patch body: (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: V2alpha1CronJob
If the method is called asynchronously,
Expand Down Expand Up @@ -1442,7 +1442,7 @@ def patch_namespaced_cron_job_with_http_info(self, name, namespace, body, **kwar
for asynchronous request. (optional)
:param str name: name of the CronJob (required)
:param str namespace: object name and auth scope, such as for teams and projects (required)
:param V1Patch body: (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: V2alpha1CronJob
If the method is called asynchronously,
Expand Down Expand Up @@ -1537,7 +1537,7 @@ def patch_namespaced_cron_job_status(self, name, namespace, body, **kwargs):
for asynchronous request. (optional)
:param str name: name of the CronJob (required)
:param str namespace: object name and auth scope, such as for teams and projects (required)
:param V1Patch body: (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: V2alpha1CronJob
If the method is called asynchronously,
Expand Down Expand Up @@ -1565,7 +1565,7 @@ def patch_namespaced_cron_job_status_with_http_info(self, name, namespace, body,
for asynchronous request. (optional)
:param str name: name of the CronJob (required)
:param str namespace: object name and auth scope, such as for teams and projects (required)
:param V1Patch body: (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: V2alpha1CronJob
If the method is called asynchronously,
Expand Down Expand Up @@ -1660,7 +1660,7 @@ def patch_namespaced_scheduled_job(self, name, namespace, body, **kwargs):
for asynchronous request. (optional)
:param str name: name of the ScheduledJob (required)
:param str namespace: object name and auth scope, such as for teams and projects (required)
:param V1Patch body: (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: V2alpha1CronJob
If the method is called asynchronously,
Expand Down Expand Up @@ -1688,7 +1688,7 @@ def patch_namespaced_scheduled_job_with_http_info(self, name, namespace, body, *
for asynchronous request. (optional)
:param str name: name of the ScheduledJob (required)
:param str namespace: object name and auth scope, such as for teams and projects (required)
:param V1Patch body: (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: V2alpha1CronJob
If the method is called asynchronously,
Expand Down Expand Up @@ -1783,7 +1783,7 @@ def patch_namespaced_scheduled_job_status(self, name, namespace, body, **kwargs)
for asynchronous request. (optional)
:param str name: name of the ScheduledJob (required)
:param str namespace: object name and auth scope, such as for teams and projects (required)
:param V1Patch body: (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: V2alpha1CronJob
If the method is called asynchronously,
Expand Down Expand Up @@ -1811,7 +1811,7 @@ def patch_namespaced_scheduled_job_status_with_http_info(self, name, namespace,
for asynchronous request. (optional)
:param str name: name of the ScheduledJob (required)
:param str namespace: object name and auth scope, such as for teams and projects (required)
:param V1Patch body: (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: V2alpha1CronJob
If the method is called asynchronously,
Expand Down
4 changes: 2 additions & 2 deletions kubernetes/client/apis/certificates_v1beta1_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ def patch_certificate_signing_request(self, name, body, **kwargs):
:param callback function: The callback function
for asynchronous request. (optional)
:param str name: name of the CertificateSigningRequest (required)
:param V1Patch body: (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: V1beta1CertificateSigningRequest
If the method is called asynchronously,
Expand All @@ -659,7 +659,7 @@ def patch_certificate_signing_request_with_http_info(self, name, body, **kwargs)
:param callback function: The callback function
for asynchronous request. (optional)
:param str name: name of the CertificateSigningRequest (required)
:param V1Patch body: (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: V1beta1CertificateSigningRequest
If the method is called asynchronously,
Expand Down
Loading